From 9db6941a45213c0d73e9b66822b28003bb78060b Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Tue, 3 Jan 2023 10:53:29 +0100 Subject: Whiteboard test (WIP) --- tests/test-whiteboard.cpp | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) (limited to 'tests/test-whiteboard.cpp') diff --git a/tests/test-whiteboard.cpp b/tests/test-whiteboard.cpp index 6fe476d..2c9d37b 100644 --- a/tests/test-whiteboard.cpp +++ b/tests/test-whiteboard.cpp @@ -14,10 +14,32 @@ namespace fs = std::filesystem; namespace { - const std::string testConfigFilename{"./test.conf"}; - const std::string testDbFilename{"./whiteboard.db3"}; + const fs::path webserverConfigFilename{"./webserver.conf"}; + const fs::path testConfigFilename{"./whiteboard.conf"}; + const fs::path testDbFilename{"./whiteboard.db3"}; } +class Webserver +{ +public: + Webserver() + { + } + + ~Webserver() + { + stop(); + } + + void runInBackground() + { + } + + void stop() + { + } +}; + class WhiteboardTest: public ::testing::Test { protected: -- cgit v1.2.3