Property | Type | Description | |
---|---|---|---|
$colors | boolean | ||
$column | integer | ||
$debug | boolean | ||
$lastTestFailed | boolean | ||
$maxColumn | integer | ||
$numAssertions | integer | ||
$numTests | integer | ||
$numTestsRun | integer | ||
$numTestsWidth | integer | ||
$verbose | boolean |
Method | Description | |
---|---|---|
__construct ( mixed $out = null, boolean $verbose = false, string $colors = self::COLOR_DEFAULT, boolean $debug = false, integer | string $numberOfColumns = 80, boolean $reverse = false ) | Constructor. | |
addError ( PHPUnit_Framework_Test $test, Exception $e, float $time ) | An error occurred. | |
addFailure ( PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, float $time ) | A failure occurred. | |
addIncompleteTest ( PHPUnit_Framework_Test $test, Exception $e, float $time ) | Incomplete test. | |
addRiskyTest ( PHPUnit_Framework_Test $test, Exception $e, float $time ) | Risky test. | |
addSkippedTest ( PHPUnit_Framework_Test $test, Exception $e, float $time ) | Skipped test. | |
addWarning ( PHPUnit_Framework_Test $test, PHPUnit_Framework_Warning $e, float $time ) | A warning occurred. | |
endTest ( PHPUnit_Framework_Test $test, float $time ) | A test ended. | |
endTestSuite ( PHPUnit_Framework_TestSuite $suite ) | A testsuite ended. | |
printResult ( PHPUnit_Framework_TestResult $result ) | ||
printWaitPrompt ( ) | ||
startTest ( PHPUnit_Framework_Test $test ) | A test started. | |
startTestSuite ( PHPUnit_Framework_TestSuite $suite ) | A testsuite started. |
Method | Description | |
---|---|---|
formatWithColor ( string $color, string $buffer ) : string | Formats a buffer with a specified ANSI color sequence if colors are enabled. | |
printDefect ( PHPUnit_Framework_TestFailure $defect, integer $count ) | ||
printDefectHeader ( PHPUnit_Framework_TestFailure $defect, integer $count ) | ||
printDefectTrace ( PHPUnit_Framework_TestFailure $defect ) | ||
printDefects ( array $defects, string $type ) | ||
printErrors ( PHPUnit_Framework_TestResult $result ) | ||
printFailures ( PHPUnit_Framework_TestResult $result ) | ||
printFooter ( PHPUnit_Framework_TestResult $result ) | ||
printHeader ( ) | ||
printIncompletes ( PHPUnit_Framework_TestResult $result ) | ||
printRisky ( PHPUnit_Framework_TestResult $result ) | ||
printSkipped ( PHPUnit_Framework_TestResult $result ) | ||
printWarnings ( PHPUnit_Framework_TestResult $result ) | ||
writeNewLine ( ) | ||
writeProgress ( string $progress ) | ||
writeProgressWithColor ( string $color, string $buffer ) | Writes progress with a color sequence if colors are enabled. | |
writeWithColor ( string $color, string $buffer, boolean $lf = true ) | Writes a buffer out with a color sequence if colors are enabled. |
Method | Description | |
---|---|---|
writeCountString ( integer $count, string $name, string $color, boolean $always = false ) |
public __construct ( mixed $out = null, boolean $verbose = false, string $colors = self::COLOR_DEFAULT, boolean $debug = false, integer | string $numberOfColumns = 80, boolean $reverse = false ) | ||
$out | mixed | |
$verbose | boolean | |
$colors | string | |
$debug | boolean | |
$numberOfColumns | integer | string | |
$reverse | boolean |
public addFailure ( PHPUnit_Framework_Test $test, PHPUnit_Framework_AssertionFailedError $e, float $time ) | ||
$test | PHPUnit_Framework_Test | |
$e | PHPUnit_Framework_AssertionFailedError | |
$time | float |
public addIncompleteTest ( PHPUnit_Framework_Test $test, Exception $e, float $time ) | ||
$test | PHPUnit_Framework_Test | |
$e | Exception | |
$time | float |
public addRiskyTest ( PHPUnit_Framework_Test $test, Exception $e, float $time ) | ||
$test | PHPUnit_Framework_Test | |
$e | Exception | |
$time | float |
public addSkippedTest ( PHPUnit_Framework_Test $test, Exception $e, float $time ) | ||
$test | PHPUnit_Framework_Test | |
$e | Exception | |
$time | float |
public addWarning ( PHPUnit_Framework_Test $test, PHPUnit_Framework_Warning $e, float $time ) | ||
$test | PHPUnit_Framework_Test | |
$e | PHPUnit_Framework_Warning | |
$time | float |
public endTestSuite ( PHPUnit_Framework_TestSuite $suite ) | ||
$suite | PHPUnit_Framework_TestSuite |
protected printDefect ( PHPUnit_Framework_TestFailure $defect, integer $count ) | ||
$defect | PHPUnit_Framework_TestFailure | |
$count | integer |
protected printDefectHeader ( PHPUnit_Framework_TestFailure $defect, integer $count ) | ||
$defect | PHPUnit_Framework_TestFailure | |
$count | integer |
protected printDefectTrace ( PHPUnit_Framework_TestFailure $defect ) | ||
$defect | PHPUnit_Framework_TestFailure |
protected printDefects ( array $defects, string $type ) | ||
$defects | array | |
$type | string |
protected printErrors ( PHPUnit_Framework_TestResult $result ) | ||
$result | PHPUnit_Framework_TestResult |
protected printFailures ( PHPUnit_Framework_TestResult $result ) | ||
$result | PHPUnit_Framework_TestResult |
protected printIncompletes ( PHPUnit_Framework_TestResult $result ) | ||
$result | PHPUnit_Framework_TestResult |
public printResult ( PHPUnit_Framework_TestResult $result ) | ||
$result | PHPUnit_Framework_TestResult |
protected printRisky ( PHPUnit_Framework_TestResult $result ) | ||
$result | PHPUnit_Framework_TestResult |
protected printSkipped ( PHPUnit_Framework_TestResult $result ) | ||
$result | PHPUnit_Framework_TestResult |
protected printWarnings ( PHPUnit_Framework_TestResult $result ) | ||
$result | PHPUnit_Framework_TestResult |
public startTest ( PHPUnit_Framework_Test $test ) | ||
$test | PHPUnit_Framework_Test |
public startTestSuite ( PHPUnit_Framework_TestSuite $suite ) | ||
$suite | PHPUnit_Framework_TestSuite |
protected writeProgressWithColor ( string $color, string $buffer ) | ||
$color | string | |
$buffer | string |