Parameters allowing to drive a test run sequence. More...
Public Member Functions | |
TestRunParameters () noexcept | |
TestRunParameters (const TestRunParameters &other) noexcept | |
TestRunParameters (TestRunParameters &&other) noexcept | |
~TestRunParameters () | |
nkMemory::StringView | getClassNameFilter () const |
nkMemory::StringView | getFunctionNameFilter () const |
TestObserver * | getObserver () const |
void | setClassNameFilter (nkMemory::StringView value) |
void | setFunctionNameFilter (nkMemory::StringView value) |
void | setObserver (TestObserver *value) |
TestRunParameters & | operator= (const TestRunParameters &other) noexcept |
TestRunParameters & | operator= (TestRunParameters &&other) noexcept |
Parameters allowing to drive a test run sequence.
|
noexcept |
Default constructor.
|
noexcept |
Copy constructor.
other | The parameter instance to copy settings from. |
|
noexcept |
Move constructor.
other | The parameter instance to move settings from. |
nkDebug::TestRunParameters::~TestRunParameters | ( | ) |
Destructor.
nkMemory::StringView nkDebug::TestRunParameters::getClassNameFilter | ( | ) | const |
nkMemory::StringView nkDebug::TestRunParameters::getFunctionNameFilter | ( | ) | const |
TestObserver* nkDebug::TestRunParameters::getObserver | ( | ) | const |
void nkDebug::TestRunParameters::setClassNameFilter | ( | nkMemory::StringView | value | ) |
Allows to set the filter string used during a run to choose which classes will be run.
value | The string to use. |
void nkDebug::TestRunParameters::setFunctionNameFilter | ( | nkMemory::StringView | value | ) |
Allows to set the filter string used during a run to choose which functions will be run.
value | The string to use. |
void nkDebug::TestRunParameters::setObserver | ( | TestObserver * | value | ) |
Allows to set the observer that should be used during a run.
value | The observer to use. |
|
noexcept |
Assignment copy operator.
other | The parameter instance to copy settings from. |
|
noexcept |
Assignment move operator.
other | The parameter instance to move settings from. |