summaryrefslogtreecommitdiff
path: root/src/tests/mainview_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/mainview_test.cpp')
-rw-r--r--src/tests/mainview_test.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tests/mainview_test.cpp b/src/tests/mainview_test.cpp
index 30d4e7dd..80fecaa2 100644
--- a/src/tests/mainview_test.cpp
+++ b/src/tests/mainview_test.cpp
@@ -31,6 +31,7 @@
#include <QtGui>
#include <QtTest>
+#include "mainwindow.h"
#include "mainview.h"
#include "webview.h"
@@ -87,15 +88,15 @@ private:
// It is only called once.
void MainViewTest::initTestCase()
{
- window = new MainWindow;
- view = window->mainView();
+// window = new MainWindow;
+// view = window->mainView();
}
// This will be called after the last test function is executed.
// It is only called once.
void MainViewTest::cleanupTestCase()
{
- delete window;
+// delete window;
}
// -------------------------------------------