You are here

protected function RangeFieldWidgetBaseWebTestCase::assertNoFieldSuffix in Range 7

Asserts that a field suffix with a given text does not exist.

Parameters

string $suffix: Suffix text to search for.

string $message: Message to display.

Return value

bool TRUE on pass, FALSE on fail.

1 call to RangeFieldWidgetBaseWebTestCase::assertNoFieldSuffix()
RangeFieldWidgetTestCase::_testRangeFieldWidget in tests/range.field_widget.test
Helper method. Tests range field widget for a given range field type.

File

tests/range.base.test, line 315
Contains range base test classes.

Class

RangeFieldWidgetBaseWebTestCase
Base class for the range module's tests.

Code

protected function assertNoFieldSuffix($suffix, $message) {
  return $this
    ->assertNoFieldPropertyByText("//span[@class='field-suffix']", $suffix, $message);
}