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.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test-util.hpp b/test/test-util.hpp
index b0ae0dd..c17418f 100644
--- a/test/test-util.hpp
+++ b/test/test-util.hpp
@@ -33,4 +33,12 @@ namespace WebStat {
template<typename Out> using ParseData = std::tuple<std::string_view, Out>;
utsname getTestUtsName(std::string_view);
+
+ struct LogFile {
+ LogFile(std::filesystem::path where, size_t entries);
+ ~LogFile();
+ SPECIAL_MEMBERS_DELETE(LogFile);
+
+ const std::filesystem::path path;
+ };
}