summaryrefslogtreecommitdiff
path: root/src/tests/webtab_test.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-02-28 17:05:37 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-02-28 17:05:37 +0100
commite5e4ffa0e844c4f1cbe40eeaa309c4711c1073e6 (patch)
treeddfa948cc8a66e60726afd0b226ceb1a98af68f3 /src/tests/webtab_test.cpp
parentChanging Findbar parent (diff)
downloadrekonq-e5e4ffa0e844c4f1cbe40eeaa309c4711c1073e6.tar.xz
10 (of 12) tests working and ready to be "expanded"..
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"