From 94e99a5a9ded01e8184543b7ddf5cdfa39573ded Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 29 Dec 2022 23:25:25 +0000 Subject: Move test render helpers into a new test library --- test/testMainWindow.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/testMainWindow.h (limited to 'test/testMainWindow.h') diff --git a/test/testMainWindow.h b/test/testMainWindow.h new file mode 100644 index 0000000..bc9c0bd --- /dev/null +++ b/test/testMainWindow.h @@ -0,0 +1,14 @@ +#pragma once + +#include "ui/window.h" + +class TestMainWindow : public Window { + // 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 + { + } +}; -- cgit v1.2.3