diff options
author | jan Iversen <jani@apache.org> | 2018-08-08 17:13:31 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-08-13 11:49:32 -0700 |
commit | dfa3f5e0e7d2e7e0f043ad60ef5ea832319504f5 (patch) | |
tree | 44beca8471a969a06a91496a6eaab58eaafca37f /tests/testqPrefLanguage.h | |
parent | 72d87364c018c61f2127b7293fff11b83e97b82c (diff) | |
download | subsurface-dfa3f5e0e7d2e7e0f043ad60ef5ea832319504f5.tar.gz |
tests: add qPrefLanguage testcases
add test cases to secure struct preferences and qPrefLanguage work together
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'tests/testqPrefLanguage.h')
-rw-r--r-- | tests/testqPrefLanguage.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/testqPrefLanguage.h b/tests/testqPrefLanguage.h new file mode 100644 index 000000000..b7afe9e1a --- /dev/null +++ b/tests/testqPrefLanguage.h @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0 +#ifndef TESTQPREFLANGUAGE_H +#define TESTQPREFLANGUAGE_H + +#include <QObject> + +class TestQPrefLanguage : 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 // TESTQPREFLANGUAGE_H |