Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
protocol.hh File Reference
#include <nlohmann/json.hpp>
#include <gtest/gtest.h>
#include "tests/libstore.hh"
#include "tests/characterization.hh"

Go to the source code of this file.

Classes

class  nix::ProtoTest< Proto, protocolDir >
 
class  nix::VersionedProtoTest< Proto, protocolDir >
 

Macros

#define VERSIONED_CHARACTERIZATION_TEST(FIXTURE, NAME, STEM, VERSION, VALUE)
 

Macro Definition Documentation

◆ VERSIONED_CHARACTERIZATION_TEST

#define VERSIONED_CHARACTERIZATION_TEST ( FIXTURE,
NAME,
STEM,
VERSION,
VALUE )
Value:
TEST_F(FIXTURE, NAME ## _read) { \
readProtoTest(STEM, VERSION, VALUE); \
} \
TEST_F(FIXTURE, NAME ## _write) { \
writeProtoTest(STEM, VERSION, VALUE); \
}