MediaWiki
1.32.5
|
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. More... | |
endSuite ( $path) | |
Called after ending an input file. More... | |
record ( $test, ParserTestResult $result) | |
Called after each test. More... | |
report () | |
Called before finishing the test run. More... | |
skipped ( $test, $subtest) | |
Mark a test skipped. More... | |
start () | |
Called at beginning of the parser test run. More... | |
startSuite ( $path) | |
Called before starting an input file. More... | |
startTest ( $test) | |
Called before starting a test. More... | |
warning ( $message) | |
Show a warning to the user. More... | |
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.
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.