API Documentation
TestObserver.h
1 // TestObserver.h
3 //
5 
6 namespace nkDebug
7 {
15  {
16  public :
17 
18  // Functions
19  // Constructor, destructor
23  TestObserver () noexcept ;
27  virtual ~TestObserver () ;
28 
29  // Hooks
35  virtual void onRunLaunch (const TestRunParameters& params) ;
39  virtual void onRunEnd () ;
45  virtual void onClassLaunch (const TestClassObserverInformation& info) ;
51  virtual void onClassBypass (const TestClassObserverInformation& info) ;
57  virtual void onClassEnd (const TestClassObserverInformation& info) ;
63  virtual void onTestLaunch (const TestFunctionObserverInformation& info) ;
69  virtual void onTestBypass (const TestFunctionObserverInformation& info) ;
75  virtual void onTestSuccess (const TestFunctionObserverInformation& info) ;
81  virtual void onTestFailure (const TestFunctionObserverInformation& info) ;
82  } ;
83 }
nkDebug::TestObserver::onRunEnd
virtual void onRunEnd()
nkDebug::TestObserver
Base for observer classes allowing to get notifications from a test run.
Definition: TestObserver.h:15
nkDebug::TestObserver::onClassLaunch
virtual void onClassLaunch(const TestClassObserverInformation &info)
nkDebug::TestObserver::onTestBypass
virtual void onTestBypass(const TestFunctionObserverInformation &info)
nkDebug::TestObserver::TestObserver
TestObserver() noexcept
nkDebug::TestClassObserverInformation
Information provided during a TestClass run.
Definition: TestClassObserverInformation.h:12
nkDebug::TestObserver::onRunLaunch
virtual void onRunLaunch(const TestRunParameters &params)
nkDebug::TestObserver::onTestLaunch
virtual void onTestLaunch(const TestFunctionObserverInformation &info)
nkDebug::TestObserver::onClassEnd
virtual void onClassEnd(const TestClassObserverInformation &info)
nkDebug::TestObserver::onTestFailure
virtual void onTestFailure(const TestFunctionObserverInformation &info)
nkDebug::TestRunParameters
Parameters allowing to drive a test run sequence.
Definition: TestRunParameters.h:12
nkDebug::TestObserver::onTestSuccess
virtual void onTestSuccess(const TestFunctionObserverInformation &info)
nkDebug::TestFunctionObserverInformation
Information provided during a function run.
Definition: TestFunctionObserverInformation.h:12
nkDebug
Encompasses all API of component NilkinsDebug.
Definition: LogManager.h:7
nkDebug::TestObserver::onClassBypass
virtual void onClassBypass(const TestClassObserverInformation &info)