|
| | __construct ($out=null, bool $verbose=false, string $colors=self::COLOR_DEFAULT, bool $debug=false, $numberOfColumns=80, bool $reverse=false) |
| |
| | setOriginalExecutionOrder (array $order) |
| |
| | setShowProgressAnimation (bool $showProgress) |
| |
| | printResult (TestResult $result) |
| |
| | endTest (Test $test, float $time) |
| |
| | addError (Test $test, \Throwable $t, float $time) |
| |
| | addWarning (Test $test, Warning $e, float $time) |
| |
| | addFailure (Test $test, AssertionFailedError $e, float $time) |
| |
| | addIncompleteTest (Test $test, \Throwable $t, float $time) |
| |
| | addRiskyTest (Test $test, \Throwable $t, float $time) |
| |
| | addSkippedTest (Test $test, \Throwable $t, float $time) |
| |
| | writeProgress (string $progress) |
| |
| | flush () |
| |
| | startTestSuite (TestSuite $suite) |
| |
| | endTestSuite (TestSuite $suite) |
| |
| | startTest (Test $test) |
| |
| | __construct ($out=null) |
| |
| | incrementalFlush () |
| |
| | write (string $buffer) |
| |
| | getAutoFlush () |
| |
| | setAutoFlush (bool $autoFlush) |
| |
| | addWarning (Test $test, Warning $e, float $time) |
| |
|
| | registerTestResult (Test $test, ?\Throwable $t, int $status, float $time, bool $verbose) |
| |
| | formatTestName (Test $test) |
| |
| | formatClassName (Test $test) |
| |
| | testHasPassed () |
| |
| | flushOutputBuffer (bool $forceFlush=false) |
| |
| | showSpinner () |
| |
| | hideSpinner () |
| |
| | drawSpinner () |
| |
| | undrawSpinner () |
| |
| | writeTestResult (array $prevResult, array $result) |
| |
| | getEmptyTestResult () |
| |
| | getTestResultByName (?string $testName) |
| |
| | formatThrowable (\Throwable $t, ?int $status=null) |
| |
| | formatStacktrace (\Throwable $t) |
| |
| | formatTestResultMessage (\Throwable $t, array $result, string $prefix='│') |
| |
| | prefixLines (string $prefix, string $message) |
| |
| | 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) |
| |
| | writeNewLine () |
| |
| | colorizeTextBox (string $color, string $buffer) |
| |
| | writeWithColor (string $color, string $buffer, bool $lf=true) |
| |
| | writeProgressWithColor (string $color, string $buffer) |
| |
◆ __construct()
| PHPUnit\Util\TestDox\TestDoxPrinter::__construct |
( |
|
$out = null, |
|
|
bool |
$verbose = false, |
|
|
string |
$colors = self::COLOR_DEFAULT, |
|
|
bool |
$debug = false, |
|
|
|
$numberOfColumns = 80, |
|
|
bool |
$reverse = false |
|
) |
| |
◆ addError()
| PHPUnit\Util\TestDox\TestDoxPrinter::addError |
( |
Test |
$test, |
|
|
\Throwable |
$t, |
|
|
float |
$time |
|
) |
| |
◆ addFailure()
◆ addIncompleteTest()
| PHPUnit\Util\TestDox\TestDoxPrinter::addIncompleteTest |
( |
Test |
$test, |
|
|
\Throwable |
$t, |
|
|
float |
$time |
|
) |
| |
◆ addRiskyTest()
| PHPUnit\Util\TestDox\TestDoxPrinter::addRiskyTest |
( |
Test |
$test, |
|
|
\Throwable |
$t, |
|
|
float |
$time |
|
) |
| |
◆ addSkippedTest()
| PHPUnit\Util\TestDox\TestDoxPrinter::addSkippedTest |
( |
Test |
$test, |
|
|
\Throwable |
$t, |
|
|
float |
$time |
|
) |
| |
◆ addWarning()
| PHPUnit\Util\TestDox\TestDoxPrinter::addWarning |
( |
Test |
$test, |
|
|
Warning |
$e, |
|
|
float |
$time |
|
) |
| |
◆ drawSpinner()
| PHPUnit\Util\TestDox\TestDoxPrinter::drawSpinner |
( |
| ) |
|
|
protected |
◆ endTest()
| PHPUnit\Util\TestDox\TestDoxPrinter::endTest |
( |
Test |
$test, |
|
|
float |
$time |
|
) |
| |
◆ flush()
| PHPUnit\Util\TestDox\TestDoxPrinter::flush |
( |
| ) |
|
◆ flushOutputBuffer()
| PHPUnit\Util\TestDox\TestDoxPrinter::flushOutputBuffer |
( |
bool |
$forceFlush = false | ) |
|
|
protected |
◆ formatClassName()
| PHPUnit\Util\TestDox\TestDoxPrinter::formatClassName |
( |
Test |
$test | ) |
|
|
protected |
◆ formatStacktrace()
| PHPUnit\Util\TestDox\TestDoxPrinter::formatStacktrace |
( |
\Throwable |
$t | ) |
|
|
protected |
◆ formatTestName()
| PHPUnit\Util\TestDox\TestDoxPrinter::formatTestName |
( |
Test |
$test | ) |
|
|
protected |
◆ formatTestResultMessage()
| PHPUnit\Util\TestDox\TestDoxPrinter::formatTestResultMessage |
( |
\Throwable |
$t, |
|
|
array |
$result, |
|
|
string |
$prefix = '│' |
|
) |
| |
|
protected |
◆ formatThrowable()
| PHPUnit\Util\TestDox\TestDoxPrinter::formatThrowable |
( |
\Throwable |
$t, |
|
|
?int |
$status = null |
|
) |
| |
|
protected |
◆ getEmptyTestResult()
| PHPUnit\Util\TestDox\TestDoxPrinter::getEmptyTestResult |
( |
| ) |
|
|
protected |
◆ getTestResultByName()
| PHPUnit\Util\TestDox\TestDoxPrinter::getTestResultByName |
( |
?string |
$testName | ) |
|
|
protected |
◆ hideSpinner()
| PHPUnit\Util\TestDox\TestDoxPrinter::hideSpinner |
( |
| ) |
|
|
protected |
◆ prefixLines()
| PHPUnit\Util\TestDox\TestDoxPrinter::prefixLines |
( |
string |
$prefix, |
|
|
string |
$message |
|
) |
| |
|
protected |
◆ printResult()
| PHPUnit\Util\TestDox\TestDoxPrinter::printResult |
( |
TestResult |
$result | ) |
|
◆ registerTestResult()
| PHPUnit\Util\TestDox\TestDoxPrinter::registerTestResult |
( |
Test |
$test, |
|
|
?\Throwable |
$t, |
|
|
int |
$status, |
|
|
float |
$time, |
|
|
bool |
$verbose |
|
) |
| |
|
protected |
◆ setOriginalExecutionOrder()
| PHPUnit\Util\TestDox\TestDoxPrinter::setOriginalExecutionOrder |
( |
array |
$order | ) |
|
◆ setShowProgressAnimation()
| PHPUnit\Util\TestDox\TestDoxPrinter::setShowProgressAnimation |
( |
bool |
$showProgress | ) |
|
◆ showSpinner()
| PHPUnit\Util\TestDox\TestDoxPrinter::showSpinner |
( |
| ) |
|
|
protected |
◆ testHasPassed()
| PHPUnit\Util\TestDox\TestDoxPrinter::testHasPassed |
( |
| ) |
|
|
protected |
◆ undrawSpinner()
| PHPUnit\Util\TestDox\TestDoxPrinter::undrawSpinner |
( |
| ) |
|
|
protected |
◆ writeProgress()
| PHPUnit\Util\TestDox\TestDoxPrinter::writeProgress |
( |
string |
$progress | ) |
|
◆ writeTestResult()
| PHPUnit\Util\TestDox\TestDoxPrinter::writeTestResult |
( |
array |
$prevResult, |
|
|
array |
$result |
|
) |
| |
|
protected |
◆ $enableOutputBuffer
| PHPUnit\Util\TestDox\TestDoxPrinter::$enableOutputBuffer = false |
|
protected |
◆ $originalExecutionOrder
| PHPUnit\Util\TestDox\TestDoxPrinter::$originalExecutionOrder = [] |
|
protected |
◆ $prettifier
| PHPUnit\Util\TestDox\TestDoxPrinter::$prettifier |
|
protected |
◆ $showProgress
| PHPUnit\Util\TestDox\TestDoxPrinter::$showProgress = true |
|
protected |
◆ $spinState
| PHPUnit\Util\TestDox\TestDoxPrinter::$spinState = 0 |
|
protected |
◆ $testFlushIndex
| PHPUnit\Util\TestDox\TestDoxPrinter::$testFlushIndex = 0 |
|
protected |
◆ $testIndex
| PHPUnit\Util\TestDox\TestDoxPrinter::$testIndex = 0 |
|
protected |
◆ $testNameResultIndex
| PHPUnit\Util\TestDox\TestDoxPrinter::$testNameResultIndex = [] |
|
protected |
◆ $testResults
| PHPUnit\Util\TestDox\TestDoxPrinter::$testResults = [] |
|
protected |
The documentation for this class was generated from the following file: