mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
This allows using Arbitrary "instances" defined in libstore-tests in libexpr-tests, something we will leverage in a moment.
23 lines
376 B
C++
23 lines
376 B
C++
#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 */
|