mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
afe7e847d6
Again, entirely script based. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
41 lines
744 B
C++
41 lines
744 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 testParseDM5();
|
|
void testParseHUDC();
|
|
void testParseNewFormat();
|
|
void testParseDLD();
|
|
void testParseMerge();
|
|
|
|
int parseCSVmanual(int, std::string);
|
|
void exportCSVDiveDetails();
|
|
int parseCSVprofile(int, std::string);
|
|
void exportCSVDiveProfile();
|
|
void exportUDDF();
|
|
void testExport();
|
|
|
|
void parseDL7();
|
|
|
|
private:
|
|
sqlite3 *_sqlite3_handle = NULL;
|
|
};
|
|
|
|
#endif
|