Пример #1
0
 /**
  *    Sends a single error to the reporter.
  *    @param SimpleReporter $reporter    Current test reporter.
  *    @access public
  */
 function run($reporter)
 {
     $reporter->paintGroupStart($this->getLabel(), $this->getSize());
     $reporter->incrementFailCount();
     $reporter->paintFail('Bad TestSuite [' . $this->getLabel() . '] with error [' . $this->error . ']');
     $reporter->paintGroupEnd($this->getLabel());
     return $reporter->getStatus();
 }