MediaWiki
master
|
Public Member Functions | |
__construct ($parent) | |
end () | |
Called at the end of the parser test run. More... | |
record ($test, $subtest, $result) | |
Called after each test. More... | |
report () | |
Called before finishing the test run. More... | |
reportPercentage ($success, $total) | |
start () | |
Called at beginning of the parser test run. More... | |
Public Attributes | |
$parent | |
$term | |
Definition at line 64 of file testHelpers.inc.
TestRecorder::__construct | ( | $parent | ) |
Definition at line 68 of file testHelpers.inc.
TestRecorder::end | ( | ) |
Called at the end of the parser test run.
Implements ITestRecorder.
Definition at line 83 of file testHelpers.inc.
TestRecorder::record | ( | $test, | |
$subtest, | |||
$result | |||
) |
Called after each test.
string | $test | |
integer | $subtest | |
bool | $result |
Implements ITestRecorder.
Definition at line 78 of file testHelpers.inc.
TestRecorder::report | ( | ) |
Called before finishing the test run.
Implements ITestRecorder.
Definition at line 87 of file testHelpers.inc.
References reportPercentage().
TestRecorder::reportPercentage | ( | $success, | |
$total | |||
) |
Definition at line 95 of file testHelpers.inc.
References $success, print, term(), and wfPercent().
Referenced by report().
TestRecorder::start | ( | ) |
Called at beginning of the parser test run.
Implements ITestRecorder.
Definition at line 73 of file testHelpers.inc.
TestRecorder::$parent |
Definition at line 65 of file testHelpers.inc.
Referenced by __construct(), and DbTestPreviewer\__construct().
TestRecorder::$term |
Definition at line 66 of file testHelpers.inc.