MediaWiki  REL1_19
TestRecorder Class Reference
Inheritance diagram for TestRecorder:

List of all members.

Public Member Functions

 __construct ($parent)
 end ()
 record ($test, $result)
 report ()
 reportPercentage ($success, $total)
 start ()

Public Attributes

 $parent
 $term

Detailed Description

Definition at line 3 of file testHelpers.inc.


Constructor & Destructor Documentation

Reimplemented in DbTestPreviewer.

Definition at line 7 of file testHelpers.inc.

References $parent.


Member Function Documentation

Reimplemented in DbTestPreviewer.

Definition at line 22 of file testHelpers.inc.

TestRecorder::record ( test,
result 
)

Reimplemented in DbTestRecorder, and DbTestPreviewer.

Definition at line 17 of file testHelpers.inc.

References $result.

Reimplemented in DbTestPreviewer.

Definition at line 26 of file testHelpers.inc.

References reportPercentage().

Here is the call graph for this function:

TestRecorder::reportPercentage ( success,
total 
)

Definition at line 34 of file testHelpers.inc.

References $failed, $success, $total, print, and wfPercent().

Referenced by report().

Here is the call graph for this function:

Here is the caller graph for this function:

Reimplemented in DbTestRecorder, and DbTestPreviewer.

Definition at line 12 of file testHelpers.inc.


Member Data Documentation

TestRecorder::$parent

Definition at line 4 of file testHelpers.inc.

Referenced by __construct(), and DbTestPreviewer\__construct().

TestRecorder::$term

Definition at line 5 of file testHelpers.inc.


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