Nix
2.26.3
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
libstore.hh
Go to the documentation of this file.
1
#pragma once
3
4
#include <gtest/gtest.h>
5
#include <gmock/gmock.h>
6
7
#include "
store-api.hh
"
8
9
namespace
nix {
10
11
class
LibStoreTest :
public
virtual
::testing::Test
12
{
13
public
:
14
static
void
SetUpTestSuite()
15
{
16
initLibStore(
false
);
17
}
18
19
protected
:
20
LibStoreTest()
21
: store(openStore({
22
.variant =
23
StoreReference::Specified
{
24
.scheme =
"dummy"
,
25
},
26
.params = {},
27
}))
28
{
29
}
30
31
ref<Store>
store;
32
};
33
34
}
/* namespace nix */
nix::ref
Definition
ref.hh:15
store-api.hh
nix::StoreReference::Specified
Definition
store-reference.hh:59
src
libstore-test-support
tests
libstore.hh
Generated by
1.13.2