MQLUNIT
|
Test runner that outputs results to the text console. More...
Public Member Functions | |
MQLUNIT_ConsoleTestRunner () | |
Constructor. More... | |
~MQLUNIT_ConsoleTestRunner () | |
Destructor. More... | |
void | addFailure (MQLUNIT_TestFailure *failure) |
Registeres a test failure. 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) |
Test started event. More... | |
void | endTest (MQLUNIT_Test *test, const string name) |
Test ended event. More... | |
bool | run (MQLUNIT_Test *test) |
Run a test and output the result to the console. More... | |
Public Member Functions inherited from MQLUNIT_TestRunner | |
virtual | ~MQLUNIT_TestRunner () |
Destructor. More... | |
Public Member Functions inherited from MQLUNIT_TestListener | |
MQLUNIT_TestListener () | |
Constructor. More... | |
virtual | ~MQLUNIT_TestListener () |
Destructor. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from MQLUNIT_TestRunner | |
string | failureCountFormat (uint count) const |
Test runner that outputs results to the text console.
If the console is not visible, it gets allocated and displayed. In case the console exists, the runner attaches to it to display test results.
|
inline |
Constructor.
|
inline |
Destructor.
|
virtual |
Registeres a test failure.
failure | : failure details |
Implements MQLUNIT_TestListener.
|
inlinevirtual |
|
inlinevirtual |
Test ended event.
test | : test case reference |
name | : name of a test |
Implements MQLUNIT_TestListener.
|
virtual |
Run a test and output the result to the console.
test | : a test to run |
Implements MQLUNIT_TestRunner.
|
inlinevirtual |
|
virtual |
Test started event.
test | : test case reference |
name | : name of a test |
Implements MQLUNIT_TestListener.
Copyright © 2017 Eneset Group Trust |