summaryrefslogtreecommitdiffstats
path: root/tests/testqPrefGeocoding.h
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-08-10 17:57:48 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-13 15:04:50 -0700
commit859f08a358a10c9299a4bc6eac2802da963a3736 (patch)
treea2f0506e679334a9bd0b9eabbe0f6e40072c4e31 /tests/testqPrefGeocoding.h
parentaf2201545205d5bf0844a993b05950e6f12805dd (diff)
downloadsubsurface-859f08a358a10c9299a4bc6eac2802da963a3736.tar.gz
tests: add qPrefGeocoding testcases
add test cases to secure struct preferences and qPrefGeocoding work together Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'tests/testqPrefGeocoding.h')
-rw-r--r--tests/testqPrefGeocoding.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/testqPrefGeocoding.h b/tests/testqPrefGeocoding.h
new file mode 100644
index 000000000..bfd4605d6
--- /dev/null
+++ b/tests/testqPrefGeocoding.h
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: GPL-2.0
+#ifndef TESTQPREFGEOCODING_H
+#define TESTQPREFGEOCODING_H
+
+#include <QObject>
+
+class TestQPrefGeocoding : public QObject {
+ Q_OBJECT
+
+private slots:
+ void initTestCase();
+ void test_struct_get();
+ void test_set_struct();
+ void test_set_load_struct();
+ void test_struct_disk();
+ void test_multiple();
+};
+
+#endif // TESTQPREFGEOCODING_H