file-fetcher
Protected Member Functions | List of all members
PHPUnit\Util\TestDox\HtmlResultPrinter Class Reference
Inheritance diagram for PHPUnit\Util\TestDox\HtmlResultPrinter:
PHPUnit\TextUI\ResultPrinter PHPUnit\Util\Printer PHPUnit\Framework\TestListener

Protected Member Functions

 startRun ()
 
 startClass (string $name)
 
 onTest ($name, bool $success=true)
 
 endClass (string $name)
 
 endRun ()
 
- Protected Member Functions inherited from PHPUnit\TextUI\ResultPrinter
 printDefects (array $defects, string $type)
 
 printDefect (TestFailure $defect, int $count)
 
 printDefectHeader (TestFailure $defect, int $count)
 
 printDefectTrace (TestFailure $defect)
 
 printErrors (TestResult $result)
 
 printFailures (TestResult $result)
 
 printWarnings (TestResult $result)
 
 printIncompletes (TestResult $result)
 
 printRisky (TestResult $result)
 
 printSkipped (TestResult $result)
 
 printHeader (TestResult $result)
 
 printFooter (TestResult $result)
 
 writeProgress (string $progress)
 
 writeNewLine ()
 
 colorizeTextBox (string $color, string $buffer)
 
 writeWithColor (string $color, string $buffer, bool $lf=true)
 
 writeProgressWithColor (string $color, string $buffer)
 

Additional Inherited Members

- Public Member Functions inherited from PHPUnit\TextUI\ResultPrinter
 __construct ($out=null, bool $verbose=false, string $colors=self::COLOR_DEFAULT, bool $debug=false, $numberOfColumns=80, bool $reverse=false)
 
 printResult (TestResult $result)
 
 addError (Test $test, \Throwable $t, float $time)
 
 addFailure (Test $test, AssertionFailedError $e, float $time)
 
 addWarning (Test $test, Warning $e, float $time)
 
 addIncompleteTest (Test $test, \Throwable $t, float $time)
 
 addRiskyTest (Test $test, \Throwable $t, float $time)
 
 addSkippedTest (Test $test, \Throwable $t, float $time)
 
 startTestSuite (TestSuite $suite)
 
 endTestSuite (TestSuite $suite)
 
 startTest (Test $test)
 
 endTest (Test $test, float $time)
 
- Public Member Functions inherited from PHPUnit\Util\Printer
 __construct ($out=null)
 
 flush ()
 
 incrementalFlush ()
 
 write (string $buffer)
 
 getAutoFlush ()
 
 setAutoFlush (bool $autoFlush)
 
- Public Member Functions inherited from PHPUnit\Framework\TestListener
 addWarning (Test $test, Warning $e, float $time)
 
- Public Attributes inherited from PHPUnit\TextUI\ResultPrinter
const EVENT_TEST_START = 0
 
const EVENT_TEST_END = 1
 
const EVENT_TESTSUITE_START = 2
 
const EVENT_TESTSUITE_END = 3
 
const COLOR_NEVER = 'never'
 
const COLOR_AUTO = 'auto'
 
const COLOR_ALWAYS = 'always'
 
const COLOR_DEFAULT = self::COLOR_NEVER
 
- Protected Attributes inherited from PHPUnit\TextUI\ResultPrinter
 $column = 0
 
 $maxColumn
 
 $lastTestFailed = false
 
 $numAssertions = 0
 
 $numTests = -1
 
 $numTestsRun = 0
 
 $numTestsWidth
 
 $colors = false
 
 $debug = false
 
 $verbose = false
 
- Protected Attributes inherited from PHPUnit\Util\Printer
 $autoFlush = false
 
 $out
 
 $outTarget
 

Member Function Documentation

◆ endClass()

PHPUnit\Util\TestDox\HtmlResultPrinter::endClass ( string  $name)
protected

Handler for 'end class' event.

◆ endRun()

PHPUnit\Util\TestDox\HtmlResultPrinter::endRun ( )
protected

Handler for 'end run' event.

◆ onTest()

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

Handler for 'on test' event.

◆ startClass()

PHPUnit\Util\TestDox\HtmlResultPrinter::startClass ( string  $name)
protected

Handler for 'start class' event.

◆ startRun()

PHPUnit\Util\TestDox\HtmlResultPrinter::startRun ( )
protected

Handler for 'start run' event.


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