subsurface/tests/testparse.h
Dirk Hohndel ee1bf18189 Add SPDX header to tests
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-04-29 13:32:55 -07:00

35 lines
612 B
C++

// SPDX-License-Identifier: GPL-2.0
#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, std::string);
int parseDivingLog();
int parseV2NoQuestion();
int parseV3();
void testParse();
void testParseDM4();
void testParseHUDC();
void testParseNewFormat();
void testParseDLD();
void testParseMerge();
int parseCSVmanual(int, std::string);
void exportCSVDiveDetails();
void testExport();
private:
sqlite3 *_sqlite3_handle = NULL;
};
#endif