plot_bar_test.cpp File Reference

Classes

struct  bar_plot_tests
 
class  bar_write_read_generator
 

Typedefs

typedef plot_data< bar_pointbar_plot_data
 

Functions

 TEST_P (bar_plot_tests, plot_data)
 
std::vector< constants::plot_typesplot_bar_gen_data (bar_types, bar_types+util::length_of(bar_types))
 
 INSTANTIATE_TEST_CASE_P (bar_plot_unit_test, bar_plot_tests, ProxyValuesIn(plot_bar_gen, plot_bar_gen_data))
 
 INSTANTIATE_TEST_CASE_P (bar_plot_add_unit_tests, bar_plot_tests,::testing::ValuesIn(plot_bar_generators))
 
 INSTANTIATE_TEST_CASE_P (qscore_histogram_regression_test, bar_plot_tests, ProxyValuesIn(qscore_histogram_regression_test_gen, regression_test_data::instance().files()))
 
 INSTANTIATE_TEST_CASE_P (sample_qc_regression_test, bar_plot_tests, ProxyValuesIn(sample_qc_regression_test_gen, regression_test_data::instance().files()))
 

Variables

empty_plot_test_generator< bar_plot_dataplot_bar_gen
 
const constants::plot_types bar_types [] = {constants::QHistogramPlot, constants::SampleQCPlot}
 
bar_plot_tests::generator_type plot_bar_generators []
 
plot_regression_test_generator< bar_plot_dataqscore_histogram_regression_test_gen ("plot", constants::QHistogramPlot)
 
plot_regression_test_generator< bar_plot_datasample_qc_regression_test_gen ("plot", constants::QHistogramPlot)
 

Detailed Description

Unit tests for bar type plot logic

Date
11/2/16
Version
1.0

Typedef Documentation

Define the plot data

Function Documentation

INSTANTIATE_TEST_CASE_P ( bar_plot_unit_test  ,
bar_plot_tests  ,
ProxyValuesIn(plot_bar_gen, plot_bar_gen_data  
)
INSTANTIATE_TEST_CASE_P ( bar_plot_add_unit_tests  ,
bar_plot_tests  ,
::testing::  ValuesInplot_bar_generators 
)
INSTANTIATE_TEST_CASE_P ( qscore_histogram_regression_test  ,
bar_plot_tests  ,
ProxyValuesIn(qscore_histogram_regression_test_gen, regression_test_data::instance().files())   
)
INSTANTIATE_TEST_CASE_P ( sample_qc_regression_test  ,
bar_plot_tests  ,
ProxyValuesIn(sample_qc_regression_test_gen, regression_test_data::instance().files())   
)
std::vector<constants::plot_types> plot_bar_gen_data ( bar_types  ,
bar_types+util::  length_ofbar_types 
)
TEST_P ( bar_plot_tests  ,
plot_data   
)

Test if bar plot matchs expected data

Variable Documentation

const constants::plot_types bar_types[] = {constants::QHistogramPlot, constants::SampleQCPlot}
bar_plot_tests::generator_type plot_bar_generators[]
Initial value:
= {
}
generator_ptr< T > wrap(abstract_generator< T > *ptr)
Definition: generic_fixture.h:315
plot_regression_test_generator<bar_plot_data> qscore_histogram_regression_test_gen("plot", constants::QHistogramPlot)
plot_regression_test_generator<bar_plot_data> sample_qc_regression_test_gen("plot", constants::QHistogramPlot)