Nut/test/tst_json/tst_json.h

34 lines
387 B
C
Raw Normal View History

2019-06-03 04:29:44 +08:00
#ifndef TST_TESTJSON_H
#define TST_TESTJSON_H
#include "db.h"
2019-06-03 04:29:44 +08:00
#include <QObject>
namespace Nut {
class Database;
}
class TestJson : public QObject
{
Q_OBJECT
DB db;
2019-06-03 04:29:44 +08:00
void initDb(Nut::Database &db);
int id;
public:
TestJson();
~TestJson();
private slots:
void initTestCase();
void store();
void cleanupTestCase();
2019-06-03 04:29:44 +08:00
};
#endif // TST_TESTJSON_H