function DrupalReporter::paintFail in SimpleTest 6
Same name and namespace in other branches
- 5 drupal_reporter.php \DrupalReporter::paintFail()
Paints the test failure with a breadcrumbs trail of the nesting test suites below the top level test.
@access public
Parameters
string $message Failure message displayed in: the context of the other tests.
File
- ./drupal_reporter.php, line 73 
Class
- DrupalReporter
- Minimal drupal displayer. Accumulates output to $_output. Based on HtmlReporter by Marcus Baker
Code
function paintFail($message) {
  parent::paintFail($message);
  $this->test_stack[] = array(
    'data' => array(
      $this
        ->_htmlEntities($message),
      'FAIL',
    ),
    'class' => 'simpletest-fail',
  );
  //$this->writeContent($this->_htmlEntities($message). ' FAIL', NULL, 'simpletest-fail');
}