27enum TestType { Benchmark, LongBenchmark, ValidationTest, LongValidationTest, Unittest };
67 void serialize(std::basic_stringstream<byte> &stream);
TestType
Describe the type of the performed test.
std::uint32_t u32
32 bit unsigned integer
implementation details of the test library
Class to hold the list of assertion related to a test.
List of data generated by a test.
static TestResult deserialize(std::basic_stringstream< byte > &reader)
DeSerialize the assertion from binary format.
std::string serialize_json()
Serialize the assertion in JSON.
TestResult(const TestType &type, std::string name, const u32 &world_rank)
Constructructor.
TestResult(TestType type, std::string name, u32 world_rank, TestAssertList &&asserts, TestDataList &&test_data, std::string tex_output)
CTOR of a test result.
void serialize(std::basic_stringstream< byte > &stream)
Serialize the assertion in binary format.