summaryrefslogtreecommitdiffstats
path: root/tests/testparse.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testparse.h')
-rw-r--r--tests/testparse.h22
1 files changed, 13 insertions, 9 deletions
diff --git a/tests/testparse.h b/tests/testparse.h
index c11420794..a79ce5a38 100644
--- a/tests/testparse.h
+++ b/tests/testparse.h
@@ -2,25 +2,29 @@
#define TESTPARSE_H
#include <QtTest>
+#include <sqlite3.h>
class TestParse : public QObject{
Q_OBJECT
private slots:
void initTestCase();
- void testParseCSV();
- void testParseDivingLog();
- void testParseV2NoQuestion();
- void testParseV3();
- void testParseCompareOutput();
+ void init();
+ void cleanup();
+
+ int parseCSV();
+ int parseDivingLog();
+ int parseV2NoQuestion();
+ int parseV3();
+ void testParse();
+
void testParseDM4();
- void testParseCompareDM4Output();
void testParseHUDC();
- void testParseCompareHUDCOutput();
void testParseNewFormat();
- void testParseCompareNewFormatOutput();
void testParseDLD();
- void testParseCompareDLDOutput();
void testParseMerge();
+
+private:
+ sqlite3 *_sqlite3_handle = NULL;
};
#endif