MediaWiki
REL1_22
|
Public Member Functions | |
__construct ($parent) | |
end () | |
Called at the end of the parser test run. | |
record ($test, $result) | |
Called after each test. | |
report () | |
Called before finishing the test run. | |
reportPercentage ($success, $total) | |
start () | |
Called at beginning of the parser test run. | |
Public Attributes | |
$parent | |
$term |
Definition at line 53 of file testHelpers.inc.
TestRecorder::__construct | ( | $ | parent | ) |
Reimplemented in DbTestPreviewer.
Definition at line 57 of file testHelpers.inc.
Called at the end of the parser test run.
Implements ITestRecorder.
Reimplemented in DbTestPreviewer.
Definition at line 72 of file testHelpers.inc.
TestRecorder::record | ( | $ | test, |
$ | result | ||
) |
Called after each test.
Implements ITestRecorder.
Reimplemented in DbTestRecorder, and DbTestPreviewer.
Definition at line 67 of file testHelpers.inc.
References $result.
Called before finishing the test run.
Implements ITestRecorder.
Reimplemented in DbTestPreviewer.
Definition at line 76 of file testHelpers.inc.
References reportPercentage().
TestRecorder::reportPercentage | ( | $ | success, |
$ | total | ||
) |
Definition at line 84 of file testHelpers.inc.
References $failed, $success, $total, print, term(), and wfPercent().
Referenced by report().
Called at beginning of the parser test run.
Implements ITestRecorder.
Reimplemented in DbTestRecorder, and DbTestPreviewer.
Definition at line 62 of file testHelpers.inc.
TestRecorder::$parent |
Definition at line 54 of file testHelpers.inc.
Referenced by __construct(), and DbTestPreviewer\__construct().
TestRecorder::$term |
Definition at line 55 of file testHelpers.inc.