![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <json-characterization.hh>
Public Member Functions | |
| void | readJsonTest (std::string_view testStem, const T &expected, auto... args) |
| void | writeJsonTest (std::string_view testStem, const T &value) |
| void | checkpointJson (std::string_view testStem, const T &value) |
| Public Member Functions inherited from nix::CharacterizationTest | |
| virtual std::filesystem::path | goldenMaster (std::string_view testStem) const =0 |
| void | readTest (std::string_view testStem, auto &&test) |
| void | writeTest (std::string_view testStem, auto &&test, auto &&readFile2, auto &&writeFile2) |
| void | writeTest (std::string_view testStem, auto &&test) |
Mixin class for writing characterization tests for nlohmann::json conversions for a given type.
|
inline |
Golden test for reading
|
inline |
Golden test for writing