From d5861096a975274fcce72b45fe4ed38c96c61610 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 1 Jan 2023 03:13:00 +0100 Subject: (Re-)Use precompiled SQL statements --- tests/test-storage.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'tests/test-storage.cpp') diff --git a/tests/test-storage.cpp b/tests/test-storage.cpp index 67d7236..11d8a20 100644 --- a/tests/test-storage.cpp +++ b/tests/test-storage.cpp @@ -19,6 +19,13 @@ class StorageTest: public ::testing::Test { protected: StorageTest(){ + } + + ~StorageTest() override{ + } + + void SetUp() override + { File::setFile(testConfigFilename, R"CONFIG( . @@ -31,7 +38,8 @@ protected: m_config = Config{testConfigFilename}; } - ~StorageTest(){ + void TearDown() override + { std::error_code ec; fs::remove(testDbFilename, ec); fs::remove(testConfigFilename, ec); -- cgit v1.2.3