function DrupalErrorHandlerTestCase::assertNoErrorMessage
Helper function: assert that the error message is not found.
2 calls to DrupalErrorHandlerTestCase::assertNoErrorMessage()
- DrupalErrorHandlerTestCase::testErrorHandler in drupal-7.x/
modules/ simpletest/ tests/ error.test - Test the error handler.
- DrupalErrorHandlerTestCase::testErrorHandler in drupal-7.x/
modules/ simpletest/ tests/ error.test - Test the error handler.
Archivo
- drupal-7.x/
modules/ simpletest/ tests/ error.test, line 111
Class
- DrupalErrorHandlerTestCase
- Tests Drupal error and exception handlers.
Código
function assertNoErrorMessage(array $error) {
$message = t('%type: !message in %function (line ', $error);
$this->assertNoRaw($message, format_string('Did not find error message: !message.', array('!message' => $message)));
}