aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/tests/libstore.hh
blob: 05397659bdc5a63129f4c5d7c608f409d2ca99c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 */