23.11
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_TEST_PRINTER
25 #define ARM_COMPUTE_TEST_PRINTER
81 virtual void print_entry(
const std::string &
name,
const std::string &value) = 0;
147 std::ostream *_stream{ &std::cout };
virtual void print_info(const std::string &info)=0
Print test log info.
virtual void print_list_tests(const std::vector< TestInfo > &infos)=0
Print the list of all the tests.
virtual void print_measurements(const Profiler::MeasurementsMap &measurements)=0
Print measurements for a test.
void print(const std::string &str)
Print given string.
virtual void print_run_footer()=0
Print footer after running all tests.
void set_stream(std::ostream &stream)
Set the output stream.
Printer & operator=(const Printer &)=delete
Prevent instances of this class from being copied.
virtual void print_run_header()=0
Print header before running all tests.
Printer()=default
Default constructor.
virtual void print_global_header()=0
Print global header.
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.
virtual void print_entry(const std::string &name, const std::string &value)=0
Print an entry consisting of a (name, value) pair.
Copyright (c) 2017-2023 Arm Limited.
virtual void print_errors_footer()=0
Print footer after errors.
virtual void print_error(const std::exception &error, bool expected)=0
Print test error.
virtual ~Printer()=default
Default destructor.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
Information about a test case.
virtual void print_test_footer()=0
Print footer after a test.
virtual void print_global_footer()=0
Print global footer.
virtual void print_profiler_header(const std::string &header_data)=0
Print header data.
virtual void print_test_header(const TestInfo &info)=0
Print header before a test.
virtual void print_errors_header()=0
Print header before errors.