You are here

protected function PHPUnit_Util_TestDox_ResultPrinter::doEndClass in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Util/TestDox/ResultPrinter.php \PHPUnit_Util_TestDox_ResultPrinter::doEndClass()

@since Method available since Release 2.3.0

2 calls to PHPUnit_Util_TestDox_ResultPrinter::doEndClass()
PHPUnit_Util_TestDox_ResultPrinter::flush in vendor/phpunit/phpunit/src/Util/TestDox/ResultPrinter.php
Flush buffer and close output.
PHPUnit_Util_TestDox_ResultPrinter::startTest in vendor/phpunit/phpunit/src/Util/TestDox/ResultPrinter.php
A test started.

File

vendor/phpunit/phpunit/src/Util/TestDox/ResultPrinter.php, line 280

Class

PHPUnit_Util_TestDox_ResultPrinter
Base class for printers of TestDox documentation.

Code

protected function doEndClass() {
  foreach ($this->tests as $name => $data) {
    $this
      ->onTest($name, $data['failure'] == 0);
  }
  $this
    ->endClass($this->testClass);
}