API class used in CUTB simple framework.
More...
API class used in CUTB simple framework.
static bool cutb::TestManager::advanceTest |
( |
| ) |
|
|
static |
Makes the current test move to the next test.
When the current test is the last test, the advancement fails and false is returned.
- Returns
- whether the advancement succeeded or not.
static const char* cutb::TestManager::currentFilepath |
( |
| ) |
|
|
static |
- Returns
- the file path of the current test.
static int cutb::TestManager::currentLineno |
( |
| ) |
|
|
static |
- Returns
- the line number of the current test.
static const char* cutb::TestManager::currentTestname |
( |
| ) |
|
|
static |
- Returns
- the test name of the current test.
static bool cutb::TestManager::seekTest |
( |
size_t |
idx | ) |
|
|
static |
Makes the current test move to the test corresponding to the idx
.
If idx
is out of the test index range, the seeking fails and false is returned.
- Parameters
-
idx | index of the test to seek to |
- Returns
- whether the seeking succeeded or not
The documentation for this class was generated from the following file:
- include/cutb/framework/simple/core.h