Nut/tests/auto/tst_quuid/tst_uuid.h

31 lines
435 B
C
Raw Normal View History

2018-10-15 22:34:50 +08:00
#ifndef MAINTEST_H
#define MAINTEST_H
#include <QtCore/QObject>
#include <QtCore/qglobal.h>
2019-02-10 22:46:21 +08:00
#include <QUuid>
2018-10-15 22:34:50 +08:00
#include "testdatabase.h"
class Test;
2019-02-10 22:46:21 +08:00
class UuidTest : public QObject
2018-10-15 22:34:50 +08:00
{
Q_OBJECT
TestDatabase db;
2019-02-10 22:46:21 +08:00
QUuid uuid;
2018-10-15 22:34:50 +08:00
public:
2019-02-10 22:46:21 +08:00
explicit UuidTest(QObject *parent = nullptr);
2018-10-15 22:34:50 +08:00
signals:
private slots:
void initTestCase();
2019-02-10 22:46:21 +08:00
void save();
void restore();
2018-10-15 22:34:50 +08:00
void cleanupTestCase();
};
#endif // MAINTEST_H