summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tests/mainview_test.cpp4
-rw-r--r--src/tests/mainwindow_test.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/mainview_test.cpp b/src/tests/mainview_test.cpp
index 80fecaa2..94e7fc30 100644
--- a/src/tests/mainview_test.cpp
+++ b/src/tests/mainview_test.cpp
@@ -88,8 +88,8 @@ 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.
diff --git a/src/tests/mainwindow_test.cpp b/src/tests/mainwindow_test.cpp
index a37e9f16..d3ab6bef 100644
--- a/src/tests/mainwindow_test.cpp
+++ b/src/tests/mainwindow_test.cpp
@@ -50,7 +50,7 @@ private:
void MainWindowTest::initTestCase()
{
-// window = new MainWindow;
+ window = new MainWindow;
}