summaryrefslogtreecommitdiffstats
path: root/tests/testparse.h
blob: a79ce5a38ee8a477a2d5389c8c63b8c7cd3dd251 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef TESTPARSE_H
#define TESTPARSE_H

#include <QtTest>
#include <sqlite3.h>

class TestParse : public QObject{
	Q_OBJECT
private slots:
	void initTestCase();
	void init();
	void cleanup();

	int parseCSV();
	int parseDivingLog();
	int parseV2NoQuestion();
	int parseV3();
	void testParse();

	void testParseDM4();
	void testParseHUDC();
	void testParseNewFormat();
	void testParseDLD();
	void testParseMerge();

private:
	sqlite3 *_sqlite3_handle = NULL;
};

#endif