summaryrefslogtreecommitdiff
path: root/src/tests/webtab_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/webtab_test.cpp')
-rw-r--r--src/tests/webtab_test.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/tests/webtab_test.cpp b/src/tests/webtab_test.cpp
index 42d5388b..2c6edf35 100644
--- a/src/tests/webtab_test.cpp
+++ b/src/tests/webtab_test.cpp
@@ -21,8 +21,9 @@
#include <qtest_kde.h>
-#include <QtTest>
#include <QtCore>
+#include <QtGui>
+#include <QtTest>
#include <QtWebKit>
#include "webpage.h"
@@ -48,13 +49,13 @@ private:
void WebTabTest::initTestCase()
{
-// tab = new WebTab;
+ tab = new WebTab;
}
void WebTabTest::cleanupTestCase()
{
-// delete tab;
+ delete tab;
}
@@ -63,5 +64,5 @@ void WebTabTest::cleanupTestCase()
// -------------------------------------------
-QTEST_MAIN(WebTabTest)
+QTEST_KDEMAIN(WebTabTest,GUI)
#include "webtab_test.moc"