diff options
author | jan Iversen <jani@apache.org> | 2018-07-27 22:22:51 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-07-30 07:43:22 -0700 |
commit | e198230c83b4c3690ee47d47df676b2a6cb157f4 (patch) | |
tree | 33ea32674b274c94794520ce3d3c619d70768d63 /tests/testqPrefProxy.h | |
parent | 181d2cf364f22c5e673916d884ca5f0742e137ce (diff) | |
download | subsurface-e198230c83b4c3690ee47d47df676b2a6cb157f4.tar.gz |
tests: add qPrefProxy testcases
add test cases to secure struct preferences and qPrefProxy work together
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'tests/testqPrefProxy.h')
-rw-r--r-- | tests/testqPrefProxy.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/testqPrefProxy.h b/tests/testqPrefProxy.h new file mode 100644 index 000000000..27c0312f9 --- /dev/null +++ b/tests/testqPrefProxy.h @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0 +#ifndef TESTQPREFPROXY_H +#define TESTQPREFPROXY_H + +#include <QObject> + +class TestQPrefProxy : 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 // TESTQPREFPROXY_H |