22 #ifndef ROBOTTESTINGFRAMEWORK_WEBPROGRESSLISTENER_IMPL_H 23 #define ROBOTTESTINGFRAMEWORK_WEBPROGRESSLISTENER_IMPL_H 139 std::string
encode(
const std::string& data);
140 static void update(
void* param);
141 static int handler(
struct mg_connection* conn,
152 #endif // ROBOTTESTINGFRAMEWORK_WEBPROGRESSLISTENER_IMPL_H virtual void startTestSuite(const Test *test)
This is called when a TestSuite is started.
virtual void endTestRunner()
This is called when the TestRunner is finished.
std::vector< TestStatus > testStatus
virtual void startTestRunner()
This is called when the TestRunner is started.
static WebProgressListenerImpl & create(unsigned int port=8080, bool verbose=false)
create Creates an instance of WebProgressListenerImpl class
The simplest form of a test unit.
virtual void addFailure(const Test *test, TestMessage msg)
This is called when a failure occurred during test run.
virtual void addError(const Test *test, TestMessage msg)
This is called when an error occurred during test run.
A formated message with details.
virtual void endTestSuite(const Test *test)
This is called when a TestSuite is finished.
Singleton class WebProgressListenerImpl listens to any messages reported by the tests during the test...
virtual ~WebProgressListenerImpl()
WebProgressListenerImpl destructor.
WebProgressListenerImpl(WebProgressListenerImpl const &)=delete
virtual void endTest(const Test *test)
This is called when a Test is finished.
virtual void startTest(const Test *test)
This is called when a Test is started.
static void update(void *param)
static int handler(struct mg_connection *conn, enum mg_event ev)
virtual void addReport(const Test *test, TestMessage msg)
This is called to report any arbitrary message from tests.
struct mg_server * server
void operator=(WebProgressListenerImpl const &)=delete
std::string encode(const std::string &data)