コード例 #1
0
 /**
  * @param PHPUnit_Framework_TestResult $result
  */
 public function printResult(PHPUnit_Framework_TestResult $result)
 {
     $testDox = trim(Stagehand_TestRunner_Runner_PHPUnitRunner_TestDox::get(spl_object_hash($result)));
     if (strlen($testDox)) {
         $this->write("\n\n" . $testDox);
     }
     parent::printResult($result);
 }
コード例 #2
0
 /**
  * @param string $testDox
  * @since Method available since Release 2.10.0
  */
 protected function appendTestDox($testDox)
 {
     Stagehand_TestRunner_Runner_PHPUnitRunner_TestDox::append($this->resultID, $testDox);
 }