chore(tvix/tests): Add OpenTemporaryStore() helper
Change-Id: Ia655175c255f9cf5a47e4e7a20373a4ba4315ed9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1753 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi>
This commit is contained in:
parent
737d192aec
commit
010dba3495
2 changed files with 74 additions and 7 deletions
8
third_party/nix/src/tests/store_tests.cc
vendored
8
third_party/nix/src/tests/store_tests.cc
vendored
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
#include "libstore/binary-cache-store.hh"
|
||||
#include "libstore/mock-binary-cache-store.hh"
|
||||
#include "tests/store-util.hh"
|
||||
|
||||
using ::testing::HasSubstr;
|
||||
|
||||
|
|
@ -17,13 +18,6 @@ namespace nix {
|
|||
|
||||
MakeError(InjectedError, Error);
|
||||
|
||||
class StoreTest : public ::testing::Test {
|
||||
public:
|
||||
static void SetUpTestSuite() {
|
||||
google::InitGoogleLogging("--logtostderr=false");
|
||||
}
|
||||
};
|
||||
|
||||
class BinaryCacheStoreTest : public StoreTest {};
|
||||
|
||||
constexpr absl::string_view kXZHeader = "7zXZ";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue