summaryrefslogtreecommitdiff
path: root/src/tests/protocolhandler_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/protocolhandler_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/protocolhandler_test.cpp')
-rw-r--r--src/tests/protocolhandler_test.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/tests/protocolhandler_test.cpp b/src/tests/protocolhandler_test.cpp
index 13e4212c..d738baea 100644
--- a/src/tests/protocolhandler_test.cpp
+++ b/src/tests/protocolhandler_test.cpp
@@ -21,9 +21,10 @@
#include <qtest_kde.h>
-#include <QtTest>
#include <QtCore>
-#include <QtWebKit>
+#include <QtGui>
+#include <QtTest>
+
#include "protocolhandler.h"
@@ -48,11 +49,13 @@ private:
void ProtocolhandlerTest::initTestCase()
{
+ handler = new ProtocolHandler;
}
void ProtocolhandlerTest::cleanupTestCase()
{
+ delete handler;
}
@@ -61,5 +64,5 @@ void ProtocolhandlerTest::cleanupTestCase()
// -------------------------------------------
-QTEST_MAIN(ProtocolhandlerTest)
+QTEST_KDEMAIN(ProtocolhandlerTest,GUI)
#include "protocolhandler_test.moc"