/** * @param string $message */ public function paintSkip($message) { parent::paintSkip($message); if (preg_match('!^(.*) at \\[(.+) line (\\d+)]$!', $message, $matches)) { $this->xmlWriter->writeError($matches[1], null, $matches[2], $matches[3], $matches[1]); } else { $this->xmlWriter->writeError($message); } }
/** * @param string $testName */ public function paintFooter($testName) { parent::paintFooter($testName); $this->xmlWriter->endTestSuites(); }