function DrupalReporter::paintPass in SimpleTest 6
Same name and namespace in other branches
- 5 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 56
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');
}