|
| __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) |
|
| __construct ($out=null) |
|
| flush () |
|
| incrementalFlush () |
|
| write (string $buffer) |
|
| getAutoFlush () |
|
| setAutoFlush (bool $autoFlush) |
|
| addWarning (Test $test, Warning $e, float $time) |
|
◆ __construct()
PHPUnit\TextUI\ResultPrinter::__construct |
( |
|
$out = null , |
|
|
bool |
$verbose = false , |
|
|
string |
$colors = self::COLOR_DEFAULT , |
|
|
bool |
$debug = false , |
|
|
|
$numberOfColumns = 80 , |
|
|
bool |
$reverse = false |
|
) |
| |
◆ addError()
PHPUnit\TextUI\ResultPrinter::addError |
( |
Test |
$test, |
|
|
\Throwable |
$t, |
|
|
float |
$time |
|
) |
| |
◆ addFailure()
◆ addIncompleteTest()
PHPUnit\TextUI\ResultPrinter::addIncompleteTest |
( |
Test |
$test, |
|
|
\Throwable |
$t, |
|
|
float |
$time |
|
) |
| |
◆ addRiskyTest()
PHPUnit\TextUI\ResultPrinter::addRiskyTest |
( |
Test |
$test, |
|
|
\Throwable |
$t, |
|
|
float |
$time |
|
) |
| |
◆ addSkippedTest()
PHPUnit\TextUI\ResultPrinter::addSkippedTest |
( |
Test |
$test, |
|
|
\Throwable |
$t, |
|
|
float |
$time |
|
) |
| |
◆ addWarning()
PHPUnit\TextUI\ResultPrinter::addWarning |
( |
Test |
$test, |
|
|
Warning |
$e, |
|
|
float |
$time |
|
) |
| |
◆ colorizeTextBox()
PHPUnit\TextUI\ResultPrinter::colorizeTextBox |
( |
string |
$color, |
|
|
string |
$buffer |
|
) |
| |
|
protected |
Formats a buffer with a specified ANSI color sequence if colors are enabled.
◆ endTest()
PHPUnit\TextUI\ResultPrinter::endTest |
( |
Test |
$test, |
|
|
float |
$time |
|
) |
| |
◆ endTestSuite()
PHPUnit\TextUI\ResultPrinter::endTestSuite |
( |
TestSuite |
$suite | ) |
|
◆ printDefect()
PHPUnit\TextUI\ResultPrinter::printDefect |
( |
TestFailure |
$defect, |
|
|
int |
$count |
|
) |
| |
|
protected |
◆ printDefectHeader()
PHPUnit\TextUI\ResultPrinter::printDefectHeader |
( |
TestFailure |
$defect, |
|
|
int |
$count |
|
) |
| |
|
protected |
◆ printDefects()
PHPUnit\TextUI\ResultPrinter::printDefects |
( |
array |
$defects, |
|
|
string |
$type |
|
) |
| |
|
protected |
◆ printDefectTrace()
PHPUnit\TextUI\ResultPrinter::printDefectTrace |
( |
TestFailure |
$defect | ) |
|
|
protected |
◆ printErrors()
PHPUnit\TextUI\ResultPrinter::printErrors |
( |
TestResult |
$result | ) |
|
|
protected |
◆ printFailures()
PHPUnit\TextUI\ResultPrinter::printFailures |
( |
TestResult |
$result | ) |
|
|
protected |
◆ printFooter()
PHPUnit\TextUI\ResultPrinter::printFooter |
( |
TestResult |
$result | ) |
|
|
protected |
◆ printHeader()
PHPUnit\TextUI\ResultPrinter::printHeader |
( |
TestResult |
$result | ) |
|
|
protected |
◆ printIncompletes()
PHPUnit\TextUI\ResultPrinter::printIncompletes |
( |
TestResult |
$result | ) |
|
|
protected |
◆ printResult()
PHPUnit\TextUI\ResultPrinter::printResult |
( |
TestResult |
$result | ) |
|
◆ printRisky()
PHPUnit\TextUI\ResultPrinter::printRisky |
( |
TestResult |
$result | ) |
|
|
protected |
◆ printSkipped()
PHPUnit\TextUI\ResultPrinter::printSkipped |
( |
TestResult |
$result | ) |
|
|
protected |
◆ printWarnings()
PHPUnit\TextUI\ResultPrinter::printWarnings |
( |
TestResult |
$result | ) |
|
|
protected |
◆ startTest()
PHPUnit\TextUI\ResultPrinter::startTest |
( |
Test |
$test | ) |
|
◆ startTestSuite()
PHPUnit\TextUI\ResultPrinter::startTestSuite |
( |
TestSuite |
$suite | ) |
|
◆ writeNewLine()
PHPUnit\TextUI\ResultPrinter::writeNewLine |
( |
| ) |
|
|
protected |
◆ writeProgress()
PHPUnit\TextUI\ResultPrinter::writeProgress |
( |
string |
$progress | ) |
|
|
protected |
◆ writeProgressWithColor()
PHPUnit\TextUI\ResultPrinter::writeProgressWithColor |
( |
string |
$color, |
|
|
string |
$buffer |
|
) |
| |
|
protected |
Writes progress with a color sequence if colors are enabled.
◆ writeWithColor()
PHPUnit\TextUI\ResultPrinter::writeWithColor |
( |
string |
$color, |
|
|
string |
$buffer, |
|
|
bool |
$lf = true |
|
) |
| |
|
protected |
Writes a buffer out with a color sequence if colors are enabled.
◆ $colors
PHPUnit\TextUI\ResultPrinter::$colors = false |
|
protected |
◆ $column
PHPUnit\TextUI\ResultPrinter::$column = 0 |
|
protected |
◆ $debug
PHPUnit\TextUI\ResultPrinter::$debug = false |
|
protected |
◆ $lastTestFailed
PHPUnit\TextUI\ResultPrinter::$lastTestFailed = false |
|
protected |
◆ $maxColumn
PHPUnit\TextUI\ResultPrinter::$maxColumn |
|
protected |
◆ $numAssertions
PHPUnit\TextUI\ResultPrinter::$numAssertions = 0 |
|
protected |
◆ $numTests
PHPUnit\TextUI\ResultPrinter::$numTests = -1 |
|
protected |
◆ $numTestsRun
PHPUnit\TextUI\ResultPrinter::$numTestsRun = 0 |
|
protected |
◆ $numTestsWidth
PHPUnit\TextUI\ResultPrinter::$numTestsWidth |
|
protected |
◆ $verbose
PHPUnit\TextUI\ResultPrinter::$verbose = false |
|
protected |
◆ COLOR_ALWAYS
const PHPUnit\TextUI\ResultPrinter::COLOR_ALWAYS = 'always' |
◆ COLOR_AUTO
const PHPUnit\TextUI\ResultPrinter::COLOR_AUTO = 'auto' |
◆ COLOR_DEFAULT
const PHPUnit\TextUI\ResultPrinter::COLOR_DEFAULT = self::COLOR_NEVER |
◆ COLOR_NEVER
const PHPUnit\TextUI\ResultPrinter::COLOR_NEVER = 'never' |
◆ EVENT_TEST_END
const PHPUnit\TextUI\ResultPrinter::EVENT_TEST_END = 1 |
◆ EVENT_TEST_START
const PHPUnit\TextUI\ResultPrinter::EVENT_TEST_START = 0 |
◆ EVENT_TESTSUITE_END
const PHPUnit\TextUI\ResultPrinter::EVENT_TESTSUITE_END = 3 |
◆ EVENT_TESTSUITE_START
const PHPUnit\TextUI\ResultPrinter::EVENT_TESTSUITE_START = 2 |
The documentation for this class was generated from the following file: