MQLUNIT
|
Test result collects the results of executing a test. More...
Public Member Functions | |
MQLUNIT_TestResult () | |
Constructor. More... | |
void | addListener (MQLUNIT_TestListener *listener) |
Registeres a test listener. More... | |
void | addFailure (MQLUNIT_TestFailure *failure) |
Adds a failure to the list of test failures. More... | |
void | startSuite (MQLUNIT_Test *test) |
Test suite started event. More... | |
void | endSuite (MQLUNIT_Test *test) |
Test suite ended event. More... | |
void | startTest (MQLUNIT_Test *test, const string name) |
Informs the result that a test was started. More... | |
void | endTest (MQLUNIT_Test *test, const string name) |
Informs the result that a test was completed. More... | |
uint | runCount () const |
Returns a total number of tests run. More... | |
uint | failureCount () const |
Returns a total number of failed tests. More... | |
Public Member Functions inherited from MQLUNIT_TestListener | |
MQLUNIT_TestListener () | |
Constructor. More... | |
virtual | ~MQLUNIT_TestListener () |
Destructor. More... | |
Test result collects the results of executing a test.
It is an instance of the Collecting Parameter pattern.
|
inline |
Constructor.
|
virtual |
Adds a failure to the list of test failures.
failure | : failure details |
Implements MQLUNIT_TestListener.
|
inline |
|
virtual |
|
virtual |
Informs the result that a test was completed.
test | : test case reference |
name | : test name |
Implements MQLUNIT_TestListener.
|
inline |
Returns a total number of failed tests.
|
inline |
Returns a total number of tests run.
|
virtual |
|
virtual |
Informs the result that a test was started.
test | : test case reference |
name | : test name |
Implements MQLUNIT_TestListener.
Copyright © 2017 Eneset Group Trust |