Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 10.3.x for test
  4. Search 11.x for test
  5. Search main for test
  6. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Test class core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php Provides test media source.
Test class core/modules/system/tests/modules/test_page_test/src/Controller/Test.php Defines a test controller for page titles.

All search results

Title Object type File name Summary
SearchCommentTest::testAddNewComment function core/modules/search/tests/src/Functional/SearchCommentTest.php Verify that 'add new comment' does not appear in search results or index.
SearchCommentTest::testSearchResultsComment function core/modules/search/tests/src/Functional/SearchCommentTest.php Verify that comments are rendered using proper format in search results.
SearchCommentTest::testSearchResultsCommentAccess function core/modules/search/tests/src/Functional/SearchCommentTest.php Verify access rules for comment indexing with different permissions.
SearchConfigSettingsFormTest class core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php Verify the search config settings form.
SearchConfigSettingsFormTest.php file core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php
SearchConfigSettingsFormTest::$defaultTheme property core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php The theme to install as the default for testing.
SearchConfigSettingsFormTest::$modules property core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php Modules to enable.
SearchConfigSettingsFormTest::$searchNode property core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php Node indexed for searching.
SearchConfigSettingsFormTest::$searchUser property core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php User who can search and administer search.
SearchConfigSettingsFormTest::assertDefaultSearch function core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php Checks that the default search page matches expectations.
SearchConfigSettingsFormTest::setDefaultThroughUi function core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php Sets a search page as the default in the UI.
SearchConfigSettingsFormTest::setUp function core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php
SearchConfigSettingsFormTest::testDefaultSearchPageOrdering function core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php Tests the ordering of search pages on a clean install.
SearchConfigSettingsFormTest::testMultipleSearchPages function core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php Tests multiple search pages of the same type.
SearchConfigSettingsFormTest::testRouteProtection function core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php Tests that the enable/disable/default routes are protected from CSRF.
SearchConfigSettingsFormTest::testSearchModuleDisabling function core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php Verifies that you can disable individual search plugins.
SearchConfigSettingsFormTest::testSearchModuleSettingsPage function core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php Verifies plugin-supplied settings form.
SearchConfigSettingsFormTest::testSearchSettingsPage function core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php Verifies the search settings form.
SearchConfigSettingsFormTest::verifySearchPageOperations function core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php Checks that the search page operations match expectations.
SearchDateIntervalTest class core/modules/search/tests/src/Functional/SearchDateIntervalTest.php Tests searching with date filters that exclude some translations.
SearchDateIntervalTest.php file core/modules/search/tests/src/Functional/SearchDateIntervalTest.php
SearchDateIntervalTest::$defaultTheme property core/modules/search/tests/src/Functional/SearchDateIntervalTest.php The theme to install as the default for testing.
SearchDateIntervalTest::$modules property core/modules/search/tests/src/Functional/SearchDateIntervalTest.php Modules to enable.
SearchDateIntervalTest::setUp function core/modules/search/tests/src/Functional/SearchDateIntervalTest.php
SearchDateIntervalTest::testDateIntervalQueryAlter function core/modules/search/tests/src/Functional/SearchDateIntervalTest.php Tests searching with date filters that exclude some translations.
SearchDeprecationTest class core/modules/search/tests/src/Kernel/SearchDeprecationTest.php Tests deprecated search methods.
SearchDeprecationTest.php file core/modules/search/tests/src/Kernel/SearchDeprecationTest.php
SearchDeprecationTest::$modules property core/modules/search/tests/src/Kernel/SearchDeprecationTest.php Modules to enable.
SearchDeprecationTest::setUp function core/modules/search/tests/src/Kernel/SearchDeprecationTest.php
SearchDeprecationTest::testClear function core/modules/search/tests/src/Kernel/SearchDeprecationTest.php @expectedDeprecation search_index_clear() is deprecated in drupal:8.8.0 and is removed in drupal:9.0.0. Use \Drupal\search\SearchIndex::clear() instead. See https://www.drupal.org/node/3075696
SearchDeprecationTest::testDirty function core/modules/search/tests/src/Kernel/SearchDeprecationTest.php @expectedDeprecation search_dirty() is deprecated in drupal:8.8.0 and is removed in drupal:9.0.0. Use custom implementation of \Drupal\search\SearchIndexInterface instead. See https://www.drupal.org/node/3075696
SearchDeprecationTest::testIndex function core/modules/search/tests/src/Kernel/SearchDeprecationTest.php @expectedDeprecation search_index() is deprecated in drupal:8.8.0 and is removed in drupal:9.0.0. Use \Drupal\search\SearchIndex::index() instead. See https://www.drupal.org/node/3075696
SearchDeprecationTest::testMarkForReindex function core/modules/search/tests/src/Kernel/SearchDeprecationTest.php @expectedDeprecation search_mark_for_reindex() is deprecated in drupal:8.8.0 and is removed in drupal:9.0.0. Use \Drupal\search\SearchIndex::markForReindex() instead. See https://www.drupal.org/node/3075696
SearchDeprecationTest::testUpdateTotals function core/modules/search/tests/src/Kernel/SearchDeprecationTest.php @expectedDeprecation search_update_totals() is deprecated in drupal:8.8.0 and is removed in drupal:9.0.0. Use custom implementation of \Drupal\search\SearchIndexInterface instead. See https://www.drupal.org/node/3075696
SearchEmbedFormTest class core/modules/search/tests/src/Functional/SearchEmbedFormTest.php Verifies that a form embedded in search results works.
SearchEmbedFormTest.php file core/modules/search/tests/src/Functional/SearchEmbedFormTest.php
SearchEmbedFormTest::$defaultTheme property core/modules/search/tests/src/Functional/SearchEmbedFormTest.php The theme to install as the default for testing.
SearchEmbedFormTest::$modules property core/modules/search/tests/src/Functional/SearchEmbedFormTest.php Modules to enable.
SearchEmbedFormTest::$node property core/modules/search/tests/src/Functional/SearchEmbedFormTest.php Node used for testing.
SearchEmbedFormTest::$submitCount property core/modules/search/tests/src/Functional/SearchEmbedFormTest.php Count of how many times the form has been submitted.
SearchEmbedFormTest::setUp function core/modules/search/tests/src/Functional/SearchEmbedFormTest.php
SearchEmbedFormTest::testEmbeddedForm function core/modules/search/tests/src/Functional/SearchEmbedFormTest.php Tests that the embedded form appears and can be submitted.
SearchExactTest class core/modules/search/tests/src/Functional/SearchExactTest.php Tests that searching for a phrase gets the correct page count.
SearchExactTest.php file core/modules/search/tests/src/Functional/SearchExactTest.php
SearchExactTest::$defaultTheme property core/modules/search/tests/src/Functional/SearchExactTest.php The theme to install as the default for testing.
SearchExactTest::$modules property core/modules/search/tests/src/Functional/SearchExactTest.php Modules to enable.
SearchExactTest::testExactQuery function core/modules/search/tests/src/Functional/SearchExactTest.php Tests that the correct number of pager links are found for both keywords and phrases.
SearchExcerptTest class core/modules/search/tests/src/Kernel/SearchExcerptTest.php Tests the search_excerpt() function.
SearchExcerptTest.php file core/modules/search/tests/src/Kernel/SearchExcerptTest.php
SearchExcerptTest::$modules property core/modules/search/tests/src/Kernel/SearchExcerptTest.php Modules to enable.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.