MediaWiki REL1_31
|
This is a TestRecorder representing a collection of other TestRecorders. More...
Public Member Functions | |
addRecorder (TestRecorder $recorder) | |
end () | |
Called at the end of the parser test run. | |
endSuite ( $path) | |
Called after ending an input file. | |
record ( $test, ParserTestResult $result) | |
Called after each test. | |
report () | |
Called before finishing the test run. | |
skipped ( $test, $subtest) | |
Mark a test skipped. | |
start () | |
Called at beginning of the parser test run. | |
startSuite ( $path) | |
Called before starting an input file. | |
startTest ( $test) | |
Called before starting a test. | |
warning ( $message) | |
Show a warning to the user. | |
Private Member Functions | |
proxy ( $funcName, $args) | |
Private Attributes | |
$recorders = [] | |
This is a TestRecorder representing a collection of other TestRecorders.
It proxies calls to all constituent objects.
Definition at line 7 of file MultiTestRecorder.php.
MultiTestRecorder::addRecorder | ( | TestRecorder | $recorder | ) |
Definition at line 10 of file MultiTestRecorder.php.
Referenced by ParserTestsMaintenance\execute().
MultiTestRecorder::end | ( | ) |
Called at the end of the parser test run.
Reimplemented from TestRecorder.
Definition at line 52 of file MultiTestRecorder.php.
References proxy().
MultiTestRecorder::endSuite | ( | $path | ) |
Called after ending an input file.
Reimplemented from TestRecorder.
Definition at line 32 of file MultiTestRecorder.php.
References proxy().
|
private |
Definition at line 14 of file MultiTestRecorder.php.
References $args.
Referenced by end(), endSuite(), record(), report(), skipped(), start(), startSuite(), startTest(), and warning().
MultiTestRecorder::record | ( | $test, | |
ParserTestResult | $result ) |
Called after each test.
array | $test | |
ParserTestResult | $result |
Reimplemented from TestRecorder.
Definition at line 36 of file MultiTestRecorder.php.
References proxy().
MultiTestRecorder::report | ( | ) |
Called before finishing the test run.
Reimplemented from TestRecorder.
Definition at line 48 of file MultiTestRecorder.php.
References proxy().
MultiTestRecorder::skipped | ( | $test, | |
$subtest ) |
Mark a test skipped.
Reimplemented from TestRecorder.
Definition at line 44 of file MultiTestRecorder.php.
References proxy().
MultiTestRecorder::start | ( | ) |
Called at beginning of the parser test run.
Reimplemented from TestRecorder.
Definition at line 20 of file MultiTestRecorder.php.
References proxy().
MultiTestRecorder::startSuite | ( | $path | ) |
Called before starting an input file.
Reimplemented from TestRecorder.
Definition at line 28 of file MultiTestRecorder.php.
References proxy().
MultiTestRecorder::startTest | ( | $test | ) |
Called before starting a test.
Reimplemented from TestRecorder.
Definition at line 24 of file MultiTestRecorder.php.
References proxy().
MultiTestRecorder::warning | ( | $message | ) |
Show a warning to the user.
Reimplemented from TestRecorder.
Definition at line 40 of file MultiTestRecorder.php.
References proxy().
|
private |
Definition at line 8 of file MultiTestRecorder.php.