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. 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
LinkFieldUITest::$adminUser property core/modules/link/tests/src/Functional/LinkFieldUITest.php A user that can edit content types.
LinkFieldUITest::$defaultTheme property core/modules/link/tests/src/Functional/LinkFieldUITest.php The theme to install as the default for testing.
LinkFieldUITest::$firstContentType property core/modules/link/tests/src/Functional/LinkFieldUITest.php The first content type to add fields to.
LinkFieldUITest::$helpTextUser property core/modules/link/tests/src/Functional/LinkFieldUITest.php A user that should see the help texts.
LinkFieldUITest::$modules property core/modules/link/tests/src/Functional/LinkFieldUITest.php Modules to enable.
LinkFieldUITest::$secondContentType property core/modules/link/tests/src/Functional/LinkFieldUITest.php The second content type to add fields to.
LinkFieldUITest::assertFieldContainsRawText function core/modules/link/tests/src/Functional/LinkFieldUITest.php Checks that given field contains the given raw text.
LinkFieldUITest::assertNoFieldContainsRawText function core/modules/link/tests/src/Functional/LinkFieldUITest.php Checks that given field does not contain the given raw text.
LinkFieldUITest::getFieldHtml function core/modules/link/tests/src/Functional/LinkFieldUITest.php Returns the raw HTML for the given field.
LinkFieldUITest::providerTestFieldUI function core/modules/link/tests/src/Functional/LinkFieldUITest.php Provides test data for ::testFieldUI().
LinkFieldUITest::runFieldUIItem function core/modules/link/tests/src/Functional/LinkFieldUITest.php Tests one link field UI item.
LinkFieldUITest::setUp function core/modules/link/tests/src/Functional/LinkFieldUITest.php
LinkFieldUITest::testFieldUI function core/modules/link/tests/src/Functional/LinkFieldUITest.php Tests the link field UI.
LinkGenerationTest class core/tests/Drupal/KernelTests/Core/Url/LinkGenerationTest.php Tests link generation with hooks.
LinkGenerationTest.php file core/tests/Drupal/KernelTests/Core/Url/LinkGenerationTest.php
LinkGenerationTest::$modules property core/tests/Drupal/KernelTests/Core/Url/LinkGenerationTest.php Modules to enable.
LinkGenerationTest::testHookLinkAlter function core/tests/Drupal/KernelTests/Core/Url/LinkGenerationTest.php Tests how hook_link_alter() can affect escaping of the link text.
LinkGeneratorTest class core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php @coversDefaultClass \Drupal\Core\Utility\LinkGenerator[[api-linebreak]]
@group Utility
LinkGeneratorTest.php file core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php
LinkGeneratorTest::$defaultOptions property core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Contains the LinkGenerator default options.
LinkGeneratorTest::$linkGenerator property core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php The tested link generator.
LinkGeneratorTest::$moduleHandler property core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php The mocked module handler.
LinkGeneratorTest::$renderer property core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php The mocked renderer service.
LinkGeneratorTest::$urlAssembler property core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php The mocked URL Assembler service.
LinkGeneratorTest::$urlGenerator property core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php The mocked url generator.
LinkGeneratorTest::assertLink function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Checks that a link with certain properties exists in a given HTML snippet.
LinkGeneratorTest::assertNoXPathResults function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Checks that the given XPath query has no results in a given HTML snippet.
LinkGeneratorTest::providerTestGenerateHrefs function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Provides test data for testing the link method.
LinkGeneratorTest::setUp function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php
LinkGeneratorTest::testGenerate function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the generate() method with a route.
LinkGeneratorTest::testGenerateActive function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the active class on the link method.
LinkGeneratorTest::testGenerateAttributes function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the link method with additional attributes.
LinkGeneratorTest::testGenerateBubbleableMetadata function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the LinkGenerator's support for collecting bubbleable metadata.
LinkGeneratorTest::testGenerateButton function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the generate() method with the <button> route.
LinkGeneratorTest::testGenerateExternal function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the generate() method with an external URL.
LinkGeneratorTest::testGenerateHrefs function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the link method with certain hrefs.
LinkGeneratorTest::testGenerateNoLink function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the generate() method with the <nolink> route.
LinkGeneratorTest::testGenerateNone function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the generate() method with the <none> route.
LinkGeneratorTest::testGenerateOptions function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the link method with arbitrary passed options.
LinkGeneratorTest::testGenerateParametersAsQuery function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the link method with passed query options via parameters.
LinkGeneratorTest::testGenerateQuery function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the link method with passed query options.
LinkGeneratorTest::testGenerateTwice function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests whether rendering the same link twice works.
LinkGeneratorTest::testGenerateUrlWithQuotes function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the generate() method with a url containing double quotes.
LinkGeneratorTest::testGenerateWithAlterHook function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests altering the URL object using hook_link_alter().
LinkGeneratorTest::testGenerateWithHtml function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the link method with html.
LinkGeneratorTest::testGenerateXss function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Tests the link method with a script tab.
LinkItemSerializationTest class core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php Tests link field serialization.
LinkItemSerializationTest.php file core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php
LinkItemSerializationTest::$modules property core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php Modules to enable.
LinkItemSerializationTest::$serializer property core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php The serializer service.

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