Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::VersionedProtoTest< Proto, protocolDir > Class Template Reference
Inheritance diagram for nix::VersionedProtoTest< Proto, protocolDir >:
nix::ProtoTest< Proto, protocolDir >

Public Member Functions

template<typename T>
void readTest (PathView testStem, typename Proto::Version version, T value)
template<typename T>
void writeTest (PathView testStem, typename Proto::Version version, const T &value)

Additional Inherited Members

Protected Member Functions inherited from nix::ProtoTest< Proto, protocolDir >
Path goldenMaster (std::string_view testStem)
Protected Attributes inherited from nix::ProtoTest< Proto, protocolDir >
Path unitTestData = getUnitTestData() + "/libstore/" + protocolDir

Member Function Documentation

◆ readTest()

template<class Proto, const char * protocolDir>
template<typename T>
void nix::VersionedProtoTest< Proto, protocolDir >::readTest ( PathView testStem,
typename Proto::Version version,
T value )
inline

Golden test for T reading

◆ writeTest()

template<class Proto, const char * protocolDir>
template<typename T>
void nix::VersionedProtoTest< Proto, protocolDir >::writeTest ( PathView testStem,
typename Proto::Version version,
const T & value )
inline

Golden test for T write


The documentation for this class was generated from the following file: