MediaWiki
1.28.0
|
Public Member Functions | |
__construct (IDatabase $db) | |
end () | |
Commit transaction and clean up for result recording. More... | |
record ($test, ParserTestResult $result) | |
Record an individual test item's success or failure to the db. More... | |
start () | |
Set up result recording; insert a record for the run with the date and all that fun stuff. More... | |
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... | |
Public Attributes | |
$version | |
Private Attributes | |
$db | |
Definition at line 22 of file DbTestRecorder.php.
DbTestRecorder::__construct | ( | IDatabase | $db | ) |
Definition at line 26 of file DbTestRecorder.php.
References $db.
DbTestRecorder::end | ( | ) |
Commit transaction and clean up for result recording.
Definition at line 80 of file DbTestRecorder.php.
DbTestRecorder::record | ( | $test, | |
ParserTestResult | $result | ||
) |
Record an individual test item's success or failure to the db.
array | $test | |
ParserTestResult | $result |
Definition at line 67 of file DbTestRecorder.php.
References ParserTestResult\isSuccess().
DbTestRecorder::start | ( | ) |
Set up result recording; insert a record for the run with the date and all that fun stuff.
Definition at line 34 of file DbTestRecorder.php.
|
private |
Definition at line 24 of file DbTestRecorder.php.
Referenced by __construct().
DbTestRecorder::$version |
Definition at line 23 of file DbTestRecorder.php.
Referenced by start().