diff options
Diffstat (limited to 'src/tests')
| -rw-r--r-- | src/tests/findbar_test.cpp | 15 | 
1 files changed, 13 insertions, 2 deletions
| 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 <QtWebKit>  #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() +{ +}  // ------------------------------------------- | 
