diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-02-28 17:05:37 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-02-28 17:05:37 +0100 |
commit | e5e4ffa0e844c4f1cbe40eeaa309c4711c1073e6 (patch) | |
tree | ddfa948cc8a66e60726afd0b226ceb1a98af68f3 /src/tests/networkaccessmanager_test.cpp | |
parent | Changing Findbar parent (diff) | |
download | rekonq-e5e4ffa0e844c4f1cbe40eeaa309c4711c1073e6.tar.xz |
10 (of 12) tests working and ready to be "expanded"..
Diffstat (limited to 'src/tests/networkaccessmanager_test.cpp')
-rw-r--r-- | src/tests/networkaccessmanager_test.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/tests/networkaccessmanager_test.cpp b/src/tests/networkaccessmanager_test.cpp index 41c9fb56..68ffc108 100644 --- a/src/tests/networkaccessmanager_test.cpp +++ b/src/tests/networkaccessmanager_test.cpp @@ -21,9 +21,9 @@ #include <qtest_kde.h> -#include <QtTest> #include <QtCore> -#include <QtWebKit> +#include <QtGui> +#include <QtTest> #include "networkaccessmanager.h" @@ -47,11 +47,13 @@ private: void NetworkAccessManagerTest::initTestCase() { + manager = new NetworkAccessManager; } void NetworkAccessManagerTest::cleanupTestCase() { + delete manager; } @@ -61,5 +63,5 @@ void NetworkAccessManagerTest::cleanupTestCase() // ------------------------------------------- -QTEST_MAIN(NetworkAccessManagerTest) +QTEST_KDEMAIN(NetworkAccessManagerTest,GUI) #include "networkaccessmanager_test.moc" |