MediaWiki REL1_31
PhpunitTestRecorder Class Reference
Inheritance diagram for PhpunitTestRecorder:
Collaboration diagram for PhpunitTestRecorder:

Public Member Functions

 setTestCase (PHPUnit\Framework\TestCase $testCase)
 
 skipped ( $test, $reason)
 Mark a test skipped.
 
- Public Member Functions inherited from TestRecorder
 end ()
 Called at the end of the parser test run.
 
 endSuite ( $path)
 Called after ending an input file.
 
 record ( $test, ParserTestResult $result)
 Called after each test.
 
 report ()
 Called before finishing the test run.
 
 start ()
 Called at beginning of the parser test run.
 
 startSuite ( $path)
 Called before starting an input file.
 
 startTest ( $test)
 Called before starting a test.
 
 warning ( $message)
 Show a warning to the user.
 

Private Attributes

 $testCase
 

Detailed Description

Definition at line 3 of file PhpunitTestRecorder.php.

Member Function Documentation

◆ setTestCase()

PhpunitTestRecorder::setTestCase ( PHPUnit\Framework\TestCase $testCase)

Definition at line 6 of file PhpunitTestRecorder.php.

References $testCase.

◆ skipped()

PhpunitTestRecorder::skipped ( $test,
$reason )

Mark a test skipped.

Parameters
string$test
string$reason

Reimplemented from TestRecorder.

Definition at line 15 of file PhpunitTestRecorder.php.

Member Data Documentation

◆ $testCase

PhpunitTestRecorder::$testCase
private

Definition at line 4 of file PhpunitTestRecorder.php.

Referenced by setTestCase().


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