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

Public Member Functions

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

Additional Inherited Members

Protected Member Functions inherited from nix::ProtoTest< CommonProto, commonProtoDir >
Path goldenMaster (std::string_view testStem)
Protected Attributes inherited from nix::ProtoTest< CommonProto, commonProtoDir >
Path unitTestData

Member Function Documentation

◆ readTest()

template<typename T>
void nix::CommonProtoTest::readTest ( PathView testStem,
T value )
inline

Golden test for T reading

◆ writeTest()

template<typename T>
void nix::CommonProtoTest::writeTest ( PathView testStem,
const T & value )
inline

Golden test for T write


The documentation for this class was generated from the following file:
  • tests/unit/libstore/common-protocol.cc