summaryrefslogtreecommitdiffstats
path: root/tests/testAirPressure.h
diff options
context:
space:
mode:
authorGravatar willemferguson <willemferguson@zoology.up.ac.za>2019-04-30 12:42:33 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-05-15 07:37:14 -0700
commit1bdf00b2b472078a0b24f1c269782d822cb96e02 (patch)
tree13a5e784118d9abb0a1bc1dfa9cbe4a9f457de80 /tests/testAirPressure.h
parentca6aa3813956b5e8be68b86ed36a5786b3ee746f (diff)
downloadsubsurface-1bdf00b2b472078a0b24f1c269782d822cb96e02.tar.gz
Convert the atmospheric pressure in the Information Tab to an editable field
The Information tab shows the atmospheric pressure. Make this value editable and also ensure that changes to it are undo-able. Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za>
Diffstat (limited to 'tests/testAirPressure.h')
-rw-r--r--tests/testAirPressure.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/testAirPressure.h b/tests/testAirPressure.h
new file mode 100644
index 000000000..18544eb47
--- /dev/null
+++ b/tests/testAirPressure.h
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: GPL-2.0
+#ifndef TESTPICTURE_H
+#define TESTPICTURE_H
+
+#include <QtTest>
+
+class TestAirPressure : public QObject {
+ Q_OBJECT
+private slots:
+ void initTestCase();
+ void get_dives();
+ void testReadAirPressure();
+ void testWriteReadBackAirPressure();
+ void testConvertAltitudetoAirPressure();
+};
+
+#endif
+
+