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/findbar_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/findbar_test.cpp')
-rw-r--r-- | src/tests/findbar_test.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tests/findbar_test.cpp b/src/tests/findbar_test.cpp index 3fb0e244..6b81255f 100644 --- a/src/tests/findbar_test.cpp +++ b/src/tests/findbar_test.cpp @@ -21,9 +21,8 @@ #include <qtest_kde.h> -#include <QtTest> -#include <QtCore> -#include <QtWebKit> +#include <QtGui> +#include <QtTest/QtTest> #include "findbar.h" #include "mainwindow.h" @@ -43,6 +42,7 @@ private slots: private: FindBar *bar; + MainWindow *w; }; @@ -51,7 +51,7 @@ private: void FindBarTest::initTestCase() { - MainWindow *w = new MainWindow; + w = new MainWindow; bar = new FindBar(w); } @@ -71,5 +71,5 @@ void FindBarTest::notifyMatch() // ------------------------------------------- -QTEST_MAIN(FindBarTest) +QTEST_KDEMAIN(FindBarTest, GUI) #include "findbar_test.moc" |