You are here

protected function PHPUnit_TextUI_ResultPrinter::printDefectHeader in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/TextUI/ResultPrinter.php \PHPUnit_TextUI_ResultPrinter::printDefectHeader()

Parameters

PHPUnit_Framework_TestFailure $defect:

int $count:

1 call to PHPUnit_TextUI_ResultPrinter::printDefectHeader()
PHPUnit_TextUI_ResultPrinter::printDefect in vendor/phpunit/phpunit/src/TextUI/ResultPrinter.php

File

vendor/phpunit/phpunit/src/TextUI/ResultPrinter.php, line 251

Class

PHPUnit_TextUI_ResultPrinter
Prints the result of a TextUI TestRunner run.

Code

protected function printDefectHeader(PHPUnit_Framework_TestFailure $defect, $count) {
  $this
    ->write(sprintf("\n%d) %s\n", $count, $defect
    ->getTestName()));
}