#include <gtest/gtest.h>#include <gmock/gmock.h>#include "interop/model/plot/flowcell_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/collapsed_q_plot_test_generator.h"#include "src/tests/interop/logic/inc/plot_regression_test_generator.h"Classes | |
| struct | flowcell_plot_tests |
| class | flowcell_write_read_generator |
Functions | |
| TEST_P (flowcell_plot_tests, plot_data) | |
| std::vector< constants::plot_types > | flowcell_gen_data (flowcell_types, flowcell_types+util::length_of(flowcell_types)) |
| INSTANTIATE_TEST_CASE_P (plot_flowcell_unit_test, flowcell_plot_tests, ProxyValuesIn(plot_flowcell_gen, flowcell_gen_data)) | |
| INSTANTIATE_TEST_CASE_P (plot_flowcell_collapsed_unit_test, flowcell_plot_tests, ProxyValuesIn(plot_collpased_flowcell_gen, flowcell_gen_data)) | |
| INSTANTIATE_TEST_CASE_P (flowcell_unit_tests, flowcell_plot_tests,::testing::ValuesIn(plot_flowcell_generators)) | |
| INSTANTIATE_TEST_CASE_P (flowcell_regression_test, flowcell_plot_tests, ProxyValuesIn(flowcell_regression_test_gen, regression_test_data::instance().files())) | |
Variables | |
| empty_plot_test_generator< flowcell_data > | plot_flowcell_gen |
| const constants::plot_types | flowcell_types [] = {constants::FlowcellPlot} |
| collapsed_q_plot_test_generator< flowcell_data > | plot_collpased_flowcell_gen |
| flowcell_plot_tests::generator_type | plot_flowcell_generators [] |
| plot_regression_test_generator< flowcell_data > | flowcell_regression_test_gen ("plot", constants::FlowcellPlot) |
Detailed Description
Unit tests for flowcell type plot logic
- Date
- 11/3/16
- Version
- 1.0
- Copyright
- GNU Public License.
Function Documentation
| std::vector<constants::plot_types> flowcell_gen_data | ( | flowcell_types | , |
| flowcell_types+util:: | length_offlowcell_types | ||
| ) |
| INSTANTIATE_TEST_CASE_P | ( | plot_flowcell_unit_test | , |
| flowcell_plot_tests | , | ||
| ProxyValuesIn(plot_flowcell_gen, flowcell_gen_data) | |||
| ) |
| INSTANTIATE_TEST_CASE_P | ( | plot_flowcell_collapsed_unit_test | , |
| flowcell_plot_tests | , | ||
| ProxyValuesIn(plot_collpased_flowcell_gen, flowcell_gen_data) | |||
| ) |
| INSTANTIATE_TEST_CASE_P | ( | flowcell_unit_tests | , |
| flowcell_plot_tests | , | ||
| ::testing:: | ValuesInplot_flowcell_generators | ||
| ) |
| INSTANTIATE_TEST_CASE_P | ( | flowcell_regression_test | , |
| flowcell_plot_tests | , | ||
| ProxyValuesIn(flowcell_regression_test_gen, regression_test_data::instance().files()) | |||
| ) |
| TEST_P | ( | flowcell_plot_tests | , |
| plot_data | |||
| ) |
Test if flowcell matchs expected data
Variable Documentation
| plot_regression_test_generator<flowcell_data> flowcell_regression_test_gen("plot", constants::FlowcellPlot) |
| const constants::plot_types flowcell_types[] = {constants::FlowcellPlot} |
| collapsed_q_plot_test_generator<flowcell_data> plot_collpased_flowcell_gen |
| empty_plot_test_generator<flowcell_data> plot_flowcell_gen |
| flowcell_plot_tests::generator_type plot_flowcell_generators[] |
Initial value:
= {
}
Definition: generic_fixture.h:100
generator_ptr< T > wrap(abstract_generator< T > *ptr)
Definition: generic_fixture.h:315