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

Public Attributes

WorkerProto::Version defaultVersion = MIN_SUPPORTED_WORKER_PROTO_VERSION

Additional Inherited Members

Public Member Functions inherited from nix::VersionedProtoTest< WorkerProto, workerProtoDir >
void readTest (PathView testStem, typename WorkerProto::Version version, T value)
void writeTest (PathView testStem, typename WorkerProto::Version version, const T &value)
Protected Member Functions inherited from nix::ProtoTest< WorkerProto, protocolDir >
Path goldenMaster (std::string_view testStem)
Protected Attributes inherited from nix::ProtoTest< WorkerProto, protocolDir >
Path unitTestData

Member Data Documentation

◆ defaultVersion

WorkerProto::Version nix::WorkerProtoTest::defaultVersion = MIN_SUPPORTED_WORKER_PROTO_VERSION

For serializers that don't care about the minimum version, we have to use the minimum supported to not throw an assert.


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