You are here

protected function SearchApiWebTest::assertText in Search API 7

Overrides DrupalWebTestCase::assertText().

Changes the default message to be just the text checked for.

Overrides DrupalWebTestCase::assertText

10 calls to SearchApiWebTest::assertText()
SearchApiWebTest::checkIndexingOrder in ./search_api.test
Tests whether items are indexed in the right order.
SearchApiWebTest::checkIndexStatus in ./search_api.test
Checks whether the index's "Status" tab shows the correct values.
SearchApiWebTest::checkOverview in ./search_api.test
Checks whether the server and index are correctly listed in the overview.
SearchApiWebTest::clearIndex in ./search_api.test
Tests whether clearing the index works correctly.
SearchApiWebTest::createIndex in ./search_api.test
Creates a test index via the UI and tests whether this works correctly.

... See full list

File

./search_api.test, line 32
Contains the SearchApiWebTest and the SearchApiUnitTest classes.

Class

SearchApiWebTest
Class for testing Search API functionality via the UI.

Code

protected function assertText($text, $message = '', $group = 'Other') {
  return parent::assertText($text, $message ? $message : $text, $group);
}