Nut/test/tst_commands/maintest.h

30 lines
442 B
C
Raw Normal View History

2017-08-09 21:19:35 +08:00
#ifndef MAINTEST_H
#define MAINTEST_H
#include <QtCore/QObject>
#include <QtCore/qglobal.h>
#include "weblogdatabase.h"
class Post;
class MainTest : public QObject
{
Q_OBJECT
WeblogDatabase db;
int postId;
Post *post;
Query<Post> *q;
public:
2018-09-05 13:18:59 +08:00
explicit MainTest(QObject *parent = nullptr);
2017-08-09 21:19:35 +08:00
signals:
private slots:
void initTestCase();
void cmd1();
void cmd2();
2018-01-09 00:59:16 +08:00
void join();
2017-08-09 21:19:35 +08:00
};
#endif // MAINTEST_H