summaryrefslogtreecommitdiffstats
path: root/tests/testqPrefMedia.h
diff options
context:
space:
mode:
authorGravatar willemferguson <willemferguson@zoology.up.ac.za>2019-12-08 12:03:10 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-25 02:57:42 +0900
commitf63f3eb4ae0cd3621cf5748dfd76749b40b6d886 (patch)
tree04255e67905b1e90c084e56edb3fe6d2e8b01323 /tests/testqPrefMedia.h
parent2ac279d12953ad840ade1c08d0eff5c2f4adb0b9 (diff)
downloadsubsurface-f63f3eb4ae0cd3621cf5748dfd76749b40b6d886.tar.gz
Preferences: Create a test program for qPrefMedia
This is a companion for the new Media tab in the Preferences UI Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'tests/testqPrefMedia.h')
-rw-r--r--tests/testqPrefMedia.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/testqPrefMedia.h b/tests/testqPrefMedia.h
new file mode 100644
index 000000000..a1bb51058
--- /dev/null
+++ b/tests/testqPrefMedia.h
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: GPL-2.0
+#ifndef TESTQPREFMEDIA_H
+#define TESTQPREFMEDIA_H
+
+#include <QObject>
+
+class TestQPrefMedia : 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_signals();
+};
+
+#endif // TESTQPREFMEDIA_H