summaryrefslogtreecommitdiffstats
path: root/tests/testqPrefPartialPressureGas.h
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-08-11 20:21:19 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-14 07:12:41 -0700
commit1e8e9f345a0e9362b75556dcf66600b9f2e8fc2b (patch)
tree80dfc126604ca3466b1705f2628f1113fb13aff2 /tests/testqPrefPartialPressureGas.h
parent9d005888fb4578b894414323981a30d7c8f98d79 (diff)
downloadsubsurface-1e8e9f345a0e9362b75556dcf66600b9f2e8fc2b.tar.gz
tests: add qPrefPartialPressureGas testcases
add test cases to secure struct preferences and qPrefPartialPressureGas work together Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'tests/testqPrefPartialPressureGas.h')
-rw-r--r--tests/testqPrefPartialPressureGas.h19
1 files changed, 19 insertions, 0 deletions
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 <QObject>
+
+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