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

Public Member Functions

 end ()
 Commit transaction and clean up for result recording.
 
 record ( $test, $subtest, $result)
 Record an individual test item's success or failure to the db.
 
 start ()
 Set up result recording; insert a record for the run with the date and all that fun stuff.
 
- Public Member Functions inherited from DbTestPreviewer
 __construct ( $parent)
 This should be called before the table prefix is changed.
 
 getName ( $test, $subtest)
 
 report ()
 Called before finishing the test run.
 
- Public Member Functions inherited from TestRecorder
 reportPercentage ( $success, $total)
 

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

◆ end()

DbTestRecorder::end ( )

Commit transaction and clean up for result recording.

Reimplemented from DbTestPreviewer.

Definition at line 376 of file testHelpers.inc.

◆ record()

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

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

Parameters
string$test
bool$result

Reimplemented from DbTestPreviewer.

Definition at line 361 of file testHelpers.inc.

References DbTestPreviewer\getName().

◆ start()

DbTestRecorder::start ( )

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

Reimplemented from DbTestPreviewer.

Definition at line 326 of file testHelpers.inc.

References print.

Member Data Documentation

◆ $version

DbTestRecorder::$version

Definition at line 320 of file testHelpers.inc.


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