23 std::string acc =
"\n{\n";
25 acc += R
"( "dataset_name" : ")" + dataset_name + "\",\n";
26 acc += R
"( "dataset" : )"
51 shambase::stream_read_string(stream, out.dataset_name);
std::uint32_t u32
32 bit unsigned integer
void stream_read_vector(std::basic_stringstream< byte > &stream, std::vector< T > &vec)
read a vector from the bytestream Note : this appends read objects to the vector without resetting it
std::string increase_indent(std::string in, std::string delim="\n ")
Increase indentation of a string.
void stream_write_vector(std::basic_stringstream< byte > &stream, std::vector< T > &vec)
write the vector into the bytestream
implementation details of the test library
static TestData deserialize(std::basic_stringstream< byte > &stream)
DeSerialize the assertion from binary format.
std::string serialize_json()
Serialize the assertion in JSON.
std::vector< DataNode > dataset
Dataset.
std::string dataset_name
Name of the dataset.
void serialize(std::basic_stringstream< byte > &stream)
Serialize the assertion in binary format.