imaging_table_regression_test.cpp File Reference
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include "interop/util/math.h"
#include "interop/util/length_of.h"
#include "interop/logic/table/create_imaging_table.h"
#include "src/tests/interop/metrics/inc/error_metrics_test.h"
#include "interop/io/table/imaging_table_csv.h"
#include "src/tests/interop/inc/abstract_regression_test_generator.h"
Classes | |
struct | imaging_table_tests |
class | imaging_write_read_generator |
class | imaging_table_regression_test |
Namespaces | |
illumina | |
illumina::interop | |
illumina::interop::model | |
illumina::interop::model::table | |
Functions | |
bool | operator== (const imaging_column &lhs, const imaging_column &rhs) |
void | simulate_read_error_metrics (model::metrics::run_metrics &metrics) |
template<typename T > | |
std::string | to_string (const std::vector< T > &values) |
TEST_P (imaging_table_tests, compare_to_baseline) | |
INSTANTIATE_TEST_CASE_P (imaging_unit_tests, imaging_table_tests,::testing::ValuesIn(imaging_io_generators)) | |
INSTANTIATE_TEST_CASE_P (imaging_table_regression_test, imaging_table_tests, ProxyValuesIn(imaging_table_regression_gen, regression_test_data::instance().files())) | |
Variables | |
imaging_table_tests::generator_type | imaging_io_generators [] |
imaging_table_regression_test | imaging_table_regression_gen ("imaging") |
Detailed Description
Regression tests for image table logic
- Date
- 7/21/16
- Version
- 1.0
- Copyright
- GNU Public License.
Function Documentation
INSTANTIATE_TEST_CASE_P | ( | imaging_unit_tests | , |
imaging_table_tests | , | ||
::testing:: | ValuesInimaging_io_generators | ||
) |
INSTANTIATE_TEST_CASE_P | ( | imaging_table_regression_test | , |
imaging_table_tests | , | ||
ProxyValuesIn(imaging_table_regression_gen, regression_test_data::instance().files()) | |||
) |
void simulate_read_error_metrics | ( | model::metrics::run_metrics & | metrics | ) |
Simulate reading error metrics
- Parameters
-
metrics run metrics
TEST_P | ( | imaging_table_tests | , |
compare_to_baseline | |||
) |
std::string to_string | ( | const std::vector< T > & | values | ) |
Variable Documentation
imaging_table_tests::generator_type imaging_io_generators[] |
Initial value:
= {
wrap(new standard_parameter_generator<model::table::imaging_table, imaging_write_read_generator>(0)),
}
Definition: generic_fixture.h:100
generator_ptr< T > wrap(abstract_generator< T > *ptr)
Definition: generic_fixture.h:315
imaging_table_regression_test imaging_table_regression_gen("imaging") |