summaryrefslogtreecommitdiff
path: root/test/testMainWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/testMainWindow.h')
-rw-r--r--test/testMainWindow.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/test/testMainWindow.h b/test/testMainWindow.h
index 445491d..f54eb72 100644
--- a/test/testMainWindow.h
+++ b/test/testMainWindow.h
@@ -1,15 +1,13 @@
#pragma once
-#include "ui/window.h"
+#include "ui/applicationBase.h"
+#include "ui/mainWindow.h"
-class TestMainWindow : public Window {
+class TestMainWindow : public MainWindow {
// This exists only to hold an OpenGL context open for the duration of the tests,
// in the same way a real main window would always exist.
public:
TestMainWindow();
-
- void
- tick(TickDuration) override
- {
- }
};
+
+class TestMainWindowAppBase : public ApplicationBase, public TestMainWindow { };