summaryrefslogtreecommitdiff
path: root/test/test-util.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-util.hpp')
-rw-r--r--test/test-util.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test-util.hpp b/test/test-util.hpp
index c17418f..ac96ee6 100644
--- a/test/test-util.hpp
+++ b/test/test-util.hpp
@@ -10,6 +10,9 @@ namespace WebStat {
#define XSTR(s) STR(s)
#define STR(s) #s
inline const std::filesystem::path SRC_DIR(XSTR(SRC));
+ inline const std::filesystem::path TEST_DIR(XSTR(TEST));
+ inline const std::filesystem::path FIXTURE_DIR(XSTR(FIXTURES));
+ inline const std::string FIXTURE_URL_BASE = "file://" + std::filesystem::canonical(FIXTURE_DIR).string();
#undef XSTR
#undef STR