#include <iaTest.h>
◆ getGroupName()
virtual const char * iaux::iaTest::getGroupName |
( |
| ) |
|
|
pure virtual |
- Returns
- group name of test
◆ getLocation()
virtual const char * iaux::iaTest::getLocation |
( |
| ) |
|
|
pure virtual |
- Returns
- location of test in code
◆ getName()
virtual const char * iaux::iaTest::getName |
( |
| ) |
|
|
pure virtual |
◆ initTests()
void iaux::iaTest::initTests |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
static |
initializes testing
- Parameters
-
argc | cli argc |
argv | cli argv |
◆ registerTest()
void iaux::iaTest::registerTest |
( |
iaTest * |
test | ) |
|
|
staticprotected |
registers individual test to testing list
- Parameters
-
◆ run()
virtual void iaux::iaTest::run |
( |
| ) |
|
|
pure virtual |
◆ runTests()
int iaux::iaTest::runTests |
( |
| ) |
|
|
static |
runs the tests according to initialisation parameters
◆ success()
bool iaux::iaTest::success |
( |
| ) |
|
|
inline |
- Returns
- true if this individual test was successful
◆ _filter
std::string iaux::iaTest::_filter |
|
staticprotected |
◆ _ok
bool iaux::iaTest::_ok = true |
|
protected |
if true this test was successful
◆ _stopOnError
bool iaux::iaTest::_stopOnError = false |
|
staticprotected |
if true stop testing on first error
◆ _tests
std::map< std::string, std::vector< iaTest * > > iaux::iaTest::_tests |
|
staticprotected |
the list of registred tests
◆ _useFilter
bool iaux::iaTest::_useFilter = false |
|
staticprotected |
if true use filter to search for tests
◆ _verbose
bool iaux::iaTest::_verbose = false |
|
staticprotected |
if true output is more verbose
The documentation for this class was generated from the following files:
- /home/maddin/dev/Igor/src/iaux/iaux/test/iaTest.h
- /home/maddin/dev/Igor/src/iaux/iaux/test/iaTest.cpp