summaryrefslogtreecommitdiffstats
path: root/tests/testqPrefGeneral.h
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-08-13 17:40:17 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-14 09:09:06 -0700
commit4ba458318c48ff80017d8c5fe74e928b8b7df449 (patch)
tree73e3677235c5ceb496ac6e664eb8a2eccecdc1c3 /tests/testqPrefGeneral.h
parent691025fa2440d76e1b208a3ecd280a4aec646890 (diff)
downloadsubsurface-4ba458318c48ff80017d8c5fe74e928b8b7df449.tar.gz
tests: add qPrefGeneral testcases
add test cases to secure struct preferences and qPrefGeneral work together Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'tests/testqPrefGeneral.h')
-rw-r--r--tests/testqPrefGeneral.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/testqPrefGeneral.h b/tests/testqPrefGeneral.h
new file mode 100644
index 000000000..c96fa09fb
--- /dev/null
+++ b/tests/testqPrefGeneral.h
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: GPL-2.0
+#ifndef TESTQPREFGENERAL_H
+#define TESTQPREFGENERAL_H
+
+#include <QObject>
+
+class TestQPrefGeneral : 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 // TESTQPREFGENERAL_H