You are here

protected function PHPUnit_TextUI_ResultPrinter::printErrors in Zircon Profile 8

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

Parameters

PHPUnit_Framework_TestResult $result:

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

File

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

Class

PHPUnit_TextUI_ResultPrinter
Prints the result of a TextUI TestRunner run.

Code

protected function printErrors(PHPUnit_Framework_TestResult $result) {
  $this
    ->printDefects($result
    ->errors(), 'error');
}