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

Public Member Functions

 record ( $test, $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 ()
 Commit transaction and clean up for result recording. More...
 
 report ()
 Called before finishing the test run. More...
 
- 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 297 of file testHelpers.inc.

Member Function Documentation

◆ record()

DbTestRecorder::record (   $test,
  $result 
)

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

Parameters
$testString
$resultBoolean

Reimplemented from DbTestPreviewer.

Definition at line 339 of file testHelpers.inc.

References $test, and array().

◆ 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 304 of file testHelpers.inc.

References $version, array(), and start.

Member Data Documentation

◆ $version

DbTestRecorder::$version

Definition at line 298 of file testHelpers.inc.

Referenced by start().


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