#include <gtest/gtest.h>#include <gmock/gmock.h>#include "interop/model/plot/heatmap_data.h"#include "interop/model/plot/filter_options.h"#include "src/tests/interop/logic/inc/empty_plot_test_generator.h"#include "src/tests/interop/logic/inc/plot_regression_test_generator.h"#include "src/tests/interop/metrics/inc/q_metrics_test.h"#include "src/tests/interop/run/info_test.h"Classes | |
| struct | heatmap_plot_tests |
| class | heatmap_write_read_generator |
Functions | |
| TEST_P (heatmap_plot_tests, plot_data) | |
| TEST (heatmap_plot_tests, q_by_lane_metric) | |
| std::vector< constants::plot_types > | heatmap_gen_data (heatmap_types, heatmap_types+util::length_of(heatmap_types)) |
| INSTANTIATE_TEST_CASE_P (plot_heatmap_unit_test, heatmap_plot_tests, ProxyValuesIn(plot_heatmap_gen, heatmap_gen_data)) | |
| INSTANTIATE_TEST_CASE_P (heatmap_unit_tests, heatmap_plot_tests,::testing::ValuesIn(plot_heatmap_generators)) | |
| INSTANTIATE_TEST_CASE_P (qscore_heatmap_regression_test, heatmap_plot_tests, ProxyValuesIn(qscore_heatmap_regression_test_gen, regression_test_data::instance().files())) | |
Variables | |
| empty_plot_test_generator< heatmap_data > | plot_heatmap_gen |
| const constants::plot_types | heatmap_types [] = {constants::QHeatmapPlot} |
| heatmap_plot_tests::generator_type | plot_heatmap_generators [] |
| plot_regression_test_generator< heatmap_data > | qscore_heatmap_regression_test_gen ("plot", constants::QHeatmapPlot) |
Detailed Description
Unit tests for heatmap type plot logic
- Date
- 11/2/16
- Version
- 1.0
- Copyright
- GNU Public License.
Function Documentation
| std::vector<constants::plot_types> heatmap_gen_data | ( | heatmap_types | , |
| heatmap_types+util:: | length_ofheatmap_types | ||
| ) |
| INSTANTIATE_TEST_CASE_P | ( | plot_heatmap_unit_test | , |
| heatmap_plot_tests | , | ||
| ProxyValuesIn(plot_heatmap_gen, heatmap_gen_data) | |||
| ) |
| INSTANTIATE_TEST_CASE_P | ( | heatmap_unit_tests | , |
| heatmap_plot_tests | , | ||
| ::testing:: | ValuesInplot_heatmap_generators | ||
| ) |
| INSTANTIATE_TEST_CASE_P | ( | qscore_heatmap_regression_test | , |
| heatmap_plot_tests | , | ||
| ProxyValuesIn(qscore_heatmap_regression_test_gen, regression_test_data::instance().files()) | |||
| ) |
| TEST | ( | heatmap_plot_tests | , |
| q_by_lane_metric | |||
| ) |
| TEST_P | ( | heatmap_plot_tests | , |
| plot_data | |||
| ) |
Test if Heatmap matchs expected data
Variable Documentation
| const constants::plot_types heatmap_types[] = {constants::QHeatmapPlot} |
| empty_plot_test_generator<heatmap_data> plot_heatmap_gen |
| heatmap_plot_tests::generator_type plot_heatmap_generators[] |
Initial value:
= {
}
Definition: generic_fixture.h:100
generator_ptr< T > wrap(abstract_generator< T > *ptr)
Definition: generic_fixture.h:315
| plot_regression_test_generator<heatmap_data> qscore_heatmap_regression_test_gen("plot", constants::QHeatmapPlot) |