22 #ifndef ROBOTTESTINGFRAMEWORK_TESTRESULTCOLLECTOR_H 23 #define ROBOTTESTINGFRAMEWORK_TESTRESULTCOLLECTOR_H 172 #endif // ROBOTTESTINGFRAMEWORK_TESTRESULTCOLLECTOR_H unsigned int nSuitePasses
unsigned int nSuiteFailures
void addReport(const Test *test, TestMessage msg) override
This is called to report any arbitrary message from tests.
void addError(const Test *test, TestMessage msg) override
This is called when an error occurred during test run.
unsigned int failedSuiteCount()
failedCount gets the number of failed test suites.
unsigned int passedSuiteCount()
passedCount gets the number of passed test suites.
The simplest form of a test unit.
void endTestSuite(const Test *test) override
This is called when a TestSuite is finished.
void endTest(const Test *test) override
This is called when a Test is finished.
~TestResultCollector() override
TestResultCollector destructor.
A formated message with details.
std::vector< ResultEvent * >::iterator EventResultIterator
void startTestSuite(const Test *test) override
This is called when a TestSuite is started.
void reset()
reset clear the results
EventResultContainer events
The TestResultCollector class can be used to store all the events issued by the test cases...
std::vector< ResultEvent * > EventResultContainer
TestResultCollector()
TestResultCollector constructor.
unsigned int suiteCount()
suiteCount gets the number of test suites.
unsigned int passedCount()
passedCount gets the number of passed test cases.
unsigned int testCount()
testCount gets the number of test cases.
void startTest(const Test *test) override
This is called when a Test is started.
unsigned int failedCount()
failedCount gets the number of failed test cases.
The base class of any test result listeners.
EventResultContainer & getResults()
getResults return any result event caught by the TestResultCollector.
void addFailure(const Test *test, TestMessage msg) override
This is called when a failure occurred during test run.