#include <gtest/gtest.h>
#include "interop/model/run_metrics.h"
#include "src/tests/interop/metrics/inc/error_metrics_test.h"
#include "src/tests/interop/inc/generic_fixture.h"
#include "src/tests/interop/inc/proxy_parameter_generator.h"
#include "src/tests/interop/metrics/inc/metric_generator.h"
Classes | |
struct | error_metrics_tests |
Typedefs | |
typedef metric_set< error_metric > | error_metric_set |
Functions | |
INSTANTIATE_TEST_CASE_P (error_metric_unit_test, error_metrics_tests,::testing::ValuesIn(error_unit_test_generators)) | |
TEST_P (error_metrics_tests, compare_expected_actual) | |
TEST (error_metrics_single_test, test_tile_metric_count_for_lane) | |
TEST (error_metrics_single_test, test_error_header_v6) | |
TEST (error_metrics_single_test, test_error_rates_v6) | |
INSTANTIATE_TEST_CASE_P (error_metric_regression_test, error_metrics_tests, ProxyValuesIn(error_regression_gen, regression_test_data::instance().files())) | |
Variables | |
error_metrics_tests::generator_type | error_unit_test_generators [] |
regression_test_metric_generator< error_metric_set > | error_regression_gen |
Detailed Description
Unit tests for the error metrics
- Date
- 8/23/2015
- Version
- 1.0
- Copyright
- GNU Public License.
Typedef Documentation
typedef metric_set< error_metric > error_metric_set |
Function Documentation
INSTANTIATE_TEST_CASE_P | ( | error_metric_unit_test | , |
error_metrics_tests | , | ||
::testing:: | ValuesInerror_unit_test_generators | ||
) |
INSTANTIATE_TEST_CASE_P | ( | error_metric_regression_test | , |
error_metrics_tests | , | ||
ProxyValuesIn(error_regression_gen, regression_test_data::instance().files()) | |||
) |
TEST | ( | error_metrics_single_test | , |
test_tile_metric_count_for_lane | |||
) |
- Test:
- Ensure tile_numbers_for_lane returns the proper number
TEST | ( | error_metrics_single_test | , |
test_error_header_v6 | |||
) |
- Test:
- Ensure the adapter sequences are correct in header
TEST | ( | error_metrics_single_test | , |
test_error_rates_v6 | |||
) |
- Test:
- Ensure the rates per sequences are correct
TEST_P | ( | error_metrics_tests | , |
compare_expected_actual | |||
) |
Variable Documentation
regression_test_metric_generator<error_metric_set> error_regression_gen |
error_metrics_tests::generator_type error_unit_test_generators[] |
Initial value:
= {
}
Definition: metric_generator.h:17
Definition: metric_generator.h:29
generator_ptr< T > wrap(abstract_generator< T > *ptr)
Definition: generic_fixture.h:315
Definition: metric_generator.h:25
Definition: metric_generator.h:21