mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-29 07:19:46 -06:00
Instead of a single executable running different unit tests at the same time, split the sqlobjects and import parts out of it. While this currently duplicates the cmake boilerplate for each, it allows to finetune each properly (like build only the sources for it, in the future), and to call each separately. Add the QTEST_MAIN in each test, and remove the manual QCoreApplication handling in TestImport (handled by QTEST_MAIN).
20 lines
234 B
C++
20 lines
234 B
C++
#ifndef TESTIMPORT_H
|
|
#define TESTIMPORT_H
|
|
|
|
#include <QObject>
|
|
|
|
class TestImport : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
TestImport();
|
|
~TestImport();
|
|
|
|
private slots:
|
|
void csvImport();
|
|
void csvImport_data();
|
|
};
|
|
|
|
#endif
|