Record of a failed Test execution.
More...
Record of a failed Test execution.
◆ MQLUNIT_TestFailure()
MQLUNIT_TestFailure::MQLUNIT_TestFailure |
( |
const MQLUNIT_Test * |
test, |
|
|
const string |
file, |
|
|
const uint |
line, |
|
|
const string |
method, |
|
|
const string |
message |
|
) |
| |
|
inline |
Constructor : create a record of a failed test execution.
- Parameters
-
test | : a test that failed |
file | : a name of a file that contains a failed test |
line | : a line in a file that triggered a failure |
method | : a name of an assertion that failed (test method) |
message | : a failure description |
- See also
- MQLUNIT_Test
◆ ~MQLUNIT_TestFailure()
MQLUNIT_TestFailure::~MQLUNIT_TestFailure |
( |
| ) |
|
|
inline |
◆ getFile()
string MQLUNIT_TestFailure::getFile |
( |
| ) |
const |
|
inline |
Returns a name of a file that contains a failed test.
- Returns
- a name of a file that contains a failed test
◆ getLine()
uint MQLUNIT_TestFailure::getLine |
( |
| ) |
const |
|
inline |
Returns a line in a file that triggered a failure.
- Returns
- a line in a file that triggered a failure
◆ getMessage()
string MQLUNIT_TestFailure::getMessage |
( |
| ) |
const |
|
inline |
Returns a failure description.
- Returns
- a failure description
◆ getMethod()
string MQLUNIT_TestFailure::getMethod |
( |
| ) |
const |
|
inline |
Returns a name of an assertion that failed (test method).
- Returns
- a name of an assertion that failed (test method)
◆ getTest()
Returns a failed test.
- Returns
- a test that failed
The documentation for this class was generated from the following file: