コード例 #1
0
 function endTestSuite(PHPUnit2_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();
     }
 }
コード例 #2
0
 function endTestRun()
 {
     parent::endTestRun();
     if ($this->out != NULL) {
         $this->out->close();
     }
 }
コード例 #3
0
 function endTestRun()
 {
     parent::endTestRun();
     if ($this->out) {
         $this->out->write($this->logger->getXML());
         $this->out->close();
     }
 }