diff options
author | jan Iversen <jani@apache.org> | 2018-07-14 17:31:51 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-07-21 07:49:25 -0700 |
commit | cabdf71bf7976640d9c0c61d4c4c6806a7636218 (patch) | |
tree | 808b120484e0a55126430cd32e0b28e48e8b9300 /tests/testqPrefCloudStorage.h | |
parent | b9b1f03f0d77f1eea86efeed8776a623bd5b30ee (diff) | |
download | subsurface-cabdf71bf7976640d9c0c61d4c4c6806a7636218.tar.gz |
tests: add qPrefCloudStorage testcases
add test cases to secure struct preferences and qPrefCloudStorage work together
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'tests/testqPrefCloudStorage.h')
-rw-r--r-- | tests/testqPrefCloudStorage.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/testqPrefCloudStorage.h b/tests/testqPrefCloudStorage.h new file mode 100644 index 000000000..5caa0e18e --- /dev/null +++ b/tests/testqPrefCloudStorage.h @@ -0,0 +1,20 @@ +// SPDX-License-Identifier: GPL-2.0 +#ifndef TESTQPREFCLOUDSTORAGE_H +#define TESTQPREFCLOUDSTORAGE_H + +#include <QObject> + +class TestQPrefCloudStorage : 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 // TESTQPREFCLOUDSTORAGE_H |