From d9bc09d8c9e46c5bfe15097eca4f10153b08de13 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 8 Sep 2025 20:37:29 +0100 Subject: Move fixture log file generator to test util --- test/test-util.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/test-util.hpp') 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 using ParseData = std::tuple; 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; + }; } -- cgit v1.2.3