diff options
author | jan Iversen <jani@apache.org> | 2018-07-22 17:02:26 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-07-25 08:35:04 -0700 |
commit | bb5c1da1b7e8f5b2758db4d3235dad190f530fac (patch) | |
tree | fcc36a0adbe2247d409be81b2e41e5415622ea07 /tests/testqPrefDiveComputer.h | |
parent | 3d6848b22c9fb64a99bb3dec535431a6cab09ad9 (diff) | |
download | subsurface-bb5c1da1b7e8f5b2758db4d3235dad190f530fac.tar.gz |
tests: add qPrefDiveComputer testcases
add test cases to secure struct preferences and qPrefDiveComputer work together
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'tests/testqPrefDiveComputer.h')
-rw-r--r-- | tests/testqPrefDiveComputer.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/testqPrefDiveComputer.h b/tests/testqPrefDiveComputer.h new file mode 100644 index 000000000..df0e2cfef --- /dev/null +++ b/tests/testqPrefDiveComputer.h @@ -0,0 +1,20 @@ +// SPDX-License-Identifier: GPL-2.0 +#ifndef TESTQPREFDIVECOMPUTER_H +#define TESTQPREFDIVECOMPUTER_H + +#include <QObject> + +class TestQPrefDiveComputer : 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 // TESTQPREFDIVECOMPUTER_H |