regression_test_data Class Reference
#include <regression_test_data.h>
Public Member Functions | |
void | baseline (const std::string &filename) |
const std::string & | baseline () const |
void | add_file (const std::string &filename) |
const std::vector< std::string > & | files () const |
void | rebaseline (const bool rebase) |
bool | rebaseline () const |
void | add_subdir (const std::string &path) |
void | finalize () |
Static Public Member Functions | |
static regression_test_data & | instance () |
Detailed Description
Singleton containing global data for all tests
Member Function Documentation
|
inline |
Add a file to the file list
- Parameters
-
filename file name
|
inline |
Add baseline subdirectory
- Parameters
-
path sub directory for a test
|
inline |
Set the baseline file path
- Parameters
-
filename baseline file path
|
inline |
Get the baseline file path
- Returns
- baseline file path
|
inline |
Get a vector of files to process
- Returns
- file vector
|
inline |
Make all output subdirs
|
inlinestatic |
Get instance of the singleton
- Returns
- instance
|
inline |
Set the rebaseline flag
If true, create a new baseline
- Parameters
-
rebase rebaseline flag
|
inline |
Test if new baseline should be created
- Returns
- rebaseline flag state
The documentation for this class was generated from the following file:
- /io/src/tests/interop/inc/regression_test_data.h