#include <characterization.hh>
|
| 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
◆ goldenMaster()
| virtual std::filesystem::path nix::CharacterizationTest::goldenMaster |
( |
std::string_view | testStem | ) |
const |
|
pure virtual |
While the "golden master" for this characterization test is located. It should not be shared with any other test.
◆ readTest()
| void nix::CharacterizationTest::readTest |
( |
std::string_view | testStem, |
|
|
auto && | test ) |
|
inline |
Golden test for reading
- Parameters
-
| test | hook that takes the contents of the file and does the actual work |
◆ writeTest() [1/2]
| void nix::CharacterizationTest::writeTest |
( |
std::string_view | testStem, |
|
|
auto && | test ) |
|
inline |
Specialize to std::string
◆ writeTest() [2/2]
| void nix::CharacterizationTest::writeTest |
( |
std::string_view | testStem, |
|
|
auto && | test, |
|
|
auto && | readFile2, |
|
|
auto && | writeFile2 ) |
|
inline |
Golden test for writing
- Parameters
-
| test | hook that produces contents of the file and does the actual work |
The documentation for this struct was generated from the following file: