aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/tests/path.hh
blob: 21cb62310dca6883b01feb0236a820ed9ab029bb (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
27
28
29
#pragma once
///@file

#include <rapidcheck/gen/Arbitrary.h>

#include <path.hh>

namespace nix {

struct StorePathName {
    std::string name;
};

}

namespace rc {
using namespace nix;

template<>
struct Arbitrary<StorePathName> {
    static Gen<StorePathName> arbitrary();
};

template<>
struct Arbitrary<StorePath> {
    static Gen<StorePath> arbitrary();
};

}