| 7 drupal_web_test_case.php | protected DrupalTestCase::verbose($message) |
Logs verbose message in a text file.
The a link to the vebose message will be placed in the test results via as a passing assertion with the text '[verbose message]'.
Parameters
$message: The verbose message to be stored.
See also
File
- modules/
simpletest/ drupal_web_test_case.php, line 444
Code
protected function verbose($message) {
if ($id = simpletest_verbose($message)) {
$url = file_create_url($this->originalFileDirectory . '/simpletest/verbose/' . get_class($this) . '-' . $id . '.html');
$this->error(l(t('Verbose message'), $url, array('attributes' => array('target' => '_blank'))), 'User notice');
}
}
Login or register to post comments