summaryrefslogtreecommitdiffstats
path: root/tests/testgitstorage.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-24 09:32:27 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-25 10:43:41 -0700
commit6eed3155e6a84f1b27b5340b45d6deb801fee42d (patch)
treed22bc1723f296880327e607bf73f15d24b8ef74a /tests/testgitstorage.h
parenteb205c1b090b94f4812358c8835065491d149c6b (diff)
downloadsubsurface-6eed3155e6a84f1b27b5340b45d6deb801fee42d.tar.gz
Add simple test for git storage
This just makes sure that writing data to git storage and reading it back gives you the same result. Without the fixed generation of initial dive site UUIDs this fails. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'tests/testgitstorage.h')
-rw-r--r--tests/testgitstorage.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/testgitstorage.h b/tests/testgitstorage.h
new file mode 100644
index 000000000..b182d4a22
--- /dev/null
+++ b/tests/testgitstorage.h
@@ -0,0 +1,13 @@
+#ifndef TESTGITSTORAGE_H
+#define TESTGITSTORAGE_H
+
+#include <QTest>
+
+class TestGitStorage : public QObject
+{
+ Q_OBJECT
+private slots:
+ void testGitStorageLocal();
+};
+
+#endif // TESTGITSTORAGE_H