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>
class WebProgressListener listens to any messages reported by the tests during the test run, formates them sends them to the web clients.
- Examples:
- simple_web.cpp.
Definition at line 36 of file WebProgressListener.h.
◆ WebProgressListener()
| robottestingframework::WebProgressListener::WebProgressListener |
( |
unsigned int |
port = 8080, |
|
|
bool |
verbose = false |
|
) |
| |
WebProgressListener constructor.
- Parameters
-
| 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. |
◆ ~WebProgressListener()
| robottestingframework::WebProgressListener::~WebProgressListener |
( |
| ) |
|
|
override |
◆ addError()
| void robottestingframework::WebProgressListener::addError |
( |
const Test * |
test, |
|
|
TestMessage |
msg |
|
) |
| |
|
overridevirtual |
This is called when an error occurred during test run.
- Parameters
-
| test | pointer to the corresponding test |
| msg | correspoinding error message |
Reimplemented from robottestingframework::TestListener.
◆ addFailure()
| void robottestingframework::WebProgressListener::addFailure |
( |
const Test * |
test, |
|
|
TestMessage |
msg |
|
) |
| |
|
overridevirtual |
This is called when a failure occurred during test run.
- Parameters
-
| test | pointer to the corresponding test |
| msg | correspoinding failure message |
Reimplemented from robottestingframework::TestListener.
◆ addReport()
| void robottestingframework::WebProgressListener::addReport |
( |
const Test * |
test, |
|
|
TestMessage |
msg |
|
) |
| |
|
overridevirtual |
This is called to report any arbitrary message from tests.
- Parameters
-
| test | pointer to the corresponding test |
| msg | correspoinding error message |
Reimplemented from robottestingframework::TestListener.
◆ endTest()
| void robottestingframework::WebProgressListener::endTest |
( |
const Test * |
test | ) |
|
|
overridevirtual |
◆ endTestRunner()
| void robottestingframework::WebProgressListener::endTestRunner |
( |
| ) |
|
|
overridevirtual |
◆ endTestSuite()
| void robottestingframework::WebProgressListener::endTestSuite |
( |
const Test * |
test | ) |
|
|
overridevirtual |
◆ startTest()
| void robottestingframework::WebProgressListener::startTest |
( |
const Test * |
test | ) |
|
|
overridevirtual |
◆ startTestRunner()
| void robottestingframework::WebProgressListener::startTestRunner |
( |
| ) |
|
|
overridevirtual |
◆ startTestSuite()
| void robottestingframework::WebProgressListener::startTestSuite |
( |
const Test * |
test | ) |
|
|
overridevirtual |
◆ implement
| void* robottestingframework::WebProgressListener::implement |
|
private |
The documentation for this class was generated from the following file: