diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-01-23 11:47:20 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-01-23 11:47:20 -0500 |
commit | c67e0cc58c5a74121d74a3f5cf9f9c2199a87093 (patch) | |
tree | 79454c245dbb0330b619bc653332077f04d3100b /src/libstore/tests/libstoretests.hh | |
parent | b3d91239ae9f21a60057b278ceeff663fb786246 (diff) | |
parent | 9b56683398de777219627c96be75c0195e630cb7 (diff) |
Merge remote-tracking branch 'upstream/master' into path-info
Diffstat (limited to 'src/libstore/tests/libstoretests.hh')
-rw-r--r-- | src/libstore/tests/libstoretests.hh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/libstore/tests/libstoretests.hh b/src/libstore/tests/libstoretests.hh new file mode 100644 index 000000000..05397659b --- /dev/null +++ b/src/libstore/tests/libstoretests.hh @@ -0,0 +1,23 @@ +#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 */ |