Base for observer classes allowing to get notifications from a test run. More...
Public Member Functions | |
TestObserver () noexcept | |
virtual | ~TestObserver () |
virtual void | onRunLaunch (const TestRunParameters ¶ms) |
virtual void | onRunEnd () |
virtual void | onClassLaunch (const TestClassObserverInformation &info) |
virtual void | onClassBypass (const TestClassObserverInformation &info) |
virtual void | onClassEnd (const TestClassObserverInformation &info) |
virtual void | onTestLaunch (const TestFunctionObserverInformation &info) |
virtual void | onTestBypass (const TestFunctionObserverInformation &info) |
virtual void | onTestSuccess (const TestFunctionObserverInformation &info) |
virtual void | onTestFailure (const TestFunctionObserverInformation &info) |
Base for observer classes allowing to get notifications from a test run.
To get notifications during a test run, it is possible to implement this class. The implemented instance can then be passed as a parameter during a test run.
|
noexcept |
Default constructor.
|
virtual |
Destructor.
|
virtual |
Called when a run is about to start.
params | The test parameters passed for the run. |
Reimplemented in nkDebug::DefaultTestObserver.
|
virtual |
Called when a run is fully done.
Reimplemented in nkDebug::DefaultTestObserver.
|
virtual |
Called when a TestClass is being started for a test run.
info | Current information about the run. |
Reimplemented in nkDebug::DefaultTestObserver.
|
virtual |
Called when a TestClass is being bypassed.
info | Current information about the run. |
Reimplemented in nkDebug::DefaultTestObserver.
|
virtual |
Called when a TestClass has finished running.
info | Current information about the run. |
Reimplemented in nkDebug::DefaultTestObserver.
|
virtual |
Called when a TestClass' test function is being launched.
info | Current information about the run. |
Reimplemented in nkDebug::DefaultTestObserver.
|
virtual |
Called when a TestClass's function is bypassed.
info | Current information about the run. |
Reimplemented in nkDebug::DefaultTestObserver.
|
virtual |
Called when a TestClass' test function succeeds.
info | Current information about the run. |
Reimplemented in nkDebug::DefaultTestObserver.
|
virtual |
Called when a TestClass' test function fails.
info | Current information about the run. |
Reimplemented in nkDebug::DefaultTestObserver.