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::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[[api-linebreak]]
@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 Provides data for testing outbound processing.
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[[api-linebreak]]
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[[api-linebreak]]
AliasTest::testLookupBySystemPath function core/modules/path_alias/tests/src/Kernel/AliasTest.php @covers ::lookupBySystemPath[[api-linebreak]]
AliasTest::testLookupPath function core/modules/path_alias/tests/src/Kernel/AliasTest.php @covers \Drupal\path_alias\AliasManager::getPathByAlias[[api-linebreak]]
@covers \Drupal\path_alias\AliasManager::getAliasByPath[[api-linebreak]]
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[[api-linebreak]]
AlignmentPluginTest class core/modules/ckeditor5/tests/src/Unit/AlignmentPluginTest.php @coversDefaultClass \Drupal\ckeditor5\Plugin\CKEditor5Plugin\Alignment[[api-linebreak]]
@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[[api-linebreak]]
@dataProvider providerGetDynamicPluginConfig
AllowedScaffoldPackagesValidatorTest class core/modules/package_manager/tests/src/Kernel/AllowedScaffoldPackagesValidatorTest.php @covers \Drupal\package_manager\Validator\AllowedScaffoldPackagesValidator[[api-linebreak]]
@group package_manager
@internal
AllowedScaffoldPackagesValidatorTest.php file core/modules/package_manager/tests/src/Kernel/AllowedScaffoldPackagesValidatorTest.php
AllowedScaffoldPackagesValidatorTest::testPreApply function core/modules/package_manager/tests/src/Kernel/AllowedScaffoldPackagesValidatorTest.php Tests that the allowed-packages setting is validated during pre-apply.
AllowedScaffoldPackagesValidatorTest::testPreCreate function core/modules/package_manager/tests/src/Kernel/AllowedScaffoldPackagesValidatorTest.php Tests that the allowed-packages setting is validated during pre-create.
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[[api-linebreak]]
@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
AlterTest.php file core/tests/Drupal/KernelTests/Core/Database/AlterTest.php
AlterTest::$defaultTheme property core/modules/system/tests/src/Functional/Form/AlterTest.php The theme to install as the default for testing.
AlterTest::$modules property core/modules/system/tests/src/Functional/Form/AlterTest.php Modules to install.

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