Test runner that outputs results to the text file.
More...
Test runner that outputs results to the text file.
- See also
- MQLUNIT_TestRunner
◆ MQLUNIT_TextFileTestRunner()
MQLUNIT_TextFileTestRunner::MQLUNIT_TextFileTestRunner |
( |
string |
file | ) |
|
|
inline |
Constructor : create a new text file test runner.
- Parameters
-
file | : full path the file to write test results to (relative to MQL4/Files directory) |
◆ ~MQLUNIT_TextFileTestRunner()
MQLUNIT_TextFileTestRunner::~MQLUNIT_TextFileTestRunner |
( |
| ) |
|
|
inline |
◆ addFailure()
◆ endSuite()
void MQLUNIT_TextFileTestRunner::endSuite |
( |
MQLUNIT_Test * |
test | ) |
|
|
inlinevirtual |
◆ endTest()
void MQLUNIT_TextFileTestRunner::endTest |
( |
MQLUNIT_Test * |
test, |
|
|
const string |
name |
|
) |
| |
|
inlinevirtual |
Test ended event.
- Parameters
-
test | : test case reference |
name | : name of a test |
Implements MQLUNIT_TestListener.
◆ run()
Run a test and output the result to the console.
- Parameters
-
- Returns
- true, if all tests succeeded, false if there were failures
- See also
- MQLUNIT_Test
Implements MQLUNIT_TestRunner.
◆ startSuite()
void MQLUNIT_TextFileTestRunner::startSuite |
( |
MQLUNIT_Test * |
test | ) |
|
|
inlinevirtual |
◆ startTest()
void MQLUNIT_TextFileTestRunner::startTest |
( |
MQLUNIT_Test * |
test, |
|
|
const string |
name |
|
) |
| |
|
virtual |
Test started event.
- Parameters
-
test | : test case reference |
name | : name of a test |
Implements MQLUNIT_TestListener.
The documentation for this class was generated from the following file: