From 24a64d92d7444829edb77ba50ac618b6b0067b9d Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 28 Feb 2010 12:36:32 +0100 Subject: Changing Findbar parent --- src/tests/findbar_test.cpp | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'src/tests') diff --git a/src/tests/findbar_test.cpp b/src/tests/findbar_test.cpp index 0e332b6a..3fb0e244 100644 --- a/src/tests/findbar_test.cpp +++ b/src/tests/findbar_test.cpp @@ -26,7 +26,7 @@ #include #include "findbar.h" - +#include "mainwindow.h" class FindBarTest : public QObject @@ -38,7 +38,8 @@ public slots: void cleanupTestCase(); private slots: - + void matchCase(); + void notifyMatch(); private: FindBar *bar; @@ -50,13 +51,23 @@ private: void FindBarTest::initTestCase() { + MainWindow *w = new MainWindow; + bar = new FindBar(w); } void FindBarTest::cleanupTestCase() { + delete bar; } +void FindBarTest::matchCase() +{ +} + +void FindBarTest::notifyMatch() +{ +} // ------------------------------------------- -- cgit v1.2.1