Skip navigation
Help

DrupalTestCase::verbose

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

simpletest_verbose()

13 calls to DrupalTestCase::verbose()

File

drupal/modules/simpletest/drupal_web_test_case.php, line 424

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');
  }
}