summaryrefslogtreecommitdiffstats
path: root/tests/testqPrefTechnicalDetails.h
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-08-05 14:13:37 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-12 07:36:10 -0700
commit863c04f3f7cde734068c20dcab6f4edee810473c (patch)
tree2dfeb2ca5e83d6f3c9d2122439c090a2c68bd614 /tests/testqPrefTechnicalDetails.h
parentcb2dc7515b3b14eed268ff580b30759d2c2272a5 (diff)
downloadsubsurface-863c04f3f7cde734068c20dcab6f4edee810473c.tar.gz
tests: add qPrefTechincalDetails testcases
add test cases to secure struct preferences and qPrefTechnicalDetails work together Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'tests/testqPrefTechnicalDetails.h')
-rw-r--r--tests/testqPrefTechnicalDetails.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/testqPrefTechnicalDetails.h b/tests/testqPrefTechnicalDetails.h
new file mode 100644
index 000000000..8e935a621
--- /dev/null
+++ b/tests/testqPrefTechnicalDetails.h
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: GPL-2.0
+#ifndef TESTQPREFTECHNICALDETAILS_H
+#define TESTQPREFTECHNICALDETAILS_H
+
+#include <QObject>
+
+class TestQPrefTechnicalDetails : 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 // TESTQPREFTECHNICALDETAILS_H