|
RobotTestingFramework 2.0.1
Robot Testing Framework
|
class WebProgressListener listens to any messages reported by the tests during the test run, formates them sends them to the web clients. More...
#include <robottestingframework/WebProgressListener.h>
Inheritance diagram for robottestingframework::WebProgressListener:Public Member Functions | |
| WebProgressListener (unsigned int port=8080, bool verbose=false) | |
| WebProgressListener constructor. More... | |
| ~WebProgressListener () override | |
| WebProgressListener destructor. More... | |
| void | addReport (const Test *test, TestMessage msg) override |
| This is called to report any arbitrary message from tests. More... | |
| void | addError (const Test *test, TestMessage msg) override |
| This is called when an error occurred during test run. More... | |
| void | addFailure (const Test *test, TestMessage msg) override |
| This is called when a failure occurred during test run. More... | |
| void | startTest (const Test *test) override |
| This is called when a Test is started. More... | |
| void | endTest (const Test *test) override |
| This is called when a Test is finished. More... | |
| void | startTestSuite (const Test *test) override |
| This is called when a TestSuite is started. More... | |
| void | endTestSuite (const Test *test) override |
| This is called when a TestSuite is finished. More... | |
| void | startTestRunner () override |
| This is called when the TestRunner is started. More... | |
| void | endTestRunner () override |
| This is called when the TestRunner is finished. More... | |
Public Member Functions inherited from robottestingframework::TestListener | |
| 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... | |
Private Attributes | |
| void * | implement |
class WebProgressListener listens to any messages reported by the tests during the test run, formates them sends them to the web clients.
Definition at line 36 of file WebProgressListener.h.
| robottestingframework::WebProgressListener::WebProgressListener | ( | unsigned int | port = 8080, |
| bool | verbose = false |
||
| ) |
WebProgressListener constructor.
| port | the server port number. default is 8080 |
| verbose | enables the verbose mode. If true, the source file and the line number where the messages are issued by the tests will be written to the standard output. The verbose mode is disabled by default. |
|
override |
WebProgressListener destructor.
|
overridevirtual |
This is called when an error occurred during test run.
| test | pointer to the corresponding test |
| msg | correspoinding error message |
Reimplemented from robottestingframework::TestListener.
|
overridevirtual |
This is called when a failure occurred during test run.
| test | pointer to the corresponding test |
| msg | correspoinding failure message |
Reimplemented from robottestingframework::TestListener.
|
overridevirtual |
This is called to report any arbitrary message from tests.
| test | pointer to the corresponding test |
| msg | correspoinding error message |
Reimplemented from robottestingframework::TestListener.
|
overridevirtual |
This is called when a Test is finished.
| test | pointer to the corresponding test |
Reimplemented from robottestingframework::TestListener.
|
overridevirtual |
This is called when the TestRunner is finished.
Reimplemented from robottestingframework::TestListener.
|
overridevirtual |
This is called when a TestSuite is finished.
| test | pointer to the corresponding test |
Reimplemented from robottestingframework::TestListener.
|
overridevirtual |
This is called when a Test is started.
| test | pointer to the corresponding test |
Reimplemented from robottestingframework::TestListener.
|
overridevirtual |
This is called when the TestRunner is started.
Reimplemented from robottestingframework::TestListener.
|
overridevirtual |
This is called when a TestSuite is started.
| test | pointer to the corresponding test |
Reimplemented from robottestingframework::TestListener.
|
private |
Definition at line 111 of file WebProgressListener.h.