aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/tests/libstore.hh
blob: ef93457b53c91d23901c4f3332e8b7937ee26e2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#pragma once
///@file

#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 */