public paintError ( string $message ) | ||
$message | string | Text of error formatted by the test case. |
public function paintError($message)
{
$this->exceptions++;
}
/** * Paints a PHP error. * @param string $message Message is ignored. */ public function paintError($message) { // Explicitly call grandparent, not HtmlReporter::paintError. SimpleScorer::paintError($message); print "<span class=\"fail\">Exception</span>: <br />\n"; $breadcrumb = $this->getTestList(); array_shift($breadcrumb); print implode(" -> ", $breadcrumb); print "<br />\n<strong>" . $this->htmlEntities($message) . "</strong><br />\n"; print "<pre>\n"; }