RobotTestingFramework
2.0.1
Robot Testing Framework
|
The base class of any test result listeners. More...
#include <robottestingframework/TestListener.h>
Public Member Functions | |
TestListener ()=default | |
TestListener constructor. More... | |
virtual | ~TestListener ()=default |
TestListener destructor. More... | |
virtual void | addReport (const Test *test, TestMessage msg) |
This is called to report any arbitrary message from tests. More... | |
virtual void | addError (const Test *test, TestMessage msg) |
This is called when an error occurred during test run. More... | |
virtual void | addFailure (const Test *test, TestMessage msg) |
This is called when a failure occurred during test run. More... | |
virtual void | startTest (const Test *test) |
This is called when a Test is started. More... | |
virtual void | endTest (const Test *test) |
This is called when a Test is finished. More... | |
virtual void | startTestSuite (const Test *test) |
This is called when a TestSuite is started. More... | |
virtual void | endTestSuite (const Test *test) |
This is called when a TestSuite is finished. More... | |
virtual void | startTestRunner () |
This is called when the TestRunner is started. More... | |
virtual void | endTestRunner () |
This is called when the TestRunner is finished. More... | |
The base class of any test result listeners.
Definition at line 33 of file TestListener.h.
|
default |
TestListener constructor.
|
virtualdefault |
TestListener destructor.
|
inlinevirtual |
This is called when an error occurred during test run.
test | pointer to the corresponding test |
msg | correspoinding error message |
Reimplemented in robottestingframework::TestResultCollector, robottestingframework::ConsoleListener, and robottestingframework::WebProgressListener.
Definition at line 61 of file TestListener.h.
|
inlinevirtual |
This is called when a failure occurred during test run.
test | pointer to the corresponding test |
msg | correspoinding failure message |
Reimplemented in robottestingframework::TestResultCollector, robottestingframework::ConsoleListener, and robottestingframework::WebProgressListener.
Definition at line 70 of file TestListener.h.
|
inlinevirtual |
This is called to report any arbitrary message from tests.
test | pointer to the corresponding test |
msg | correspoinding error message |
Reimplemented in robottestingframework::TestResultCollector, robottestingframework::ConsoleListener, and robottestingframework::WebProgressListener.
Definition at line 52 of file TestListener.h.
|
inlinevirtual |
This is called when a Test is finished.
test | pointer to the corresponding test |
Reimplemented in robottestingframework::TestResultCollector, robottestingframework::ConsoleListener, and robottestingframework::WebProgressListener.
Definition at line 86 of file TestListener.h.
|
inlinevirtual |
This is called when the TestRunner is finished.
Reimplemented in robottestingframework::ConsoleListener, and robottestingframework::WebProgressListener.
Definition at line 116 of file TestListener.h.
|
inlinevirtual |
This is called when a TestSuite is finished.
test | pointer to the corresponding test |
Reimplemented in robottestingframework::TestResultCollector, robottestingframework::ConsoleListener, and robottestingframework::WebProgressListener.
Definition at line 102 of file TestListener.h.
|
inlinevirtual |
This is called when a Test is started.
test | pointer to the corresponding test |
Reimplemented in robottestingframework::TestResultCollector, robottestingframework::ConsoleListener, and robottestingframework::WebProgressListener.
Definition at line 78 of file TestListener.h.
|
inlinevirtual |
This is called when the TestRunner is started.
Reimplemented in robottestingframework::ConsoleListener, and robottestingframework::WebProgressListener.
Definition at line 109 of file TestListener.h.
|
inlinevirtual |
This is called when a TestSuite is started.
test | pointer to the corresponding test |
Reimplemented in robottestingframework::TestResultCollector, robottestingframework::ConsoleListener, and robottestingframework::WebProgressListener.
Definition at line 94 of file TestListener.h.