Lggr
Protected Member Functions | List of all members
PHPUnit\Util\TestDox\TextResultPrinter Class Reference
Inheritance diagram for PHPUnit\Util\TestDox\TextResultPrinter:
Inheritance graph
[legend]
Collaboration diagram for PHPUnit\Util\TestDox\TextResultPrinter:
Collaboration graph
[legend]

Protected Member Functions

 startClass ($name)
 
 onTest ($name, $success=true)
 
 endClass ($name)
 
- Protected Member Functions inherited from PHPUnit\Util\TestDox\ResultPrinter
 doEndClass ()
 
 startRun ()
 
 endRun ()
 

Additional Inherited Members

- Public Member Functions inherited from PHPUnit\Util\TestDox\ResultPrinter
 __construct ($out=null, array $groups=[], array $excludeGroups=[])
 
 flush ()
 
 addError (Test $test, \Exception $e, $time)
 
 addWarning (Test $test, Warning $e, $time)
 
 addFailure (Test $test, AssertionFailedError $e, $time)
 
 addIncompleteTest (Test $test, \Exception $e, $time)
 
 addRiskyTest (Test $test, \Exception $e, $time)
 
 addSkippedTest (Test $test, \Exception $e, $time)
 
 startTestSuite (TestSuite $suite)
 
 endTestSuite (TestSuite $suite)
 
 startTest (Test $test)
 
 endTest (Test $test, $time)
 
- Public Member Functions inherited from PHPUnit\Util\Printer
 __construct ($out=null)
 
 incrementalFlush ()
 
 write ($buffer)
 
 getAutoFlush ()
 
 setAutoFlush ($autoFlush)
 
- Public Member Functions inherited from PHPUnit\Framework\TestListener
 addWarning (Test $test, Warning $e, $time)
 
- Protected Attributes inherited from PHPUnit\Util\TestDox\ResultPrinter
 $prettifier
 
 $testClass = ''
 
 $testStatus
 
 $tests = []
 
 $successful = 0
 
 $warned = 0
 
 $failed = 0
 
 $risky = 0
 
 $skipped = 0
 
 $incomplete = 0
 
 $currentTestClassPrettified
 
 $currentTestMethodPrettified
 
- Protected Attributes inherited from PHPUnit\Util\Printer
 $autoFlush = false
 
 $out
 
 $outTarget
 

Detailed Description

Prints TestDox documentation in text format.

Member Function Documentation

◆ endClass()

PHPUnit\Util\TestDox\TextResultPrinter::endClass (   $name)
protected

Handler for 'end class' event.

Parameters
string$name

Reimplemented from PHPUnit\Util\TestDox\ResultPrinter.

◆ onTest()

PHPUnit\Util\TestDox\TextResultPrinter::onTest (   $name,
  $success = true 
)
protected

Handler for 'on test' event.

Parameters
string$name
bool$success

Reimplemented from PHPUnit\Util\TestDox\ResultPrinter.

◆ startClass()

PHPUnit\Util\TestDox\TextResultPrinter::startClass (   $name)
protected

Handler for 'start class' event.

Parameters
string$name

Reimplemented from PHPUnit\Util\TestDox\ResultPrinter.


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