Nut/__tests/auto/tst_json/tst_json.h

34 lines
389 B
C
Raw Normal View History

2023-02-20 22:54:33 +08:00
#ifndef TST_TESTJSON_H
#define TST_TESTJSON_H
#include "db.h"
#include <QObject>
namespace Nut {
class Database;
}
class TestJson : public QObject
{
Q_OBJECT
DB db;
void initDb(Nut::Database &db);
int id;
public:
TestJson();
~TestJson();
private Q_SLOTS:
void initTestCase();
void store();
void cleanupTestCase();
};
#endif // TST_TESTJSON_H