MediaWiki
1.28.0
|
This is a TestRecorder representing a collection of other TestRecorders. More...
Public Member Functions | |
addRecorder (TestRecorder $recorder) | |
end () | |
endSuite ($path) | |
record ($test, ParserTestResult $result) | |
report () | |
skipped ($test, $subtest) | |
start () | |
startSuite ($path) | |
startTest ($test) | |
warning ($message) | |
Public Member Functions inherited from TestRecorder | |
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 | ( | ) |
Definition at line 52 of file MultiTestRecorder.php.
References proxy().
MultiTestRecorder::endSuite | ( | $path | ) |
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 | ||
) |
Definition at line 36 of file MultiTestRecorder.php.
References proxy().
MultiTestRecorder::report | ( | ) |
Definition at line 48 of file MultiTestRecorder.php.
References proxy().
MultiTestRecorder::skipped | ( | $test, | |
$subtest | |||
) |
Definition at line 44 of file MultiTestRecorder.php.
References proxy().
MultiTestRecorder::start | ( | ) |
Definition at line 20 of file MultiTestRecorder.php.
References proxy().
MultiTestRecorder::startSuite | ( | $path | ) |
Definition at line 28 of file MultiTestRecorder.php.
References proxy().
MultiTestRecorder::startTest | ( | $test | ) |
Definition at line 24 of file MultiTestRecorder.php.
References proxy().
MultiTestRecorder::warning | ( | $message | ) |
Definition at line 40 of file MultiTestRecorder.php.
References proxy().
|
private |
Definition at line 8 of file MultiTestRecorder.php.