Nut/tests/auto/tst_upgrades/tst_upgrades.h

32 lines
403 B
C
Raw Normal View History

2019-02-14 22:25:53 +08:00
#ifndef TST_UPGRADES_H
#define TST_UPGRADES_H
#include <QObject>
namespace Nut {
class Database;
}
class Upgrades : public QObject
{
Q_OBJECT
void initDb(Nut::Database &db);
2019-02-16 21:36:38 +08:00
int id;
2019-02-14 22:25:53 +08:00
public:
Upgrades();
~Upgrades();
private slots:
void initTestCase();
void version1();
void version2();
void version3();
void cleanupTestCase();
2019-02-14 22:25:53 +08:00
};
#endif // TST_UPGRADES_H