summaryrefslogtreecommitdiffstats
path: root/tests/testqPrefUpdateManager.h
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-08-03 21:07:44 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-09 08:45:02 -0700
commit4ce7a2e30c971f24c9ed8a3eda19195cbf143ac8 (patch)
tree1a0f887de409cc822f1a6f7b26ee9986c6b014fa /tests/testqPrefUpdateManager.h
parente33545afd04dc059c0df4bc47b5aacec3487c60d (diff)
downloadsubsurface-4ce7a2e30c971f24c9ed8a3eda19195cbf143ac8.tar.gz
tests: add qPrefUpdateManager testcases
add test cases to secure struct preferences and qPrefUpdateManager work together Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'tests/testqPrefUpdateManager.h')
-rw-r--r--tests/testqPrefUpdateManager.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/testqPrefUpdateManager.h b/tests/testqPrefUpdateManager.h
new file mode 100644
index 000000000..6c8f04dbf
--- /dev/null
+++ b/tests/testqPrefUpdateManager.h
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: GPL-2.0
+#ifndef TESTQPREFUPDATEMANAGER_H
+#define TESTQPREFUPDATEMANAGER_H
+
+#include <QObject>
+
+class TestQPrefUpdateManager : 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 // TESTQPREFUPDATEMANAGER_H