You are here

function DrupalReporter::paintPass in SimpleTest 5

Same name and namespace in other branches
  1. 6 drupal_reporter.php \DrupalReporter::paintPass()

Paints the test passes

@access public

Parameters

string $message Failure message displayed in: the context of the other tests.

File

./drupal_reporter.php, line 55

Class

DrupalReporter
Minimal drupal displayer. Accumulates output to $_output. Based on HtmlReporter by Marcus Baker

Code

function paintPass($message) {
  parent::paintPass($message);
  $this->test_stack[] = array(
    'data' => array(
      $this
        ->_htmlEntities($message),
      'OK',
    ),
    'class' => 'simpletest-pass',
  );

  //$this->writeContent($this->_htmlEntities($message). ' OK', NULL, 'simpletest-pass');
}