summaryrefslogtreecommitdiffstats
path: root/tests/testqPrefAnimations.h
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-07-12 12:36:19 +0200
committerGravatar jan Iversen <jani@apache.org>2018-07-12 22:35:36 +0200
commit33949735f2965a2249b2915b7c38e30202520bf4 (patch)
treedfa0f65ae5b97390930ec48f29dc30c2504fa10f /tests/testqPrefAnimations.h
parentd4e76dac9e8dbbb784c7133a4cc918de3121f35c (diff)
downloadsubsurface-33949735f2965a2249b2915b7c38e30202520bf4.tar.gz
tests: add qPrefAnimations testcases
add test cases to secure struct preferences and qPrefAnimations work together remove animation tests from testpreferences Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'tests/testqPrefAnimations.h')
-rw-r--r--tests/testqPrefAnimations.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/testqPrefAnimations.h b/tests/testqPrefAnimations.h
new file mode 100644
index 000000000..162baf8fd
--- /dev/null
+++ b/tests/testqPrefAnimations.h
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: GPL-2.0
+#ifndef TESTQPREFANIMATIONS_H
+#define TESTQPREFANIMATIONS_H
+
+#include <QtTest>
+
+class TestQPrefAnimations : 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 // TESTQPREFANIMATIONS_H