aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testqPrefFacebook.h
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-07-23 18:14:43 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-07-27 12:36:20 -0700
commit4102cc755ff53b4ec811a9cf89156842a20258ac (patch)
tree9f07785562679622df300b24d90d4fff97ac92f9 /tests/testqPrefFacebook.h
parentf175890632d5845d57066b0669c347b4c0992ff9 (diff)
downloadsubsurface-4102cc755ff53b4ec811a9cf89156842a20258ac.tar.gz
tests: add qPrefFacebook testcases
add test cases to secure struct preferences and qPrefFacebook work together Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'tests/testqPrefFacebook.h')
-rw-r--r--tests/testqPrefFacebook.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/testqPrefFacebook.h b/tests/testqPrefFacebook.h
new file mode 100644
index 000000000..ecdbbe143
--- /dev/null
+++ b/tests/testqPrefFacebook.h
@@ -0,0 +1,18 @@
+// SPDX-License-Identifier: GPL-2.0
+#ifndef TESTQPREFFACEBOOK_H
+#define TESTQPREFFACEBOOK_H
+
+#include <QObject>
+
+class TestQPrefFacebook : public QObject
+{
+ Q_OBJECT
+
+private slots:
+ void initTestCase();
+ void test_struct_get();
+ void test_set_struct();
+ void test_multiple();
+};
+
+#endif // TESTQPREFFACEBOOK_H