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
9namespace nix {
10
11class LibStoreTest : public virtual ::testing::Test
12{
13public:
14 static void SetUpTestSuite()
15 {
16 initLibStore(false);
17 }
18
19protected:
20 LibStoreTest()
21 : store(openStore({
22 .variant =
24 .scheme = "dummy",
25 },
26 .params = {},
27 }))
28 {
29 }
30
31 ref<Store> store;
32};
33
34} /* namespace nix */
Definition ref.hh:15
Definition store-reference.hh:59