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/websnap_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/websnap_test.cpp')
-rw-r--r-- | src/tests/websnap_test.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/tests/websnap_test.cpp b/src/tests/websnap_test.cpp index 9c648370..e77e365b 100644 --- a/src/tests/websnap_test.cpp +++ b/src/tests/websnap_test.cpp @@ -21,8 +21,9 @@ #include <qtest_kde.h> -#include <QtTest> #include <QtCore> +#include <QtGui> +#include <QtTest> #include <QtWebKit> #include "websnap.h" @@ -49,11 +50,13 @@ private: void WebSnapTest::initTestCase() { +// snap = new WebSnap; } void WebSnapTest::cleanupTestCase() { + delete snap; } @@ -63,5 +66,5 @@ void WebSnapTest::cleanupTestCase() // ------------------------------------------- -QTEST_MAIN(WebSnapTest) +QTEST_KDEMAIN(WebSnapTest,GUI) #include "websnap_test.moc" |