aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/tests/libstoretests.hh
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-29 12:37:32 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-29 13:52:57 -0500
commitec0c0efec6d7eed868b424434748b97651e02bcc (patch)
tree29ced9d126d9db8eced4e0ab380a990dbda51885 /src/libstore/tests/libstoretests.hh
parent6772e9ed0ac7853cefdeb6b354c81cba531829f2 (diff)
Allow unit test infra to be reused across libs' tests
This allows using Arbitrary "instances" defined in libstore-tests in libexpr-tests, something we will leverage in a moment.
Diffstat (limited to 'src/libstore/tests/libstoretests.hh')
-rw-r--r--src/libstore/tests/libstoretests.hh23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/libstore/tests/libstoretests.hh b/src/libstore/tests/libstoretests.hh
deleted file mode 100644
index 05397659b..000000000
--- a/src/libstore/tests/libstoretests.hh
+++ /dev/null
@@ -1,23 +0,0 @@
-#include <gtest/gtest.h>
-#include <gmock/gmock.h>
-
-#include "store-api.hh"
-
-namespace nix {
-
-class LibStoreTest : public ::testing::Test {
- public:
- static void SetUpTestSuite() {
- initLibStore();
- }
-
- protected:
- LibStoreTest()
- : store(openStore("dummy://"))
- { }
-
- ref<Store> store;
-};
-
-
-} /* namespace nix */