function FieldUIManageDisplayTestCase::assertNodeViewNoText
7.x field_ui.test | FieldUIManageDisplayTestCase::assertNodeViewNoText($node, $view_mode, $text, $message) |
Asserts that a string is not found in the rendered node in a view mode.
Parameters
$node: The node.
$view_mode: The view mode in which the node should be displayed.
$text: Plain text to look for.
$message: Message to display.
Return value
TRUE on pass, FALSE on fail.
1 call to FieldUIManageDisplayTestCase::assertNodeViewNoText()
- FieldUIManageDisplayTestCase::testViewModeCustom in drupal-7.x/
modules/ field_ui/ field_ui.test - Tests switching view modes to use custom or 'default' settings'.
File
- drupal-7.x/
modules/ field_ui/ field_ui.test, line 619 - Tests for field_ui.module.
Class
- FieldUIManageDisplayTestCase
- Tests the functionality of the 'Manage display' screens.
Code
function assertNodeViewNoText($node, $view_mode, $text, $message) {
return $this->assertNodeViewTextHelper($node, $view_mode, $text, $message, TRUE);
}