MediaWiki  1.28.0
MultiTestRecorder Class Reference

This is a TestRecorder representing a collection of other TestRecorders. More...

Inheritance diagram for MultiTestRecorder:
Collaboration diagram for MultiTestRecorder:

Public Member Functions

 addRecorder (TestRecorder $recorder)
 
 end ()
 
 endSuite ($path)
 
 record ($test, ParserTestResult $result)
 
 report ()
 
 skipped ($test, $subtest)
 
 start ()
 
 startSuite ($path)
 
 startTest ($test)
 
 warning ($message)
 
- Public Member Functions inherited from TestRecorder
 end ()
 Called at the end of the parser test run. More...
 
 endSuite ($path)
 Called after ending an input file. More...
 
 record ($test, ParserTestResult $result)
 Called after each test. More...
 
 report ()
 Called before finishing the test run. More...
 
 skipped ($test, $subtest)
 Mark a test skipped. More...
 
 start ()
 Called at beginning of the parser test run. 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...
 

Private Member Functions

 proxy ($funcName, $args)
 

Private Attributes

 $recorders = []
 

Detailed Description

This is a TestRecorder representing a collection of other TestRecorders.

It proxies calls to all constituent objects.

Definition at line 7 of file MultiTestRecorder.php.

Member Function Documentation

MultiTestRecorder::addRecorder ( TestRecorder  $recorder)

Definition at line 10 of file MultiTestRecorder.php.

Referenced by ParserTestsMaintenance\execute().

MultiTestRecorder::end ( )

Definition at line 52 of file MultiTestRecorder.php.

References proxy().

MultiTestRecorder::endSuite (   $path)

Definition at line 32 of file MultiTestRecorder.php.

References proxy().

MultiTestRecorder::proxy (   $funcName,
  $args 
)
private

Definition at line 14 of file MultiTestRecorder.php.

References $args, and as.

Referenced by end(), endSuite(), record(), report(), skipped(), start(), startSuite(), startTest(), and warning().

MultiTestRecorder::record (   $test,
ParserTestResult  $result 
)

Definition at line 36 of file MultiTestRecorder.php.

References proxy().

MultiTestRecorder::report ( )

Definition at line 48 of file MultiTestRecorder.php.

References proxy().

MultiTestRecorder::skipped (   $test,
  $subtest 
)

Definition at line 44 of file MultiTestRecorder.php.

References proxy().

MultiTestRecorder::start ( )

Definition at line 20 of file MultiTestRecorder.php.

References proxy().

MultiTestRecorder::startSuite (   $path)

Definition at line 28 of file MultiTestRecorder.php.

References proxy().

MultiTestRecorder::startTest (   $test)

Definition at line 24 of file MultiTestRecorder.php.

References proxy().

MultiTestRecorder::warning (   $message)

Definition at line 40 of file MultiTestRecorder.php.

References proxy().

Member Data Documentation

MultiTestRecorder::$recorders = []
private

Definition at line 8 of file MultiTestRecorder.php.


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