Public Member Functions | |
regression_test_index_summary_generator (const std::string &test_dir) | |
regression_test_index_summary_generator (const std::string &run_folder, const std::string &test_dir) | |
Public Member Functions inherited from abstract_regression_test_generator< model::summary::index_flowcell_summary > | |
abstract_regression_test_generator (const std::string &test_dir, const int test_modifier=0) | |
abstract_regression_test_generator (const std::string &run_folder, const std::string &test_dir, const int test_modifier=0) | |
base_t | operator() (const std::string &name) const |
::testing::AssertionResult | generate (model::summary::index_flowcell_summary &expected, model::summary::index_flowcell_summary &actual, bool *skip_test) const |
virtual std::string | baseline () const |
Public Member Functions inherited from abstract_generator< model::summary::index_flowcell_summary > | |
abstract_generator (const int test_modifier=0) | |
virtual | ~abstract_generator () |
virtual bool | advance () |
int | test_modifier () const |
std::string | info () const |
Protected Member Functions | |
bool | read_expected (const std::string &baseline_file, model::summary::index_flowcell_summary &expected) const |
bool | generate_actual (const std::string &run_folder, model::summary::index_flowcell_summary &actual) const |
bool | write_actual (const std::string &baseline_file, const model::summary::index_flowcell_summary &actual) const |
base_t | clone (const std::string &run_folder) const |
base_t | clone () const |
void | write (std::ostream &out) const |
Additional Inherited Members | |
Public Types inherited from abstract_regression_test_generator< model::summary::index_flowcell_summary > | |
typedef abstract_generator< model::summary::index_flowcell_summary >::parent_type | base_t |
Public Types inherited from abstract_generator< model::summary::index_flowcell_summary > | |
typedef generator_ptr< model::summary::index_flowcell_summary > | parent_type |
Protected Attributes inherited from abstract_regression_test_generator< model::summary::index_flowcell_summary > | |
std::string | m_run_folder |
std::string | m_test_dir |
Detailed Description
Generate the actual run summary writing out the expected and reading it back in again
Constructor & Destructor Documentation
|
inline |
Constructor
- Parameters
-
test_dir sub folder where tests are stored
|
inline |
Constructor
- Parameters
-
run_folder run folder with data test_dir sub folder where tests are stored
Member Function Documentation
|
inlineprotectedvirtual |
Create a copy of the current object with the given run folder
- Parameters
-
run_folder run folder
- Returns
- pointer to new copy
Implements abstract_regression_test_generator< model::summary::index_flowcell_summary >.
|
inlineprotectedvirtual |
Create a copy of the current object
- Returns
- pointer to new copy
Implements abstract_regression_test_generator< model::summary::index_flowcell_summary >.
|
inlineprotectedvirtual |
Read the actual data from the run folder
- Parameters
-
run_folder run folder actual actual model data
- Returns
- true if data was generated
Implements abstract_regression_test_generator< model::summary::index_flowcell_summary >.
|
inlineprotectedvirtual |
Read the expected data from the baseline file into the model
- Parameters
-
baseline_file baseline file expected expected model data
- Returns
- true if the file was found, and the read completed without failure
Implements abstract_regression_test_generator< model::summary::index_flowcell_summary >.
|
inlineprotectedvirtual |
Write generator info to output stream
- Parameters
-
out output stream
Implements abstract_generator< model::summary::index_flowcell_summary >.
|
inlineprotectedvirtual |
Write the actual data to the run folder
- Parameters
-
baseline_file baseline file actual actual model data
Implements abstract_regression_test_generator< model::summary::index_flowcell_summary >.
The documentation for this class was generated from the following file:
- /io/src/tests/interop/logic/index_summary_test.cpp