diff options
author | Roland Reichwein <mail@reichwein.it> | 2023-01-01 03:13:00 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2023-01-01 03:13:00 +0100 |
commit | d5861096a975274fcce72b45fe4ed38c96c61610 (patch) | |
tree | ee97aa2a5e4ba9f25df32569ed90d8fc9338be16 /tests/test-storage.cpp | |
parent | 9465fd744cc2117190bafc1a3e2da9f10ca29bf9 (diff) |
(Re-)Use precompiled SQL statements
Diffstat (limited to 'tests/test-storage.cpp')
-rw-r--r-- | tests/test-storage.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
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( <config> <datapath>.</datapath> @@ -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); |