MediaWiki  1.27.2
DbTestRecorder Class Reference
Inheritance diagram for DbTestRecorder:
Collaboration diagram for DbTestRecorder:

Public Member Functions

 end ()
 Commit transaction and clean up for result recording. More...
 
 record ($test, $subtest, $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 DbTestPreviewer
 __construct ($parent)
 This should be called before the table prefix is changed. More...
 
 end ()
 Close the DB connection. More...
 
 getName ($test, $subtest)
 
 record ($test, $subtest, $result)
 Called after each test. More...
 
 report ()
 Called before finishing the test run. 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
 __construct ($parent)
 
 end ()
 Called at the end of the parser test run. More...
 
 record ($test, $subtest, $result)
 Called after each test. More...
 
 report ()
 Called before finishing the test run. More...
 
 reportPercentage ($success, $total)
 
 start ()
 Called at beginning of the parser test run. More...
 

Public Attributes

 $version
 
- Public Attributes inherited from TestRecorder
 $parent
 
 $term
 

Additional Inherited Members

- Protected Attributes inherited from DbTestPreviewer
 $curRun
 
 $db
 
 $lb
 
 $prevRun
 
 $results
 

Detailed Description

Definition at line 319 of file testHelpers.inc.

Member Function Documentation

DbTestRecorder::end ( )

Commit transaction and clean up for result recording.

Implements ITestRecorder.

Definition at line 376 of file testHelpers.inc.

DbTestRecorder::record (   $test,
  $subtest,
  $result 
)

Record an individual test item's success or failure to the db.

Parameters
string$test
bool$result

Implements ITestRecorder.

Definition at line 361 of file testHelpers.inc.

References DbTestPreviewer\getName().

DbTestRecorder::start ( )

Set up result recording; insert a record for the run with the date and all that fun stuff.

Implements ITestRecorder.

Definition at line 326 of file testHelpers.inc.

References $version, and print.

Member Data Documentation

DbTestRecorder::$version

Definition at line 320 of file testHelpers.inc.

Referenced by start().


The documentation for this class was generated from the following file: