diff options
author | jan Iversen <jani@apache.org> | 2018-08-05 14:13:37 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-08-12 07:36:10 -0700 |
commit | 863c04f3f7cde734068c20dcab6f4edee810473c (patch) | |
tree | 2dfeb2ca5e83d6f3c9d2122439c090a2c68bd614 /tests/testqPrefTechnicalDetails.h | |
parent | cb2dc7515b3b14eed268ff580b30759d2c2272a5 (diff) | |
download | subsurface-863c04f3f7cde734068c20dcab6f4edee810473c.tar.gz |
tests: add qPrefTechincalDetails testcases
add test cases to secure struct preferences and qPrefTechnicalDetails work together
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'tests/testqPrefTechnicalDetails.h')
-rw-r--r-- | tests/testqPrefTechnicalDetails.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/testqPrefTechnicalDetails.h b/tests/testqPrefTechnicalDetails.h new file mode 100644 index 000000000..8e935a621 --- /dev/null +++ b/tests/testqPrefTechnicalDetails.h @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0 +#ifndef TESTQPREFTECHNICALDETAILS_H +#define TESTQPREFTECHNICALDETAILS_H + +#include <QObject> + +class TestQPrefTechnicalDetails : 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 // TESTQPREFTECHNICALDETAILS_H |