Tests for search.module.

File

core/modules/search/tests/search.test

Constants

Classes

Namesort ascending Description
SearchTokenizerTestCase Test the CJK tokenizer.
SearchSimplifyTestCase Test search_simplify() on every Unicode character, and some other cases.
SearchSetLocaleTest Tests searching with locale values set.
SearchRankingTestCase Indexes content and tests ranking factors.
SearchPageText Tests the bike shed text on no results page, and text on the search page.
SearchPageOverride Tests that hook_search_page runs.
SearchNumbersTestCase Tests that numbers can be searched.
SearchNumberMatchingTestCase Tests that numbers can be searched, with more complex matching.
SearchNodeAccessTest Tests node search with node access control.
SearchMatchTestCase Indexes content and queries it.
SearchLanguageTestCase Test node search with multiple languages.
SearchKeywordsConditions Tests keywords and conditions.
SearchExpressionInsertExtractTestCase Tests search_expression_insert() and search_expression_extract().
SearchExcerptTestCase Tests the search_excerpt() function.
SearchExactTestCase Tests that searching for a phrase gets the correct page count.
SearchEmbedForm Tests that we can embed a form in search results and submit it.
SearchConfigSettingsForm Test config page.
SearchCommentTestCase Test integration searching comments.
SearchCommentCountToggleTestCase Tests that comment count display toggles properly on comment status of node
SearchBlockTestCase Tests the rendering of the search block.
SearchAdvancedSearchForm Indexes content and tests the advanced search form.