summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tests/mainview_test.cpp7
-rw-r--r--src/tests/mainwindow_test.cpp4
2 files changed, 6 insertions, 5 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;
}
// -------------------------------------------
diff --git a/src/tests/mainwindow_test.cpp b/src/tests/mainwindow_test.cpp
index 90ae26bd..a37e9f16 100644
--- a/src/tests/mainwindow_test.cpp
+++ b/src/tests/mainwindow_test.cpp
@@ -50,13 +50,13 @@ private:
void MainWindowTest::initTestCase()
{
- window = new MainWindow;
+// window = new MainWindow;
}
void MainWindowTest::cleanupTestCase()
{
- delete window;
+// delete window;
}
// -------------------------------------------