From 1e8e9f345a0e9362b75556dcf66600b9f2e8fc2b Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sat, 11 Aug 2018 20:21:19 +0200 Subject: tests: add qPrefPartialPressureGas testcases add test cases to secure struct preferences and qPrefPartialPressureGas work together Signed-off-by: Jan Iversen --- tests/testqPrefPartialPressureGas.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/testqPrefPartialPressureGas.h (limited to 'tests/testqPrefPartialPressureGas.h') diff --git a/tests/testqPrefPartialPressureGas.h b/tests/testqPrefPartialPressureGas.h new file mode 100644 index 000000000..f1f34c4e3 --- /dev/null +++ b/tests/testqPrefPartialPressureGas.h @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: GPL-2.0 +#ifndef TESTQPREFPARTIALPRESSUREGAS_H +#define TESTQPREFPARTIALPRESSUREGAS_H + +#include + +class TestQPrefPartialPressureGas : 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 // TESTQPREFPARTIALPRESSUREGAS_H -- cgit v1.2.3-70-g09d2