diff options
author | jan Iversen <jani@apache.org> | 2018-07-31 19:15:54 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-08-02 08:59:56 -0700 |
commit | d9b7aaef761aaae3904fe58011a58ec438f49ef1 (patch) | |
tree | 8e89ddd50eebe1728e16b846c0cb61290a579d67 /tests/testqPrefUnits.h | |
parent | affdc9d39428e5aa50564e3c5cb6a513b7f2a01c (diff) | |
download | subsurface-d9b7aaef761aaae3904fe58011a58ec438f49ef1.tar.gz |
tests: add qPrefUnits testcases
add test cases to secure struct preferences and qPrefUnits work together
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'tests/testqPrefUnits.h')
-rw-r--r-- | tests/testqPrefUnits.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/testqPrefUnits.h b/tests/testqPrefUnits.h new file mode 100644 index 000000000..13a684728 --- /dev/null +++ b/tests/testqPrefUnits.h @@ -0,0 +1,20 @@ +// SPDX-License-Identifier: GPL-2.0 +#ifndef TESTQPREFUNITS_H +#define TESTQPREFUNITS_H + +#include <QObject> + +class TestQPrefUnits : 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(); + void test_unit_system(); +}; + +#endif // TESTQPREFUNITS_H |