24.02.1
|
Go to the documentation of this file.
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;
59 void print_separator(
bool &flag);
61 void print_strings(T &&first, T &&last);
63 std::list<std::string> _infos{};
64 std::list<std::string> _errors{};
65 std::list<std::string> _expected_errors{};
67 bool _first_entry{
true };
68 bool _first_test{
true };
69 bool _first_test_entry{
true };
void print_error(const std::exception &error, bool expected) override
Print test error.
void print_entry(const std::string &name, const std::string &value) override
Print an entry consisting of a (name, value) pair.
void print_profiler_header(const std::string &header_data) override
Print header data.
void print_errors_header() override
Print header before errors.
void print_info(const std::string &info) override
Print test log info.
void print_errors_footer() override
Print footer after errors.
void print_global_footer() override
Print global footer.
Implementation of a Printer that produces JSON output.
void print_measurements(const Profiler::MeasurementsMap &measurements) override
Print measurements for a test.
void print_test_footer() override
Print footer after a test.
Printer()=default
Default constructor.
std::map< std::string, std::vector< Measurement > > MeasurementsMap
Mapping from instrument ids to their measurements.
Abstract printer class used by the Framework to present output.
void print_run_header() override
Print header before running all tests.
void print_global_header() override
Print global header.
void print_test_header(const TestInfo &info) override
Print header before a test.
void print_run_footer() override
Print footer after running all tests.
Copyright (c) 2017-2024 Arm Limited.
void print_list_tests(const std::vector< TestInfo > &infos) override
Print the list of all the tests.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
Information about a test case.