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 10.3.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
AliasManagerTest::testGetAliasByPathException function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath method exception.
AliasManagerTest::testGetAliasByPathMatch function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath method for a path that has a matching alias.
AliasManagerTest::testGetAliasByPathNoMatch function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath method for a path that has no matching alias.
AliasManagerTest::testGetAliasByPathPrefixList function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath method for a path that is not in the prefix list.
AliasManagerTest::testGetAliasByPathUncachedMissNoAlias function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath cache with an un-preloaded path without alias.
AliasManagerTest::testGetAliasByPathUncachedMissWithAlias function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getAliasByPath cache with an un-preloaded path with alias.
AliasManagerTest::testGetPathByAliasLangcode function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getPathByAlias method when a langcode is passed explicitly.
AliasManagerTest::testGetPathByAliasMatch function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getPathByAlias method for an alias that have a matching path.
AliasManagerTest::testGetPathByAliasNoMatch function core/modules/path_alias/tests/src/Unit/AliasManagerTest.php Tests the getPathByAlias method for an alias that have no matching path.
AliasPathProcessorTest class core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php @coversDefaultClass \Drupal\path_alias\PathProcessor\AliasPathProcessor
@group PathProcessor
@group path_alias
AliasPathProcessorTest.php file core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php
AliasPathProcessorTest::$aliasManager property core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php The mocked alias manager.
AliasPathProcessorTest::$pathProcessor property core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php The tested path processor.
AliasPathProcessorTest::providerTestProcessOutbound function core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php
AliasPathProcessorTest::setUp function core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php
AliasPathProcessorTest::testProcessInbound function core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php Tests the processInbound method.
AliasPathProcessorTest::testProcessOutbound function core/modules/path_alias/tests/src/Unit/PathProcessor/AliasPathProcessorTest.php @covers ::processOutbound
AliasTest class core/modules/path_alias/tests/src/Kernel/AliasTest.php Tests path alias CRUD and lookup functionality.
AliasTest.php file core/modules/path_alias/tests/src/Kernel/AliasTest.php
AliasTest::$modules property core/modules/path_alias/tests/src/Kernel/AliasTest.php Modules to install.
AliasTest::setUp function core/modules/path_alias/tests/src/Kernel/AliasTest.php
AliasTest::testLookupByAlias function core/modules/path_alias/tests/src/Kernel/AliasTest.php @covers ::lookupByAlias
AliasTest::testLookupBySystemPath function core/modules/path_alias/tests/src/Kernel/AliasTest.php @covers ::lookupBySystemPath
AliasTest::testLookupPath function core/modules/path_alias/tests/src/Kernel/AliasTest.php @covers \Drupal\path_alias\AliasManager::getPathByAlias
@covers \Drupal\path_alias\AliasManager::getAliasByPath
AliasTest::testPrefixList function core/modules/path_alias/tests/src/Kernel/AliasTest.php Tests the alias prefix.
AliasTest::testPrefixListCacheDeletionMidRequest function core/modules/path_alias/tests/src/Kernel/AliasTest.php Tests situation where the prefix list cache is deleted mid-request.
AliasTest::testPreloadPathAlias function core/modules/path_alias/tests/src/Kernel/AliasTest.php @covers ::preloadPathAlias
AlignmentPluginTest class core/modules/ckeditor5/tests/src/Unit/AlignmentPluginTest.php @coversDefaultClass \Drupal\ckeditor5\Plugin\CKEditor5Plugin\Alignment
@group ckeditor5
@internal
AlignmentPluginTest.php file core/modules/ckeditor5/tests/src/Unit/AlignmentPluginTest.php
AlignmentPluginTest::providerGetDynamicPluginConfig function core/modules/ckeditor5/tests/src/Unit/AlignmentPluginTest.php Provides a list of configs to test.
AlignmentPluginTest::testGetDynamicPluginConfig function core/modules/ckeditor5/tests/src/Unit/AlignmentPluginTest.php @covers ::getDynamicPluginConfig
@dataProvider providerGetDynamicPluginConfig
AllowedValuesConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php Tests AllowedValues validation constraint with both valid and invalid values.
AllowedValuesConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php
AllowedValuesConstraintValidatorTest::$typedData property core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php The typed data manager to use.
AllowedValuesConstraintValidatorTest::allowedValueCallback function core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php An AllowedValueConstraint callback.
AllowedValuesConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php
AllowedValuesConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php Tests the AllowedValues validation constraint validator.
AllowedValuesConstraintValidatorTest::testValidationCallback function core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php Tests the AllowedValuesConstraintValidator with callbacks.
AllowedValuesConstraintValidatorTest::testValidationCallbackException function core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php Tests the AllowedValuesConstraintValidator with an invalid callback.
AllowToolbarPathTest class core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php @coversDefaultClass \Drupal\toolbar\PageCache\AllowToolbarPath
@group toolbar
AllowToolbarPathTest.php file core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php
AllowToolbarPathTest::$policy property core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php The toolbar path policy under test.
AllowToolbarPathTest::providerTestAllowToolbarPath function core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php Provides data and expected results for the test method.
AllowToolbarPathTest::setUp function core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php
AllowToolbarPathTest::testAllowToolbarPath function core/modules/toolbar/tests/src/Unit/PageCache/AllowToolbarPathTest.php Asserts that caching is allowed if the request goes to toolbar subtree.
AlterTest class core/tests/Drupal/KernelTests/Core/Database/AlterTest.php Tests the hook_query_alter capabilities of the Select builder.
AlterTest class core/modules/system/tests/src/Kernel/Common/AlterTest.php Tests alteration of arguments passed to \Drupal::moduleHandler->alter().
AlterTest class core/modules/system/tests/src/Functional/Form/AlterTest.php Tests hook_form_alter() and hook_form_FORM_ID_alter().
AlterTest.php file core/modules/system/tests/src/Functional/Form/AlterTest.php
AlterTest.php file core/modules/system/tests/src/Kernel/Common/AlterTest.php

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