Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 8.9.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
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
LinkItemSerializationTest::$serializer property core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php The serializer service.
LinkItemSerializationTest::setUp function core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php
LinkItemSerializationTest::testLinkDeserialization function core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php Tests the deserialization.
LinkItemSerializationTest::testLinkSerialization function core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php Tests the serialization.
LinkItemTest class core/modules/link/tests/src/Kernel/LinkItemTest.php Tests the new entity API for the link field type.
LinkItemTest.php file core/modules/link/tests/src/Kernel/LinkItemTest.php
LinkItemTest::$modules property core/modules/link/tests/src/Kernel/LinkItemTest.php
LinkItemTest::setUp function core/modules/link/tests/src/Kernel/LinkItemTest.php
LinkItemTest::testLinkItem function core/modules/link/tests/src/Kernel/LinkItemTest.php Tests using entity fields of the link field type.
LinkItemUrlValidationTest class core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php Tests link field validation.
LinkItemUrlValidationTest.php file core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php
LinkItemUrlValidationTest::$modules property core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php
LinkItemUrlValidationTest::getTestLinks function core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php Builds an array of links to test.
LinkItemUrlValidationTest::testExternalLinkValidation function core/modules/link/tests/src/Kernel/LinkItemUrlValidationTest.php Tests link validation.
LinkNotExistingInternalConstraintValidatorTest class core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @coversDefaultClass \Drupal\link\Plugin\Validation\Constraint\LinkNotExistingInternalConstraintValidator[[api-linebreak]]
@group Link
LinkNotExistingInternalConstraintValidatorTest.php file core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php
LinkNotExistingInternalConstraintValidatorTest::testValidateFromNonExistingRoute function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate[[api-linebreak]]
LinkNotExistingInternalConstraintValidatorTest::testValidateFromRoute function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate[[api-linebreak]]
LinkNotExistingInternalConstraintValidatorTest::testValidateFromUri function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate[[api-linebreak]]
LinkNotExistingInternalConstraintValidatorTest::testValidateWithMalformedUri function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php @covers ::validate[[api-linebreak]]
LinkNotExistingInternalConstraintValidatorTest::validate function core/modules/link/tests/src/Unit/Plugin/Validation/Constraint/LinkNotExistingInternalConstraintValidatorTest.php Validate the link.
LinkRelationsTest class core/tests/Drupal/KernelTests/Core/Http/LinkRelationsTest.php Tests link relationships in Drupal.
LinkRelationsTest.php file core/tests/Drupal/KernelTests/Core/Http/LinkRelationsTest.php
LinkRelationsTest::testAvailableLinkRelationships function core/tests/Drupal/KernelTests/Core/Http/LinkRelationsTest.php Tests correct Link Relations are returned from the Link Relation Type Manager.
LinkReplyTest class core/modules/comment/tests/src/Unit/Plugin/views/field/LinkReplyTest.php @coversDefaultClass \Drupal\comment\Plugin\views\field\LinkReply[[api-linebreak]]
@group comment
LinkReplyTest.php file core/modules/comment/tests/src/Unit/Plugin/views/field/LinkReplyTest.php
LinkReplyTest::setUp function core/modules/comment/tests/src/Unit/Plugin/views/field/LinkReplyTest.php
LinkReplyTest::testRenderNullEntity function core/modules/comment/tests/src/Unit/Plugin/views/field/LinkReplyTest.php Test the render method when getEntity returns NULL.
LinksetControllerMultiLingualTest class core/modules/system/tests/src/Functional/Menu/LinksetControllerMultiLingualTest.php Tests the behavior of the linkset controller in multilingual setup.
LinksetControllerMultiLingualTest.php file core/modules/system/tests/src/Functional/Menu/LinksetControllerMultiLingualTest.php
LinksetControllerMultiLingualTest::$authorAccount property core/modules/system/tests/src/Functional/Menu/LinksetControllerMultiLingualTest.php A user account to author test content.

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