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/findbar_test.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/tests/findbar_test.cpp') 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 -#include -#include -#include +#include +#include #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" -- cgit v1.2.1