summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xMakefile2
-rw-r--r--tests/test-whiteboard.cpp26
2 files changed, 25 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ab1ac3c..642bb52 100755
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@
include common.mk
-DISTROS=base debian11
+DISTROS=base debian11 ubuntu2210
VERSION=$(shell dpkg-parsechangelog --show-field Version)
INCLUDES=-I.
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: