summaryrefslogtreecommitdiffstats
path: root/tests/testqPrefDivePlanner.h
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-08-02 18:17:14 +0200
committerGravatar Robert C. Helling <helling@atdotde.de>2018-08-08 14:29:50 +0200
commit9c26a491a725be7a061191d0bd4ee01096182e69 (patch)
treef2a9b1bd314c679c12d57ab8a25b77d78c3da10b /tests/testqPrefDivePlanner.h
parent21243ec4f7e2b2d886ac550142afee4c0df65924 (diff)
downloadsubsurface-9c26a491a725be7a061191d0bd4ee01096182e69.tar.gz
tests: add qPrefDivePlanner testcases
add test cases to secure struct preferences and qPrefDivePlanner work together Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'tests/testqPrefDivePlanner.h')
-rw-r--r--tests/testqPrefDivePlanner.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/testqPrefDivePlanner.h b/tests/testqPrefDivePlanner.h
new file mode 100644
index 000000000..801a756de
--- /dev/null
+++ b/tests/testqPrefDivePlanner.h
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: GPL-2.0
+#ifndef TESTQPREFDIVEPLANNER_H
+#define TESTQPREFDIVEPLANNER_H
+
+#include <QObject>
+
+class TestQPrefDivePlanner : 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 // TESTQPREFDIVEPLANNER_H