Beispiel #1
0
 /**
  * Paints the test pass with a breadcrumbs
  * trail of the nesting test suites below the
  * top level test.
  *
  * @param string $message Pass message displayed in the context of the other tests.
  * @return void
  * @access public
  */
 function paintPass($message)
 {
     parent::paintPass($message);
     if (isset($this->params['show_passes']) && $this->params['show_passes']) {
         echo "<li class='pass'>\n";
         echo "<span>Passed</span> ";
         $breadcrumb = $this->getTestList();
         array_shift($breadcrumb);
         echo implode(" -&gt; ", $breadcrumb);
         echo "<br />" . $this->_htmlEntities($message) . "\n";
         echo "</li>\n";
     }
 }