public function PHPUnit_Util_Log_TAP::endTestSuite in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit/src/Util/Log/TAP.php \PHPUnit_Util_Log_TAP::endTestSuite()
A testsuite ended.
Parameters
PHPUnit_Framework_TestSuite $suite:
Overrides PHPUnit_Framework_TestListener::endTestSuite
File
- vendor/phpunit/ phpunit/ src/ Util/ Log/ TAP.php, line 170 
Class
- PHPUnit_Util_Log_TAP
- A TestListener that generates a logfile of the test execution using the Test Anything Protocol (TAP).
Code
public function endTestSuite(PHPUnit_Framework_TestSuite $suite) {
  $this->testSuiteLevel--;
  if ($this->testSuiteLevel == 0) {
    $this
      ->write(sprintf("1..%d\n", $this->testNumber));
  }
}