summaryrefslogtreecommitdiff
path: root/tikzit/src/test/testtest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tikzit/src/test/testtest.cpp')
-rw-r--r--tikzit/src/test/testtest.cpp19
1 files changed, 6 insertions, 13 deletions
diff --git a/tikzit/src/test/testtest.cpp b/tikzit/src/test/testtest.cpp
index c6de586..59173c0 100644
--- a/tikzit/src/test/testtest.cpp
+++ b/tikzit/src/test/testtest.cpp
@@ -1,17 +1,10 @@
+#include "testtest.h"
+
#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"); }
-};
+void TestTest::initTestCase() { qDebug("initialising test"); }
+void TestTest::myFirstTest() { QVERIFY(1 == 1); }
+void TestTest::mySecondTest() { QVERIFY(1 != 2); }
+void TestTest::cleanupTestCase() { qDebug("cleaning up test"); }