#include <UT_TestManager.h>
Definition at line 36 of file UT_TestManager.h.
UT_TestManager::UT_TestManager |
( |
| ) |
|
|
inline |
virtual UT_TestManager::~UT_TestManager |
( |
| ) |
|
|
inlinevirtual |
virtual void UT_TestManager::addTest |
( |
const char * |
name, |
|
|
UT_Functor< bool > & |
callback |
|
) |
| |
|
pure virtual |
Called by the TEST_REGISTER*() macros to automatically add a new test case
Access the global test manager.
virtual const UT_WorkArgs& UT_TestManager::getArgs |
( |
| ) |
const |
|
pure virtual |
Get the arguments passed into this program.
virtual bool UT_TestManager::isInteractive |
( |
| ) |
const |
|
pure virtual |
Determine if the test was interactively invoked.
virtual bool UT_TestManager::isPerformance |
( |
| ) |
const |
|
pure virtual |
Determine if the tests are being run for performance.
virtual void UT_TestManager::logResult |
( |
const char * |
name, |
|
|
bool |
success, |
|
|
fpreal64 |
run_time |
|
) |
| |
|
pure virtual |
Allow for logging of intermediate test results. If logging is turned on in the test manager, the test name, status and run time will be saved.
virtual int UT_TestManager::numThreads |
( |
| ) |
const |
|
pure virtual |
Determine the number of threads requested.
virtual int UT_TestManager::run |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
|
pure virtual |
Called by main() to run the tests. Returns the number of test failures.
The documentation for this class was generated from the following file: