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
BundleClassTest::testEntitySubclass function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Tests making use of a custom bundle class.
BundleClassTest::testNoAmbiguousBundleClassExceptionSharingEntityClass function core/tests/Drupal/KernelTests/Core/Entity/BundleClassTest.php Checks that no exception is thrown when two bundles share an entity class.
BundleConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php Tests validation constraints for BundleConstraintValidator.
BundleConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php
BundleConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php Modules to install.
BundleConstraintValidatorTest::$typedData property core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php The typed data manager to use.
BundleConstraintValidatorTest::assertValidation function core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php Executes the BundleConstraintValidator test for a given bundle.
BundleConstraintValidatorTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php
BundleConstraintValidatorTest::testValidation function core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php Tests bundle constraint validation.
BundlePermissionHandlerTraitTest class core/tests/Drupal/KernelTests/Core/Entity/BundlePermissionHandlerTraitTest.php @coversDefaultClass \Drupal\Core\Entity\BundlePermissionHandlerTrait[[api-linebreak]]
BundlePermissionHandlerTraitTest.php file core/tests/Drupal/KernelTests/Core/Entity/BundlePermissionHandlerTraitTest.php
BundlePermissionHandlerTraitTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/BundlePermissionHandlerTraitTest.php Modules to install.
BundlePermissionHandlerTraitTest::buildPermissions function core/tests/Drupal/KernelTests/Core/Entity/BundlePermissionHandlerTraitTest.php
BundlePermissionHandlerTraitTest::testGeneratePermissions function core/tests/Drupal/KernelTests/Core/Entity/BundlePermissionHandlerTraitTest.php @covers ::generatePermissions[[api-linebreak]]
ByteSizeMarkupTest class core/tests/Drupal/Tests/Core/StringTranslation/ByteSizeMarkupTest.php @coversDefaultClass \Drupal\Core\StringTranslation\ByteSizeMarkup[[api-linebreak]]
@group StringTranslation
ByteSizeMarkupTest.php file core/tests/Drupal/Tests/Core/StringTranslation/ByteSizeMarkupTest.php
ByteSizeMarkupTest::providerTestCommonFormatSize function core/tests/Drupal/Tests/Core/StringTranslation/ByteSizeMarkupTest.php Provides a list of byte size to test.
ByteSizeMarkupTest::testCommonFormatSize function core/tests/Drupal/Tests/Core/StringTranslation/ByteSizeMarkupTest.php @covers ::create[[api-linebreak]]
@dataProvider providerTestCommonFormatSize
ByteSizeMarkupTest::testTranslatableMarkupObject function core/tests/Drupal/Tests/Core/StringTranslation/ByteSizeMarkupTest.php @covers ::create[[api-linebreak]]
BytesTest class core/tests/Drupal/Tests/Component/Utility/BytesTest.php Tests bytes size parsing helper methods.
BytesTest.php file core/tests/Drupal/Tests/Component/Utility/BytesTest.php
BytesTest::providerTestToNumber function core/tests/Drupal/Tests/Component/Utility/BytesTest.php Provides data for testToNumber().
BytesTest::providerTestValidate function core/tests/Drupal/Tests/Component/Utility/BytesTest.php Provides data for testValidate().
BytesTest::testToNumber function core/tests/Drupal/Tests/Component/Utility/BytesTest.php Tests \Drupal\Component\Utility\Bytes::toNumber().
BytesTest::testValidate function core/tests/Drupal/Tests/Component/Utility/BytesTest.php Tests \Drupal\Component\Utility\Bytes::validate().
CacheabilityMetadataConfigOverrideIntegrationTest class core/modules/config/tests/src/Functional/CacheabilityMetadataConfigOverrideIntegrationTest.php Tests if configuration overrides correctly affect cacheability metadata.
CacheabilityMetadataConfigOverrideIntegrationTest.php file core/modules/config/tests/src/Functional/CacheabilityMetadataConfigOverrideIntegrationTest.php
CacheabilityMetadataConfigOverrideIntegrationTest::$defaultTheme property core/modules/config/tests/src/Functional/CacheabilityMetadataConfigOverrideIntegrationTest.php The theme to install as the default for testing.
CacheabilityMetadataConfigOverrideIntegrationTest::$modules property core/modules/config/tests/src/Functional/CacheabilityMetadataConfigOverrideIntegrationTest.php Modules to install.
CacheabilityMetadataConfigOverrideIntegrationTest::setUp function core/modules/config/tests/src/Functional/CacheabilityMetadataConfigOverrideIntegrationTest.php
CacheabilityMetadataConfigOverrideIntegrationTest::testConfigOverride function core/modules/config/tests/src/Functional/CacheabilityMetadataConfigOverrideIntegrationTest.php Tests if config overrides correctly set cacheability metadata.
CacheabilityMetadataConfigOverrideTest class core/tests/Drupal/KernelTests/Core/Config/CacheabilityMetadataConfigOverrideTest.php Tests if configuration overrides correctly affect cacheability metadata.
CacheabilityMetadataConfigOverrideTest.php file core/tests/Drupal/KernelTests/Core/Config/CacheabilityMetadataConfigOverrideTest.php
CacheabilityMetadataConfigOverrideTest::$modules property core/tests/Drupal/KernelTests/Core/Config/CacheabilityMetadataConfigOverrideTest.php Modules to install.
CacheabilityMetadataConfigOverrideTest::setUp function core/tests/Drupal/KernelTests/Core/Config/CacheabilityMetadataConfigOverrideTest.php
CacheabilityMetadataConfigOverrideTest::testConfigEntityOverride function core/tests/Drupal/KernelTests/Core/Config/CacheabilityMetadataConfigOverrideTest.php Tests if config overrides set cacheability metadata on config entities.
CacheabilityMetadataConfigOverrideTest::testConfigOverride function core/tests/Drupal/KernelTests/Core/Config/CacheabilityMetadataConfigOverrideTest.php Tests if config overrides correctly set cacheability metadata.
CacheableExceptionTest class core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php @group Http
CacheableExceptionTest.php file core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php
CacheableExceptionTest::providerTestExceptions function core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php
CacheableExceptionTest::testCacheableHttpException function core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php @covers \Drupal\Core\Http\Exception\CacheableHttpException[[api-linebreak]]
CacheableExceptionTest::testExceptions function core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php @dataProvider providerTestExceptions
CacheableMetadataCalculationTest class core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php Tests that cacheability metadata is only calculated when needed.
CacheableMetadataCalculationTest class core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php Tests plugin that reports when cacheable metadata is being calculated.
CacheableMetadataCalculationTest.php file core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php
CacheableMetadataCalculationTest.php file core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php
CacheableMetadataCalculationTest::$entityTypeManager property core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php The entity type manager.
CacheableMetadataCalculationTest::$modules property core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php Modules to install.
CacheableMetadataCalculationTest::$state property core/modules/views/tests/src/Kernel/CacheableMetadataCalculationTest.php The state service.
CacheableMetadataCalculationTest::$state property core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php The state service.

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