metric_generator.h
Go to the documentation of this file.
319 out << "regression_test_metric_generator< "<< metric_set_t::prefix() << metric_set_t::suffix() << "> - "
Definition: metric_generator.h:17
::testing::AssertionResult generate(metric_set_t &expected, metric_set_t &actual, bool *) const
Definition: metric_generator.h:98
void write(std::ostream &out) const
Definition: metric_generator.h:216
Definition: enum_description.h:15
Definition: metric_generator.h:29
bool write_actual(const std::string &baseline_file, const metric_set_t &actual) const
Definition: metric_generator.h:292
registry_factory< hardcoded_metric_generator > hardcoded_metric_registry_t
Definition: metric_generator.h:17
bool generate_actual(const std::string &run_folder, metric_set_t &actual) const
Definition: metric_generator.h:274
void write(std::ostream &out) const
Definition: metric_generator.h:122
std::string basename(std::string const &source)
Definition: filesystem.cpp:95
write_read_metric_generator()
Definition: metric_generator.h:89
Definition: generic_fixture.h:23
void write(std::ostream &out) const
Definition: metric_generator.h:317
Definition: format_registry.h:81
std::string baseline() const
Definition: metric_generator.h:326
base_type clone(const std::string &run_folder) const
Definition: metric_generator.h:301
bool read_expected(const std::string &baseline_file, metric_set_t &expected) const
Definition: metric_generator.h:256
registry_factory< by_cycle_metric_generator > by_cycle_metric_registry_t
Definition: metric_generator.h:25
parent_t clone() const
Definition: metric_generator.h:365
Definition: stream_exceptions.h:45
by_cycle_metric_generator()
Definition: metric_generator.h:152
static format_registry & instance()
Definition: format_registry.h:87
void read_interop(const std::string &run_directory, MetricSet &metrics, const bool use_out=true) INTEROP_THROW_SPEC((io
Definition: metric_file_stream.h:165
virtual std::string baseline() const
Definition: abstract_regression_test_generator.h:114
hardcoded_metric_generator()
Definition: metric_generator.h:44
Definition: metric_generator.h:226
::testing::AssertionResult generate(metric_set_t &, metric_set_t &actual, bool *) const
Definition: metric_generator.h:352
regression_test_metric_generator()
Definition: metric_generator.h:237
abstract_regression_test_generator< MetricSet >::parent_type parent_type
Definition: metric_generator.h:233
Definition: generic_fixture.h:19
::testing::AssertionResult generate(metric_set_t &expected, metric_set_t &actual, bool *) const
Definition: metric_generator.h:53
parent_t clone() const
Definition: metric_generator.h:211
abstract_generator< MetricSet >::parent_type base_t
Definition: abstract_regression_test_generator.h:26
clear_metric_generator()
Definition: metric_generator.h:344
Definition: metric_generator.h:25
::testing::AssertionResult generate(metric_set_t &expected, metric_set_t &actual, bool *) const
Definition: metric_generator.h:161
base_type clone() const
Definition: metric_generator.h:309
bool write_interop(const std::string &run_directory, const MetricSet &metrics, const bool use_out=true, const ::int16_t version=-1) INTEROP_THROW_SPEC((io
Definition: metric_file_stream.h:203
void write(std::ostream &out) const
Definition: metric_generator.h:71
Definition: metric_generator.h:21
std::string m_run_folder
Definition: abstract_regression_test_generator.h:148
Definition: stream_exceptions.h:73
void write(std::ostream &out) const
Definition: metric_generator.h:370
void read_interop_from_string(const std::string &buffer, MetricSet &metrics, const bool rebuild=true) INTEROP_THROW_SPEC((interop
Definition: metric_file_stream.h:86
Definition: abstract_regression_test_generator.h:22
regression_test_metric_generator(const std::string &run_folder)
Definition: metric_generator.h:244
registry_factory< write_read_metric_generator > write_read_metric_registry_t
Definition: metric_generator.h:21
registry_factory< clear_metric_generator > clear_metric_registry_t
Definition: metric_generator.h:29
parent_t clone() const
Definition: metric_generator.h:66
parent_t clone() const
Definition: metric_generator.h:117
void read_interop_from_buffer(::uint8_t *buffer, const size_t buffer_size, MetricSet &metrics) INTEROP_THROW_SPEC((interop
Definition: metric_file_stream.h:66