22 #ifndef ROBOTTESTINGFRAMEWORK_TESTRESULT_H 23 #define ROBOTTESTINGFRAMEWORK_TESTRESULT_H 138 #endif // ROBOTTESTINGFRAMEWORK_TESTResult_H void startTestSuite(const Test *test)
This is called when a TestSuite is started.
std::set< TestListener * >::iterator ListenerIterator
void startTestRunner()
This is called when the TestRunner is started.
void removeListener(TestListener *listener)
Remove a listener.
void endTestRunner()
This is called when the TestRunner is finished.
The TestResult class is used to deliver the test results including any error and failures produced by...
void endTest(const Test *test)
This is called when a Test is finished.
TestResult()
TestResult constructor.
The simplest form of a test unit.
void endTestSuite(const Test *test)
This is called when a TestSuite is finished.
void addFailure(const Test *test, TestMessage msg)
This is called when a failure occurred during test run.
virtual ~TestResult()
TestResult destructor.
A formated message with details.
ListenerContainer listeners
void addListener(TestListener *listener)
Adding a new listener.
std::set< TestListener * > ListenerContainer
void startTest(const Test *test)
This is called when a Test is started.
The base class of any test result listeners.
void reset()
Clear the listener list.
void addError(const Test *test, TestMessage msg)
This is called when an error occurred during test run.
void addReport(const Test *test, TestMessage msg)
This is called to report any arbitrary message from tests.