24 #ifndef ARM_COMPUTE_TEST_JSONPRINTER 25 #define ARM_COMPUTE_TEST_JSONPRINTER 43 void print_entry(
const std::string &
name,
const std::string &value)
override;
53 void print_info(
const std::string &info)
override;
58 void print_separator(
bool &flag);
60 void print_strings(T &&first, T &&last);
62 std::list<std::string> _infos{};
63 std::list<std::string> _errors{};
64 std::list<std::string> _expected_errors{};
66 bool _first_entry{
true };
67 bool _first_test{
true };
68 bool _first_test_entry{
true };
void print_run_footer() override
Print footer after running all tests.
void print_measurements(const Profiler::MeasurementsMap &measurements) override
Print measurements for a test.
void print_info(const std::string &info) override
Print test log info.
void print_errors_header() override
Print header before errors.
Abstract printer class used by the Framework to present output.
void print_global_footer() override
Print global footer.
Copyright (c) 2017-2021 Arm Limited.
void print_entry(const std::string &name, const std::string &value) override
Print an entry consisting of a (name, value) pair.
void print_test_footer() override
Print footer after a test.
void print_global_header() override
Print global header.
Information about a test case.
Printer()=default
Default constructor.
std::map< std::string, std::vector< Measurement > > MeasurementsMap
Mapping from instrument ids to their measurements.
void print_list_tests(const std::vector< TestInfo > &infos) override
Print the list of all the tests.
void print_errors_footer() override
Print footer after errors.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
Implementation of a Printer that produces JSON output.
void print_run_header() override
Print header before running all tests.
void print_error(const std::exception &error, bool expected) override
Print test error.
void print_test_header(const TestInfo &info) override
Print header before a test.