/** * 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"; }
/** * Called when an error (uncaught exception or PHP error) needs to be output. */ function paintError($message) { // Explicitly call grandparent, not parent::paintError. SimpleScorer::paintError($message); $this->_paintPassFail('exception', $message); }
/** * Paints a PHP error. * @param string $message Message is ignored. * @access public */ function paintError($message) { SimpleScorer::paintError($message); print "<span class=\"fail\"><b>EXCEPTION</b></span>: "; $breadcrumb = $this->getTestList(); array_shift($breadcrumb); print implode(" -> ", $breadcrumb); print " -> <strong>" . $this->_htmlEntities($message) . "</strong><br />\n"; }