MQLUNIT
|
Base class for all test runners. More...
Public Member Functions | |
virtual | ~MQLUNIT_TestRunner () |
Destructor. More... | |
virtual bool | run (MQLUNIT_Test *test)=0 |
Run a test and output the result. More... | |
Public Member Functions inherited from MQLUNIT_TestListener | |
MQLUNIT_TestListener () | |
Constructor. More... | |
virtual | ~MQLUNIT_TestListener () |
Destructor. More... | |
virtual void | addFailure (MQLUNIT_TestFailure *failure)=0 |
Failure occurred event. More... | |
virtual void | startSuite (MQLUNIT_Test *test)=0 |
Test suite started event. More... | |
virtual void | endSuite (MQLUNIT_Test *test)=0 |
Test suite ended event. More... | |
virtual void | startTest (MQLUNIT_Test *test, const string name)=0 |
Test started event. More... | |
virtual void | endTest (MQLUNIT_Test *test, const string name)=0 |
Test ended event. More... | |
Protected Member Functions | |
string | failureCountFormat (uint count) const |
Base class for all test runners.
|
inlinevirtual |
Destructor.
|
protected |
|
pure virtual |
Run a test and output the result.
test | : a test to run |
Implemented in MQLUNIT_XMLTestRunner, MQLUNIT_TextFileTestRunner, MQLUNIT_TerminalTestRunner, and MQLUNIT_ConsoleTestRunner.
Copyright © 2017 Eneset Group Trust |