summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-03 10:53:29 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-03 10:53:29 +0100
commit9db6941a45213c0d73e9b66822b28003bb78060b (patch)
tree9601102499c8a883f82c581fa08d7d5a0c472373 /tests
parent676e924f7c5bd780250a80187bfcb74550348af7 (diff)
Whiteboard test (WIP)
Diffstat (limited to 'tests')
-rw-r--r--tests/test-whiteboard.cpp26
1 files changed, 24 insertions, 2 deletions
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: