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/webview_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/webview_test.cpp')
-rw-r--r-- | src/tests/webview_test.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/tests/webview_test.cpp b/src/tests/webview_test.cpp index 82334a30..92431d96 100644 --- a/src/tests/webview_test.cpp +++ b/src/tests/webview_test.cpp @@ -21,12 +21,13 @@ #include <qtest_kde.h> -#include <QtTest> #include <QtCore> +#include <QtGui> +#include <QtTest> #include <QtWebKit> #include "webview.h" - +#include "webtab.h" class WebViewTest : public QObject { @@ -40,6 +41,7 @@ private slots: private: WebView *view; + WebTab *tab; }; @@ -48,6 +50,8 @@ private: void WebViewTest::initTestCase() { + tab = new WebTab; + view = tab->view(); } @@ -61,5 +65,5 @@ void WebViewTest::cleanupTestCase() // ------------------------------------------- -QTEST_MAIN(WebViewTest) +QTEST_KDEMAIN(WebViewTest,GUI) #include "webview_test.moc" |