From e5e4ffa0e844c4f1cbe40eeaa309c4711c1073e6 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 28 Feb 2010 17:05:37 +0100 Subject: 10 (of 12) tests working and ready to be "expanded".. --- src/tests/protocolhandler_test.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/tests/protocolhandler_test.cpp') 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 -#include #include -#include +#include +#include + #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" -- cgit v1.2.1