blob: c6de58696a41f112780a558f5757b3ffcadbf106 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include <QObject>
#include <QTest>
class TestTest: public QObject
{
Q_OBJECT
private slots:
void initTestCase()
{ qDebug("initialising test"); }
void myFirstTest()
{ QVERIFY(1 == 1); }
void mySecondTest()
{ QVERIFY(1 != 2); }
void cleanupTestCase()
{ qDebug("cleaning up test"); }
};
|