function endTestSuite(PHPUnit_Framework_TestSuite $suite) { parent::endTestSuite($suite); $sb = "Tests run: " . $this->getRunCount(); $sb .= ", Failures: " . $this->getFailureCount(); $sb .= ", Errors: " . $this->getErrorCount(); $sb .= ", Time elapsed: " . $this->getElapsedTime(); $sb .= " sec\n"; if ($this->out != NULL) { $this->out->write($sb); $this->out->close(); } }
function endTestSuite(PHPUnit_Framework_TestSuite $suite) { $sb = "Testsuite: " . $suite->getName() . "\n"; $sb .= "Tests run: " . $this->getRunCount(); $sb .= ", Failures: " . $this->getFailureCount(); $sb .= ", Errors: " . $this->getErrorCount(); $sb .= ", Incomplete: " . $this->getIncompleteCount(); $sb .= ", Skipped: " . $this->getSkippedCount(); $sb .= ", Time elapsed: " . sprintf('%0.5f', $this->getElapsedTime()) . " s\n"; parent::endTestSuite($suite); if ($this->out != NULL) { $this->out->write($sb); $this->out->write($this->inner); } }
function endTestSuite(PHPUnit_Framework_TestSuite $suite) { parent::endTestSuite($suite); $this->logger->endTestSuite($suite); }