MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / print_errors_footer

Method print_errors_footer

tests/framework/printers/JSONPrinter.cpp:139–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139void JSONPrinter::print_errors_footer()
140{
141 print_separator(_first_test_entry);
142
143 *_stream << R"("errors" : [)";
144 print_strings(_errors.begin(), _errors.end());
145 *_stream << "]";
146
147 *_stream << R"(, "expected_errors" : [)";
148 print_strings(_expected_errors.begin(), _expected_errors.end());
149 *_stream << "]";
150
151 *_stream << R"(, "warnings" : [)";
152 print_strings(_warnings.begin(), _warnings.end());
153 *_stream << "]";
154
155 *_stream << R"(, "infos" : [)";
156 print_strings(_infos.begin(), _infos.end());
157 *_stream << "]";
158}
159
160void JSONPrinter::print_error(const std::exception &error, bool expected)
161{

Callers 1

run_testMethod · 0.45

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected