Changeset View
Changeset View
Standalone View
Standalone View
plugins/filetemplates/tests/expected/testname.h
1 | /* | 1 | /* | ||
---|---|---|---|---|---|
2 | * Test license header | 2 | * Test license header | ||
3 | * In two lines | 3 | * In two lines | ||
4 | */ | 4 | */ | ||
5 | 5 | | |||
6 | #ifndef TESTNAME_H | 6 | #ifndef TESTNAME_H | ||
7 | #define TESTNAME_H | 7 | #define TESTNAME_H | ||
8 | 8 | | |||
9 | #include <QTest> | 9 | #include <QTest> | ||
10 | 10 | | |||
11 | class TestName : public QObject | 11 | class TestName : public QObject | ||
12 | { | 12 | { | ||
13 | Q_OBJECT | 13 | Q_OBJECT | ||
14 | private slots: | 14 | private Q_SLOTS: | ||
15 | void initTestCase(); | 15 | void initTestCase(); | ||
16 | void cleanupTestCase(); | 16 | void cleanupTestCase(); | ||
17 | 17 | | |||
18 | void init(); | 18 | void init(); | ||
19 | void cleanup(); | 19 | void cleanup(); | ||
20 | 20 | | |||
21 | void firstTestCase(); | 21 | void firstTestCase(); | ||
22 | void secondTestCase(); | 22 | void secondTestCase(); | ||
23 | void thirdTestCase(); | 23 | void thirdTestCase(); | ||
24 | }; | 24 | }; | ||
25 | 25 | | |||
26 | #endif // TESTNAME_H | 26 | #endif // TESTNAME_H |