Manages the counting of passed and failed sub-tests within a test run.
More...
#include <mitkTestManager.h>
Manages the counting of passed and failed sub-tests within a test run.
This singleton class tracks the number of passed and failed sub-tests. Call Initialize() at the beginning of a test run to reset the counters.
Definition at line 26 of file mitkTestManager.h.
◆ TestManager()
| mitk::TestManager::TestManager |
( |
| ) |
|
|
inline |
◆ ~TestManager()
| virtual mitk::TestManager::~TestManager |
( |
| ) |
|
|
inlinevirtual |
◆ GetInstance()
◆ Initialize()
| void mitk::TestManager::Initialize |
( |
| ) |
|
Must be called at the beginning of a test run to reset all counters.
◆ NumberOfFailedTests()
| int mitk::TestManager::NumberOfFailedTests |
( |
| ) |
|
Return the number of failed sub-tests.
- Returns
- The count of failed sub-tests since the last Initialize() call.
◆ NumberOfPassedTests()
| int mitk::TestManager::NumberOfPassedTests |
( |
| ) |
|
Return the number of passed sub-tests.
- Returns
- The count of passed sub-tests since the last Initialize() call.
◆ TestFailed()
| void mitk::TestManager::TestFailed |
( |
| ) |
|
Tell the manager that a sub-test has failed. Increments the failure counter.
◆ TestPassed()
| void mitk::TestManager::TestPassed |
( |
| ) |
|
Tell the manager that a sub-test has passed. Increments the pass counter.
◆ m_FailedTests
| int mitk::TestManager::m_FailedTests |
|
protected |
◆ m_PassedTests
| int mitk::TestManager::m_PassedTests |
|
protected |
The documentation for this class was generated from the following file: