MediaWiki
1.32.5
|
Public Member Functions | |
__construct (IMaintainableDatabase $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 | |
endSuite ( $path) | |
Called after ending an input file. More... | |
report () | |
Called before finishing the test run. More... | |
skipped ( $test, $subtest) | |
Mark a test skipped. 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 | |
Database | $db |
Definition at line 24 of file DbTestRecorder.php.
DbTestRecorder::__construct | ( | IMaintainableDatabase | $db | ) |
Definition at line 29 of file DbTestRecorder.php.
References $db.
DbTestRecorder::end | ( | ) |
Commit transaction and clean up for result recording.
Reimplemented from TestRecorder.
Definition at line 84 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 |
Reimplemented from TestRecorder.
Definition at line 71 of file DbTestRecorder.php.
DbTestRecorder::start | ( | ) |
Set up result recording; insert a record for the run with the date and all that fun stuff.
Reimplemented from TestRecorder.
Definition at line 37 of file DbTestRecorder.php.
References $version, and DatabaseUpdater\newForDB().
|
private |
Definition at line 27 of file DbTestRecorder.php.
Referenced by __construct().
DbTestRecorder::$version |
Definition at line 25 of file DbTestRecorder.php.
Referenced by start().