empty_plot_test_generator< PlotData > Class Template Reference

#include <empty_plot_test_generator.h>

Inheritance diagram for empty_plot_test_generator< PlotData >:
abstract_generator< PlotData >

Public Member Functions

 empty_plot_test_generator (const constants::plot_types plot_type=constants::UnknownPlotType)
 
base_type operator() (const constants::plot_types plot_type) const
 
::testing::AssertionResult generate (PlotData &, PlotData &actual, bool *) const
 
base_type clone () const
 
void write (std::ostream &out) const
 
bool advance ()
 
- Public Member Functions inherited from abstract_generator< PlotData >
 abstract_generator (const int test_modifier=0)
 
virtual ~abstract_generator ()
 
int test_modifier () const
 
std::string info () const
 

Additional Inherited Members

- Public Types inherited from abstract_generator< PlotData >
typedef generator_ptr< PlotData > parent_type
 

Detailed Description

template<class PlotData>
class illumina::interop::unittest::empty_plot_test_generator< PlotData >

Generate the plot from an empty metric set

The expected plot is empty

Constructor & Destructor Documentation

Constructor

Parameters
plot_typetype of the plot

Member Function Documentation

bool advance ( )
inlinevirtual

Advance to the next type

Returns
true when the generator has finished, and the next parameter can be obtained

Reimplemented from abstract_generator< PlotData >.

base_type clone ( ) const
inlinevirtual

Create a copy of this object

Returns
pointer to an abstract_generator

Implements abstract_generator< PlotData >.

::testing::AssertionResult generate ( PlotData &  ,
PlotData &  actual,
bool *   
) const
inlinevirtual

Generate the expected and actual metric sets

Note
expected plot data is empty
Parameters
actualactual plot data

Implements abstract_generator< PlotData >.

base_type operator() ( const constants::plot_types  plot_type) const
inline

Clone the concrete implementation TODO: Remove

Parameters
plot_typetype of plot
Returns
copy of this object
void write ( std::ostream &  out) const
inlinevirtual

Write generator info to output stream

Parameters
outoutput stream

Implements abstract_generator< PlotData >.


The documentation for this class was generated from the following file: