480 string references to 'Bar'
- AccessDeniedTest::testAccessDenied in core/
modules/ system/ tests/ src/ Functional/ System/ AccessDeniedTest.php - AccessPolicyProcessorTest::testAccountSwitcher in core/
tests/ Drupal/ Tests/ Core/ Session/ AccessPolicyProcessorTest.php - Tests if the account switcher switches properly when user cache context is present.
- AccessPolicyProcessorTest::testCacheContexts in core/
tests/ Drupal/ Tests/ Core/ Session/ AccessPolicyProcessorTest.php - Tests that only the cache contexts for policies that apply are added.
- AccessPolicyProcessorTest::testCaching in core/
tests/ Drupal/ Tests/ Core/ Session/ AccessPolicyProcessorTest.php - Tests if the caches are called correctly.
- AccessPolicyProcessorTest::testCalculatePermissions in core/
tests/ Drupal/ Tests/ Core/ Session/ AccessPolicyProcessorTest.php - Tests that access policies are properly processed.
- AccessPolicyProcessorTest::testWrongScopeException in core/
tests/ Drupal/ Tests/ Core/ Session/ AccessPolicyProcessorTest.php - Tests the wrong scope exception.
- AccessResultTest::testCacheContexts in core/
tests/ Drupal/ Tests/ Core/ Access/ AccessResultTest.php - @covers ::addCacheContexts @covers ::resetCacheContexts @covers ::getCacheContexts @covers ::cachePerPermissions @covers ::cachePerUser @covers ::allowedIfHasPermission
- ActiveLinkResponseFilterTest::providerTestSetLinkActiveClass in core/
tests/ Drupal/ Tests/ Core/ EventSubscriber/ ActiveLinkResponseFilterTest.php - Provides test data for testSetLinkActiveClass().
- AjaxFormCacheTest::testQueryString in core/
tests/ Drupal/ FunctionalJavascriptTests/ Ajax/ AjaxFormCacheTest.php - Tests AJAX forms on pages with a query string.
- AjaxTestImageEffect::buildConfigurationForm in core/
modules/ image/ tests/ modules/ image_module_test/ src/ Plugin/ ImageEffect/ AjaxTestImageEffect.php - AlterTest::testDrupalAlter in core/
modules/ system/ tests/ src/ Kernel/ Common/ AlterTest.php - Tests if the theme has been altered.
- AnnotationBridgeDecoratorTest::testGetDefinitions in core/
tests/ Drupal/ Tests/ Component/ Annotation/ Plugin/ Discovery/ AnnotationBridgeDecoratorTest.php - @covers ::getDefinitions
- AnonymousPrivateTempStoreTest::testAnonymousCanUsePrivateTempStoreSet in core/
tests/ Drupal/ KernelTests/ Core/ TempStore/ AnonymousPrivateTempStoreTest.php - Tests anonymous can use the PrivateTempStore.
- ArgumentsResolverTest::providerTestGetArgument in core/
tests/ Drupal/ Tests/ Component/ Utility/ ArgumentsResolverTest.php - Provides test data to testGetArgument().
- ArgumentsResolverTest::testHandleNotUpcastedArgument in core/
tests/ Drupal/ Tests/ Component/ Utility/ ArgumentsResolverTest.php - Tests handleUnresolvedArgument() for a scalar argument.
- ArrayBuildTest::setUp in core/
modules/ migrate/ tests/ src/ Unit/ process/ ArrayBuildTest.php - ArrayBuildTest::testNonExistentValue in core/
modules/ migrate/ tests/ src/ Unit/ process/ ArrayBuildTest.php - Tests non-existent key for the value configuration.
- ArrayBuildTest::testOneDimensionalArrayInput in core/
modules/ migrate/ tests/ src/ Unit/ process/ ArrayBuildTest.php - Tests one-dimensional array input.
- ArrayBuildTest::testTransform in core/
modules/ migrate/ tests/ src/ Unit/ process/ ArrayBuildTest.php - Tests successful transformation.
- AssertContentTraitTest::testGetTextContent in core/
tests/ Drupal/ Tests/ Core/ Test/ AssertContentTraitTest.php - @covers ::getTextContent
- AttachedAssetsTest::testSettings in core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AttachedAssetsTest.php - Tests JavaScript settings.
- AttributeBridgeDecoratorTest::testGetDefinitions in core/
tests/ Drupal/ Tests/ Component/ Plugin/ Discovery/ AttributeBridgeDecoratorTest.php - @covers ::getDefinitions
- AttributeBridgeDecoratorTest::testOtherMethod in core/
tests/ Drupal/ Tests/ Component/ Plugin/ Discovery/ AttributeBridgeDecoratorTest.php - Tests that the decorator of other methods works.
- AttributeHelperTest::providerTestMergeCollections in core/
tests/ Drupal/ Tests/ Core/ Template/ AttributeHelperTest.php - Provides tests data for testMergeCollections.
- AttributeTest::providerTestMerge in core/
tests/ Drupal/ Tests/ Core/ Template/ AttributeTest.php - Provides tests data for testMerge.
- BarAccessPolicy::applies in core/
tests/ Drupal/ Tests/ Core/ Session/ AccessPolicyProcessorTest.php - Checks whether this access policy applies to a given scope.
- BarAccessPolicy::calculatePermissions in core/
tests/ Drupal/ Tests/ Core/ Session/ AccessPolicyProcessorTest.php - Calculates the permissions for an account within a given scope.
- BarAccessPolicy::getPersistentCacheContexts in core/
tests/ Drupal/ Tests/ Core/ Session/ AccessPolicyProcessorTest.php - Gets the persistent cache contexts.
- BarAlterAccessPolicy::alterPermissions in core/
tests/ Drupal/ Tests/ Core/ Session/ AccessPolicyProcessorTest.php - Alter the permissions after all policies have finished building them.
- BarAlterAccessPolicy::applies in core/
tests/ Drupal/ Tests/ Core/ Session/ AccessPolicyProcessorTest.php - Checks whether this access policy applies to a given scope.
- BigPipeResponseAttachmentsProcessorTest::attachmentsProvider in core/
modules/ big_pipe/ tests/ src/ Unit/ Render/ BigPipeResponseAttachmentsProcessorTest.php - BlockContentTypeTest::testBlockContentTypeEditing in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentTypeTest.php - Tests editing a block type using the UI.
- BlockContentTypeTest::testsBlockContentAddTypes in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentTypeTest.php - Tests that redirects work as expected when multiple block types exist.
- block_test_block_view_test_cache_alter in core/
modules/ block/ tests/ modules/ block_test/ block_test.module - Implements hook_block_view_BASE_BLOCK_ID_alter().
- BreadcrumbManagerTest::testBuildWithSingleBuilder in core/
tests/ Drupal/ Tests/ Core/ Breadcrumb/ BreadcrumbManagerTest.php - Tests the build method with a single breadcrumb builder.
- BubbleableMetadataTest::providerTestApplyTo in core/
tests/ Drupal/ Tests/ Core/ Render/ BubbleableMetadataTest.php - Provides test data for testApplyTo().
- BubbleableMetadataTest::providerTestCreateFromRenderArray in core/
tests/ Drupal/ Tests/ Core/ Render/ BubbleableMetadataTest.php - Provides test data for createFromRenderArray().
- BubbleableMetadataTest::providerTestMerge in core/
tests/ Drupal/ Tests/ Core/ Render/ BubbleableMetadataTest.php - Provides test data for testMerge().
- BubblingTest::bubblingPreRender in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererBubblingTest.php - #pre_render callback for testBubblingWithPrerender().
- BulkFormTest::testViewsForm in core/
modules/ views/ tests/ src/ Unit/ Plugin/ views/ field/ BulkFormTest.php - @covers ::viewsForm
- BundleConstraintValidatorTest::testValidation in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ BundleConstraintValidatorTest.php - Tests bundle constraint validation.
- CacheableMetadataTest::providerTestMerge in core/
tests/ Drupal/ Tests/ Core/ Cache/ CacheableMetadataTest.php - Provides test data for testMerge().
- CacheCollectorTest::providerTestInvalidCharacters in core/
tests/ Drupal/ KernelTests/ Core/ Cache/ CacheCollectorTest.php - Data provider for ::testCacheCollector().
- CacheContextsManagerTest::validateTokensProvider in core/
tests/ Drupal/ Tests/ Core/ Cache/ Context/ CacheContextsManagerTest.php - Provides a list of cache context token arrays.
- CacheTest::mergeCacheContextsProvide in core/
tests/ Drupal/ Tests/ Core/ Cache/ CacheTest.php - Provides a list of pairs of cache contexts arrays to be merged.
- CacheTest::mergeTagsProvider in core/
tests/ Drupal/ Tests/ Core/ Cache/ CacheTest.php - Provides a list of pairs of cache tags arrays to be merged.
- CacheTest::testHeaderStorage in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ CacheTest.php - Tests css/js storage and restoring mechanism.
- CacheTest::validateTagsProvider in core/
tests/ Drupal/ Tests/ Core/ Cache/ CacheTest.php - Provides a list of cache tags arrays.
- CalculatedPermissionsItemTest::testConstructor in core/
tests/ Drupal/ Tests/ Core/ Session/ CalculatedPermissionsItemTest.php - Tests that the object values were set in the constructor.
- CalculatedPermissionsItemTest::testHasPermission in core/
tests/ Drupal/ Tests/ Core/ Session/ CalculatedPermissionsItemTest.php - Tests the permission check when the admin flag is not set.
- CalculatedPermissionsItemTest::testHasPermissionWithAdminFlag in core/
tests/ Drupal/ Tests/ Core/ Session/ CalculatedPermissionsItemTest.php - Tests the permission check when the admin flag is set.
- CallableResolverTest::testCallbackResolver in core/
tests/ Drupal/ Tests/ Core/ Utility/ CallableResolverTest.php - @covers ::getCallableFromDefinition @group legacy
- ChainedPlaceholderStrategyTest::providerProcessPlaceholders in core/
tests/ Drupal/ Tests/ Core/ Render/ Placeholder/ ChainedPlaceholderStrategyTest.php - Provides a list of render strategies, placeholders and results.
- CheckpointStorageTest::testCheckpointCreation in core/
tests/ Drupal/ Tests/ Core/ Config/ Checkpoint/ CheckpointStorageTest.php - @covers ::checkpoint @covers \Drupal\Core\Config\Checkpoint\Checkpoint
- CheckpointStorageTest::testCollections in core/
tests/ Drupal/ Tests/ Core/ Config/ Checkpoint/ CheckpointStorageTest.php - @covers ::getAllCollectionNames @covers ::getCollectionName @covers ::createCollection
- CheckpointStorageTest::testConfigDelete in core/
tests/ Drupal/ KernelTests/ Core/ Config/ Storage/ Checkpoint/ CheckpointStorageTest.php - CommandsTest::testAttachedSettings in core/
tests/ Drupal/ KernelTests/ Core/ Ajax/ CommandsTest.php - Regression test: Settings command exists regardless of JS aggregation.
- CommentCacheTagsTest::createEntity in core/
modules/ comment/ tests/ src/ Functional/ CommentCacheTagsTest.php - Creates the entity to be tested.
- CommentCacheTagsTest::testCommentEntity in core/
modules/ comment/ tests/ src/ Functional/ CommentCacheTagsTest.php - Tests that comments invalidate the cache tag of their host entity.
- CommentResourceTestBase::createEntity in core/
modules/ comment/ tests/ src/ Functional/ Rest/ CommentResourceTestBase.php - Creates the entity to be tested.
- CommentTest::createEntity in core/
modules/ jsonapi/ tests/ src/ Functional/ CommentTest.php - Creates the entity to be tested.
- CommentTypeTest::testCommentTypeDeletion in core/
modules/ comment/ tests/ src/ Functional/ CommentTypeTest.php - Tests deleting a comment type that still has content.
- CommentTypeTest::testCommentTypeEditing in core/
modules/ comment/ tests/ src/ Functional/ CommentTypeTest.php - Tests editing a comment type using the UI.
- CommonCollectionFilterAccessTestPatternsTrait::doTestCollectionFilterAccessBasedOnPermissions in core/
modules/ jsonapi/ tests/ src/ Traits/ CommonCollectionFilterAccessTestPatternsTrait.php - Implements ::testCollectionFilterAccess() for pure permission-based access.
- CommonTestController::typeLinkActiveClass in core/
modules/ system/ tests/ modules/ common_test/ src/ Controller/ CommonTestController.php - Returns links to the current page, with and without query strings.
- common_test.libraries.yml in core/
modules/ system/ tests/ modules/ common_test/ common_test.libraries.yml - core/modules/system/tests/modules/common_test/common_test.libraries.yml
- common_test_js_settings_alter in core/
modules/ system/ tests/ modules/ common_test/ common_test.module - Implements hook_js_settings_alter().
- common_test_theme in core/
modules/ system/ tests/ modules/ common_test/ common_test.module - Implements hook_theme().
- ComplexDataConstraintValidatorTest::testValidation in core/
tests/ Drupal/ KernelTests/ Core/ TypedData/ ComplexDataConstraintValidatorTest.php - Tests the ComplexData validation constraint validator.
- ConcatTest::testConcatWithDelimiter in core/
modules/ migrate/ tests/ src/ Unit/ process/ ConcatTest.php - Tests concat works without a delimiter.
- ConcatTest::testConcatWithoutDelimiter in core/
modules/ migrate/ tests/ src/ Unit/ process/ ConcatTest.php - Tests concat works without a delimiter.
- ConfigActionTest::testEntityMethod in core/
tests/ Drupal/ KernelTests/ Core/ Config/ Action/ ConfigActionTest.php - ConfigActionTest::testPluralizedEntityMethod in core/
tests/ Drupal/ KernelTests/ Core/ Config/ Action/ ConfigActionTest.php - ConfigActionTest::testSimpleConfigUpdate in core/
tests/ Drupal/ KernelTests/ Core/ Config/ Action/ ConfigActionTest.php - ConfigDependencyTest::testConfigEntityUninstallThirdParty in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigDependencyTest.php - @covers ::uninstall @covers ::getConfigEntitiesToChangeOnDependencyRemoval
- ConfigDiffTest::testCollectionDiff in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigDiffTest.php - Tests calculating the difference between two sets of config collections.
- ConfigEntityBaseUnitTest::testSort in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ ConfigEntityBaseUnitTest.php - @covers ::sort
- ConfigEntityStorageTest::testCreate in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ ConfigEntityStorageTest.php - @covers ::create @covers ::doCreate
- ConfigEntityStorageTest::testDelete in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ ConfigEntityStorageTest.php - @covers ::delete @covers ::doDelete
- ConfigEntityStorageTest::testLoadMultipleAll in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ ConfigEntityStorageTest.php - @covers ::loadMultiple @covers ::postLoad @covers ::mapFromStorageRecords @covers ::doLoadMultiple
- ConfigEntityStorageTest::testSaveRename in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ ConfigEntityStorageTest.php - @covers ::save @covers ::doSave
- ConfigEntityTest::testCRUD in core/
modules/ config/ tests/ src/ Functional/ ConfigEntityTest.php - Tests CRUD operations.
- ConfigExportImportUITest::testExportImportCollections in core/
modules/ config/ tests/ src/ Functional/ ConfigExportImportUITest.php - Tests an export and import of collections.
- ConfigFileContentTest::testReadWriteConfig in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigFileContentTest.php - Tests setting, writing, and reading of a configuration setting.
- ConfigImporterTest::testConfigEvents in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigImporterTest.php - Tests config events during config import.
- ConfigImporterTest::testStorageComparerTargetStorage in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigImporterTest.php - Tests the target storage caching during configuration import.
- ConfigImporterTest::testUpdated in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigImporterTest.php - Tests updating of configuration during import.
- ConfigLanguageOverrideTest::testConfigLanguageOverride in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigLanguageOverrideTest.php - Tests locale override based on language.
- ConfigOverrideTest::testConfOverride in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigOverrideTest.php - Tests configuration override.
- ConfigSchemaTest::testConfigSaveWithSchema in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigSchemaTest.php - Tests configuration value data type enforcement using schemas.
- ConfigStorageTestBase::testCollection in core/
tests/ Drupal/ KernelTests/ Core/ Config/ Storage/ ConfigStorageTestBase.php - Tests that the storage supports collections.
- ConfigStorageTestBase::testCRUD in core/
tests/ Drupal/ KernelTests/ Core/ Config/ Storage/ ConfigStorageTestBase.php - Tests storage CRUD operations.
- ConfigStorageTestBase::testInvalidStorage in core/
tests/ Drupal/ KernelTests/ Core/ Config/ Storage/ ConfigStorageTestBase.php - Tests an invalid storage.
- ConfigTest::providerSource in core/
modules/ migrate_drupal/ tests/ src/ Kernel/ Plugin/ migrate/ source/ d8/ ConfigTest.php - ConfigTest::testSafeStringHandling in core/
tests/ Drupal/ Tests/ Core/ Config/ ConfigTest.php - @covers ::setData @covers ::set @covers ::initWithData
- config_other_module_config_test.weird_simple_config.yml in core/
modules/ config/ tests/ config_install_dependency_test/ config/ install/ config_other_module_config_test.weird_simple_config.yml - core/modules/config/tests/config_install_dependency_test/config/install/config_other_module_config_test.weird_simple_config.yml
- config_test.system.yml in core/
modules/ config/ tests/ config_test/ config/ install/ config_test.system.yml - core/modules/config/tests/config_test/config/install/config_test.system.yml
- config_test.system.yml in core/
tests/ fixtures/ recipes/ config_from_module_and_recipe/ config/ config_test.system.yml - core/tests/fixtures/recipes/config_from_module_and_recipe/config/config_test.system.yml
- ConnectionTest::testMakeSequenceNameDeprecation in core/
modules/ sqlite/ tests/ src/ Kernel/ sqlite/ ConnectionTest.php - Tests deprecation of ::makeSequenceName().
- ConnectionTest::testMakeSequenceNameDeprecation in core/
modules/ mysql/ tests/ src/ Kernel/ mysql/ ConnectionTest.php - Tests deprecation of ::makeSequenceName().
- ContactLinkTest::testRenderNullEntity in core/
modules/ contact/ tests/ src/ Unit/ ContactLinkTest.php - Test the render method when getEntity returns NULL.
- ContactSitewideTest::testAutoReply in core/
modules/ contact/ tests/ src/ Functional/ ContactSitewideTest.php - Tests auto-reply on the site-wide contact form.
- ContainerAwareEventDispatcherTest::testGetLazyListeners in core/
tests/ Drupal/ Tests/ Component/ EventDispatcher/ ContainerAwareEventDispatcherTest.php - ContainerBuilderTest::testGet in core/
tests/ Drupal/ Tests/ Core/ DependencyInjection/ ContainerBuilderTest.php - @covers ::get
- ContainerBuilderTest::testRegister in core/
tests/ Drupal/ Tests/ Core/ DependencyInjection/ ContainerBuilderTest.php - @covers ::register
- ContainerBuilderTest::testSetAlias in core/
tests/ Drupal/ Tests/ Core/ DependencyInjection/ ContainerBuilderTest.php - @covers ::setAlias
- ContainerTest::getMockContainerDefinition in core/
tests/ Drupal/ Tests/ Component/ DependencyInjection/ ContainerTest.php - Gets a mock container definition.
- ContainerTest::testGetForFactoryClass in core/
tests/ Drupal/ Tests/ Component/ DependencyInjection/ ContainerTest.php - Tests that Container::get() for factories via class works (Symfony 2.7.0).
- ContainerTest::testGetServiceIds in core/
tests/ Drupal/ Tests/ Component/ DependencyInjection/ ContainerTest.php - Tests that Container::getServiceIds() works properly.
- ContentModerationRouteSubscriberTest::setLatestRevisionFlagTestCases in core/
modules/ content_moderation/ tests/ src/ Unit/ ContentModerationRouteSubscriberTest.php - Data provider for ::testSetLatestRevisionFlag.
- ContentModerationSyncingTest::testMultipleRevisionStateChangedDuringSync in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationSyncingTest.php - Tests state changes with multiple revisions during a sync.
- ContentModerationSyncingTest::testNoRevisionForcedDuringSync in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationSyncingTest.php - Tests no new revision is forced during a sync.
- ContentModerationSyncingTest::testStateChangedPreviousRevisionDuringSync in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationSyncingTest.php - Tests a moderation state changed on a previous revision during a sync.
- ContentModerationSyncingTest::testUpdatingPreviousRevisionDuringSync in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationSyncingTest.php - Tests modifying a previous revision during a sync.
- ContextAwarePluginTraitTest::testSetContextValue in core/
tests/ Drupal/ KernelTests/ Core/ Plugin/ Context/ ContextAwarePluginTraitTest.php - @covers ::setContextValue
- ContextualLinksTest::testContextualLinksDestinationWithQuery in core/
modules/ contextual/ tests/ src/ FunctionalJavascript/ ContextualLinksTest.php - Tests the contextual links destination with query.
- ContextualUnitTest::contextualLinksDataProvider in core/
modules/ contextual/ tests/ src/ Kernel/ ContextualUnitTest.php - Provides test cases for both test functions.
- CronQueueTestDeriver::getDerivativeDefinitions in core/
modules/ system/ tests/ modules/ cron_queue_test/ src/ Plugin/ Derivative/ CronQueueTestDeriver.php - Gets the definition of all derivatives of a base plugin.
- CsrfTokenGeneratorTest::testValidate in core/
tests/ Drupal/ Tests/ Core/ Access/ CsrfTokenGeneratorTest.php - Tests CsrfTokenGenerator::validate().
- CustomPageExceptionHtmlSubscriberTest::setUp in core/
tests/ Drupal/ Tests/ Core/ EventSubscriber/ CustomPageExceptionHtmlSubscriberTest.php - CustomPageExceptionHtmlSubscriberTest::testHandleWithGetRequest in core/
tests/ Drupal/ Tests/ Core/ EventSubscriber/ CustomPageExceptionHtmlSubscriberTest.php - Tests onHandleException with a GET request.
- CustomPageExceptionHtmlSubscriberTest::testHandleWithPostRequest in core/
tests/ Drupal/ Tests/ Core/ EventSubscriber/ CustomPageExceptionHtmlSubscriberTest.php - Tests onHandleException with a POST request.
- DatabaseEventsTest::testDisableInvalidEvent in core/
tests/ Drupal/ Tests/ Core/ Database/ DatabaseEventsTest.php - @covers ::disableEvents
- DatabaseStorageExpirableTest::testCRUDWithExpiration in core/
tests/ Drupal/ KernelTests/ Core/ KeyValueStore/ DatabaseStorageExpirableTest.php - Tests CRUD functionality with expiration.
- DatabaseStorageTest::testConcurrent in core/
tests/ Drupal/ KernelTests/ Core/ KeyValueStore/ DatabaseStorageTest.php - Tests asynchronous table creation.
- DbLogTest::testMessageParsing in core/
modules/ dblog/ tests/ src/ Functional/ DbLogTest.php - Test that twig errors are displayed correctly.
- DefaultLazyPluginCollectionTest::testConfigurableInterface in core/
tests/ Drupal/ Tests/ Core/ Plugin/ DefaultLazyPluginCollectionTest.php - Tests that plugin methods are correctly attached to interfaces.
- DefaultLazyPluginCollectionTest::testSetInstanceConfigurationPluginChange in core/
tests/ Drupal/ Tests/ Core/ Plugin/ DefaultLazyPluginCollectionTest.php - Tests plugin instances are changed if the configuration plugin key changes.
- DefaultMenuLinkTreeManipulatorsTest::mockTree in core/
tests/ Drupal/ Tests/ Core/ Menu/ DefaultMenuLinkTreeManipulatorsTest.php - Creates a mock tree.
- DefaultMenuLinkTreeManipulatorsTest::testCheckAccess in core/
tests/ Drupal/ Tests/ Core/ Menu/ DefaultMenuLinkTreeManipulatorsTest.php - Tests the checkAccess() tree manipulator.
- DefaultMenuLinkTreeManipulatorsTest::testCheckNodeAccess in core/
tests/ Drupal/ Tests/ Core/ Menu/ DefaultMenuLinkTreeManipulatorsTest.php - Tests the optimized node access checking.
- DefaultsSectionStorageTest::testExtractEntityFromRouteCreate in core/
modules/ layout_builder/ tests/ src/ Unit/ DefaultsSectionStorageTest.php - @covers ::extractEntityFromRoute
- DefaultTableMappingTest::providerTestGetFieldColumnName in core/
tests/ Drupal/ Tests/ Core/ Entity/ Sql/ DefaultTableMappingTest.php - Provides test data for testGetFieldColumnName().
- DefaultTableMappingTest::testGetExtraColumns in core/
tests/ Drupal/ Tests/ Core/ Entity/ Sql/ DefaultTableMappingTest.php - Tests DefaultTableMapping::getExtraColumns().
- DefaultTableMappingTest::testGetFieldNames in core/
tests/ Drupal/ Tests/ Core/ Entity/ Sql/ DefaultTableMappingTest.php - Tests DefaultTableMapping::getFieldNames().
- DefaultTableMappingTest::testGetTableNames in core/
tests/ Drupal/ Tests/ Core/ Entity/ Sql/ DefaultTableMappingTest.php - Tests DefaultTableMapping::getTableNames().
- deprecated_module.settings.yml in core/
modules/ system/ tests/ modules/ deprecated_module/ config/ install/ deprecated_module.settings.yml - core/modules/system/tests/modules/deprecated_module/config/install/deprecated_module.settings.yml
- DocParserTest::testArrayWithColon in core/
tests/ Drupal/ Tests/ Component/ Annotation/ Doctrine/ DocParserTest.php - DocParserTest::testBasicAnnotations in core/
tests/ Drupal/ Tests/ Component/ Annotation/ Doctrine/ DocParserTest.php - DocParserTest::testDefaultAnnotationValueIsNotOverwritten in core/
tests/ Drupal/ Tests/ Component/ Annotation/ Doctrine/ DocParserTest.php - DocParserTest::testDefaultValueAnnotations in core/
tests/ Drupal/ Tests/ Component/ Annotation/ Doctrine/ DocParserTest.php - DocParserTest::testNamespacedAnnotations in core/
tests/ Drupal/ Tests/ Component/ Annotation/ Doctrine/ DocParserTest.php - DocParserTest::testTrailingCommaIsAllowed in core/
tests/ Drupal/ Tests/ Component/ Annotation/ Doctrine/ DocParserTest.php - DocParserTest::testTypicalMethodDocBlock in core/
tests/ Drupal/ Tests/ Component/ Annotation/ Doctrine/ DocParserTest.php - @group debug
- DownloadTest::checkUrl in core/
modules/ file/ tests/ src/ Functional/ DownloadTest.php - Download a file from the URL generated by generateString().
- DownloadTest::doPrivateFileTransferTest in core/
modules/ file/ tests/ src/ Functional/ DownloadTest.php - Tests the private file transfer system.
- DrupalKernelTest::testGetServiceIdMapping in core/
tests/ Drupal/ Tests/ Core/ DrupalKernel/ DrupalKernelTest.php - @covers ::getServiceIdMapping @group legacy
- ElementTest::providerTestIsEmpty in core/
tests/ Drupal/ Tests/ Core/ Render/ ElementTest.php - ElementTest::testInvalidChildren in core/
tests/ Drupal/ Tests/ Core/ Render/ ElementTest.php - Tests the children() method with an invalid key.
- ElementTest::testOptions in core/
modules/ system/ tests/ src/ Functional/ Form/ ElementTest.php - Tests expansion of #options for #type checkboxes and radios.
- ElementTest::testRadiosChecked in core/
modules/ system/ tests/ src/ Functional/ Form/ ElementTest.php - Tests correct checked attribute for radios element.
- EmphasisTest::testEmphasisArbitraryHtml in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ EmphasisTest.php - Tests that arbitrary attributes are allowed via GHS.
- EngineTwigTest::testTwigLinkGenerator in core/
modules/ system/ tests/ src/ Functional/ Theme/ EngineTwigTest.php - Tests the link_generator Twig functions.
- EntityAccessControlHandlerTest::testEntityTranslationAccess in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityAccessControlHandlerTest.php - Ensures entity access for entity translations is properly working.
- EntityConverterLatestRevisionTest::testRouteParamWithBundleDefinition in core/
tests/ Drupal/ KernelTests/ Core/ ParamConverter/ EntityConverterLatestRevisionTest.php - Tests an entity route parameter having 'bundle' definition property.
- EntityConverterTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ ParamConverter/ EntityConverterTest.php - EntityConverterTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ ParamConverter/ EntityConverterTest.php - EntityConverterTest::testRouteParamWithBundleDefinition in core/
tests/ Drupal/ KernelTests/ Core/ ParamConverter/ EntityConverterTest.php - Tests an entity route parameter having 'bundle' definition property.
- EntityDefinitionUpdateProviderTest::testBaseFieldDeleteWithExistingData in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateProviderTest.php - Tests deleting a base field when it has existing data.
- EntityDefinitionUpdateTest::testSingleActionCalls in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDefinitionUpdateTest.php - Tests applying single updates.
- EntityDisplayBaseTest::testPreSave in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDisplayBaseTest.php - @covers ::preSave
- EntityDisplayFormBaseTest::testCopyFormValuesToEntity in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityDisplayFormBaseTest.php - @covers ::copyFormValuesToEntity
- EntityDisplayTest::testComponentDependencies in core/
modules/ field_ui/ tests/ src/ Kernel/ EntityDisplayTest.php - Tests components dependencies additions.
- EntityDisplayTest::testEntityDisplayCRUD in core/
modules/ field_ui/ tests/ src/ Kernel/ EntityDisplayTest.php - Tests basic CRUD operations on entity display objects.
- EntityFieldTest::testEntityReferenceComputedField in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityFieldTest.php - Tests an entity reference computed field.
- EntityFieldTest::testFieldEntityRevisionWrite in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityFieldTest.php - Test setting field values on revisionable entities.
- EntityFormTest::testCopyFormValuesToEntity in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityFormTest.php - @covers ::copyFormValuesToEntity
- EntityKeysTest::testMultipleKeysCache in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityKeysTest.php - Tests the cache when multiple keys reference a single field.
- EntityLinkTest::testRenderNullEntity in core/
modules/ comment/ tests/ src/ Unit/ Plugin/ views/ field/ EntityLinkTest.php - Test the render method when getEntity returns NULL.
- EntityOperationsUnitTest::setUp in core/
modules/ views/ tests/ src/ Unit/ Plugin/ views/ field/ EntityOperationsUnitTest.php - @covers ::__construct
- EntityQueryTest::testMetaData in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityQueryTest.php - Tests adding a tag and metadata to the Entity query object.
- EntityRevisionsTest::runRevisionsTests in core/
modules/ system/ tests/ src/ Functional/ Entity/ EntityRevisionsTest.php - Executes the revision tests for the given entity type.
- EntityRevisionTest::setUp in core/
modules/ migrate/ tests/ src/ Unit/ Plugin/ migrate/ destination/ EntityRevisionTest.php - EntityTypeTest::testGetHandler in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityTypeTest.php - Tests the getHandler() method.
- EntityTypeTest::testIsSerializable in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityTypeTest.php - Tests that the EntityType object can be serialized.
- entity_test_entity_presave in core/
modules/ system/ tests/ modules/ entity_test/ entity_test.module - Implements hook_entity_presave().
- ExplodeTest::testTransform in core/
modules/ migrate/ tests/ src/ Unit/ process/ ExplodeTest.php - Tests explode transform process works.
- ExtensionPathResolverTest::testUnknownExtension in core/
tests/ Drupal/ KernelTests/ Core/ Bootstrap/ ExtensionPathResolverTest.php - Tests the getPath() method with an unknown extension.
- ExtractTest::providerExtractDefault in core/
modules/ migrate/ tests/ src/ Unit/ process/ ExtractTest.php - Data provider for testExtractDefault.
- ExtractTest::testExtract in core/
modules/ migrate/ tests/ src/ Unit/ process/ ExtractTest.php - Tests successful extraction.
- FieldDefinitionTest::testDisplayConfigurationSettings in core/
tests/ Drupal/ Tests/ Core/ Entity/ FieldDefinitionTest.php - Tests the display configuration settings.
- FieldDropbuttonTest::setUp in core/
modules/ views/ tests/ src/ Kernel/ Handler/ FieldDropbuttonTest.php - FieldFileTest::testTransformAltTitle in core/
modules/ file/ tests/ src/ Unit/ Plugin/ migrate/ process/ d6/ FieldFileTest.php - Tests that alt and title attributes are included in transformed values.
- FieldFormatterTest::testThirdPartySettings in core/
modules/ field/ tests/ src/ Kernel/ FieldFormatterTest.php - Tests availability of third party settings in field render arrays.
- FieldInputValueNormalizerTraitTest::keyValueByDeltaTestCases in core/
tests/ Drupal/ Tests/ Core/ Field/ FieldInputValueNormalizerTraitTest.php - Provides test cases for ::testKeyValueByDelta.
- FieldLayoutEntityDisplayTest::testPreSave in core/
modules/ field_layout/ tests/ src/ Kernel/ FieldLayoutEntityDisplayTest.php - @covers ::preSave @covers ::calculateDependencies
- FieldPluginBaseTest::providerTestRenderAsLinkWithPathAndOptions in core/
modules/ views/ tests/ src/ Unit/ Plugin/ field/ FieldPluginBaseTest.php - Data provider for ::testRenderAsLinkWithPathAndOptions().
- FieldPluginBaseTest::providerTestRenderAsLinkWithUrlAndOptions in core/
modules/ views/ tests/ src/ Unit/ Plugin/ field/ FieldPluginBaseTest.php - Data provider for ::testRenderAsLinkWithUrlAndOptions().
- FieldUiTableTest::providerTestReduceOrder in core/
modules/ field_ui/ tests/ src/ Unit/ FieldUiTableTest.php - Provides test data for testReduceOrder().
- FilteredPluginManagerTraitTest::testGetFilteredDefinitions in core/
tests/ Drupal/ Tests/ Core/ Plugin/ FilteredPluginManagerTraitTest.php - @covers ::getFilteredDefinitions @dataProvider providerTestGetFilteredDefinitions
- FilterInOperatorTest::testFilterOptionAsMarkup in core/
modules/ views/ tests/ src/ Kernel/ Handler/ FilterInOperatorTest.php - Tests that the InOperator filter can handle TranslatableMarkup.
- FilterSettingsTest::dataProvider in core/
modules/ filter/ tests/ src/ Kernel/ Plugin/ migrate/ process/ FilterSettingsTest.php - The test data provider.
- FilterTest::testCreateFromQueryParameter in core/
modules/ jsonapi/ tests/ src/ Kernel/ Query/ FilterTest.php - @covers ::createFromQueryParameter @dataProvider parameterProvider
- FilterTest::testCreateFromQueryParameterNested in core/
modules/ jsonapi/ tests/ src/ Kernel/ Query/ FilterTest.php - @covers ::createFromQueryParameter
- FooAccessPolicy::calculatePermissions in core/
tests/ Drupal/ Tests/ Core/ Session/ AccessPolicyProcessorTest.php - Calculates the permissions for an account within a given scope.
- FooCacheContext::getContext in core/
tests/ Drupal/ Tests/ Core/ Cache/ Context/ CacheContextsManagerTest.php - Returns the string representation of the cache context.
- FormattableMarkupTest::providerTestUnexpectedPlaceholder in core/
tests/ Drupal/ Tests/ Component/ Render/ FormattableMarkupTest.php - Data provider for FormattableMarkupTest::testUnexpectedPlaceholder().
- FormBuilderTest::testInvalidToken in core/
tests/ Drupal/ Tests/ Core/ Form/ FormBuilderTest.php - @covers ::doBuildForm
- FormCacheTest::testLoadCachedFormState in core/
tests/ Drupal/ Tests/ Core/ Form/ FormCacheTest.php - @covers ::loadCachedFormState
- FormHelperTest::providerElements in core/
tests/ Drupal/ Tests/ Core/ Form/ FormHelperTest.php - Provides a list of elements to test.
- FormStateDecoratorBaseTest::providerGet in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - Provides data to self::testGet().
- FormStateDecoratorBaseTest::providerGetTemporaryValue in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - Provides data to self::testGetTemporaryValue().
- FormStateDecoratorBaseTest::providerLimitValidationErrors in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - Provides data to self::testGetLimitValidationErrors() and self::testGetLimitValidationErrors().
- FormStateDecoratorBaseTest::providerLoadInclude in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - Provides data to self::testLoadInclude().
- FormStateDecoratorBaseTest::providerSet in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - Provides data to self::testSet().
- FormStateDecoratorBaseTest::providerSetTemporaryValue in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - Provides data to self::testSetTemporaryValue().
- FormStateDecoratorBaseTest::testAddBuildInfo in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::addBuildInfo
- FormStateDecoratorBaseTest::testAddCleanValueKey in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::addCleanValueKey
- FormStateDecoratorBaseTest::testAddRebuildInfo in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::addRebuildInfo
- FormStateDecoratorBaseTest::testGetBuildInfo in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::getBuildInfo
- FormStateDecoratorBaseTest::testGetButtons in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::getButtons
- FormStateDecoratorBaseTest::testGetCacheableArray in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::getCacheableArray
- FormStateDecoratorBaseTest::testGetCleanValueKeys in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::getCleanValueKeys
- FormStateDecoratorBaseTest::testGetCompleteForm in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::getCompleteForm
- FormStateDecoratorBaseTest::testGetError in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::getError
- FormStateDecoratorBaseTest::testGetErrors in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::getErrors
- FormStateDecoratorBaseTest::testGetGroups in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::getGroups
- FormStateDecoratorBaseTest::testGetRebuildInfo in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::getRebuildInfo
- FormStateDecoratorBaseTest::testGetStorage in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::getStorage
- FormStateDecoratorBaseTest::testGetSubmitHandlers in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::getSubmitHandlers
- FormStateDecoratorBaseTest::testGetTemporary in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::getTemporary
- FormStateDecoratorBaseTest::testGetTriggeringElement in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::getTriggeringElement
- FormStateDecoratorBaseTest::testGetUserInput in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::getUserInput
- FormStateDecoratorBaseTest::testGetValidateHandlers in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::getValidateHandlers
- FormStateDecoratorBaseTest::testGetValue in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::getValue
- FormStateDecoratorBaseTest::testGetValues in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::getValues
- FormStateDecoratorBaseTest::testHasValue in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::hasValue
- FormStateDecoratorBaseTest::testIsValueEmpty in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::isValueEmpty
- FormStateDecoratorBaseTest::testSetBuildInfo in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::setBuildInfo
- FormStateDecoratorBaseTest::testSetButtons in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::setButtons
- FormStateDecoratorBaseTest::testSetCleanValueKeys in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::setCleanValueKeys
- FormStateDecoratorBaseTest::testSetCompleteForm in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::setCompleteForm
- FormStateDecoratorBaseTest::testSetError in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::setError
- FormStateDecoratorBaseTest::testSetErrorByName in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::setErrorByName
- FormStateDecoratorBaseTest::testSetFormState in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::setFormState
- FormStateDecoratorBaseTest::testSetGroups in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::setGroups
- FormStateDecoratorBaseTest::testSetRebuildInfo in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::setRebuildInfo
- FormStateDecoratorBaseTest::testSetStorage in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::setStorage
- FormStateDecoratorBaseTest::testSetSubmitHandlers in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::setSubmitHandlers
- FormStateDecoratorBaseTest::testSetTemporary in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::setTemporary
- FormStateDecoratorBaseTest::testSetTriggeringElement in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::setTriggeringElement
- FormStateDecoratorBaseTest::testSetUserInput in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::setUserInput
- FormStateDecoratorBaseTest::testSetValidateHandlers in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::setValidateHandlers
- FormStateDecoratorBaseTest::testSetValue in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::setValue
- FormStateDecoratorBaseTest::testSetValueForElement in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::setValueForElement
- FormStateDecoratorBaseTest::testSetValues in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateDecoratorBaseTest.php - @covers ::setValues
- FormStateTest::providerTestGetError in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateTest.php - FormStateTest::testGetValues in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateTest.php - @covers ::setValues @covers ::getValues
- FormStateTest::testSetError in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateTest.php - Tests the setError() method.
- FormStateValuesTraitTest::providerGetValue in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateValuesTraitTest.php - Provides data to self::testGetValue().
- FormStateValuesTraitTest::providerHasValue in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateValuesTraitTest.php - Provides data to self::testHasValue().
- FormStateValuesTraitTest::providerIsValueEmpty in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateValuesTraitTest.php - Provides data to self::testIsValueEmpty().
- FormStateValuesTraitTest::providerSetValue in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateValuesTraitTest.php - Provides data to self::testSetValue().
- FormStateValuesTraitTest::testSetValueForElement in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateValuesTraitTest.php - Tests that setting the value for an element adds to the values.
- FormTest::testInputWithInvalidToken in core/
modules/ system/ tests/ src/ Functional/ Form/ FormTest.php - Tests that input is retained for safe elements even with an invalid token.
- FormTest::testLabelOnMultiValueFields in core/
modules/ field/ tests/ src/ Functional/ FormTest.php - Tests the form display of the label for multi-value fields.
- FormTest::testRequiredCheckboxesRadio in core/
modules/ system/ tests/ src/ Functional/ Form/ FormTest.php - Tests validation for required checkbox, select, and radio elements.
- FormTestCheckboxesZeroForm::buildForm in core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestCheckboxesZeroForm.php - Form constructor.
- FormTestRadiosCheckedForm::buildForm in core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestRadiosCheckedForm.php - Form constructor.
- FormTestValidateRequiredForm::buildForm in core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestValidateRequiredForm.php - Form constructor.
- FormValidatorTest::providerTestHandleErrorsWithLimitedValidation in core/
tests/ Drupal/ Tests/ Core/ Form/ FormValidatorTest.php - FormValidatorTest::providerTestPerformRequiredValidation in core/
tests/ Drupal/ Tests/ Core/ Form/ FormValidatorTest.php - HandleMultiplesTest::scalarAndMultipleValuesProviderSource in core/
modules/ migrate/ tests/ src/ Kernel/ process/ HandleMultiplesTest.php - Provides the source data with scalar and multiple values.
- hook_install in core/
lib/ Drupal/ Core/ Extension/ module.api.php - Perform setup tasks when the module is installed.
- HTMLRestrictionsTest::providerConvenienceConstructors in core/
modules/ ckeditor5/ tests/ src/ Unit/ HTMLRestrictionsTest.php - ImageAdminStylesTest::testStyle in core/
modules/ image/ tests/ src/ Functional/ ImageAdminStylesTest.php - General test to add a style, add/remove/edit effects to it, then delete it.
- ImageTestBase::testImageArbitraryHtml in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ ImageTestBase.php - Tests that arbitrary attributes are allowed via GHS.
- image_module_test_image_style_presave in core/
modules/ image/ tests/ modules/ image_module_test/ image_module_test.module - Implements hook_image_style_presave().
- InspectorTest::providerTestAssertAllStrings in core/
tests/ Drupal/ Tests/ Component/ Assertion/ InspectorTest.php - InspectorTest::testAssertAllHaveKey in core/
tests/ Drupal/ Tests/ Component/ Assertion/ InspectorTest.php - Tests asserting all members have specified keys.
- InspectorTest::testAssertAllStrictArrays in core/
tests/ Drupal/ Tests/ Component/ Assertion/ InspectorTest.php - Tests asserting all members are strict arrays.
- InspectorTest::testAssertAllStringable in core/
tests/ Drupal/ Tests/ Component/ Assertion/ InspectorTest.php - Tests asserting all members are strings or objects with __toString().
- InspectorTest::testAssertStrictArray in core/
tests/ Drupal/ Tests/ Component/ Assertion/ InspectorTest.php - Tests asserting array is 0-indexed - the strict definition of array.
- InternalViolationTest::testSetGetArrayPropertyPath in core/
tests/ Drupal/ Tests/ Core/ Field/ InternalViolationTest.php - @covers ::__get @covers ::__set
- InternalViolationTest::testSetGetDynamicProperties in core/
tests/ Drupal/ Tests/ Core/ Field/ InternalViolationTest.php - @covers ::__get @covers ::__set
- JsonApiDocumentTopLevelNormalizerTest::denormalizeProvider in core/
modules/ jsonapi/ tests/ src/ Unit/ Normalizer/ JsonApiDocumentTopLevelNormalizerTest.php - Data provider for the denormalize test.
- JsonApiRegressionTest::testEmptyMapFieldTypeDenormalization in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiRegressionTest.php - Ensure optional `@FieldType=map` fields are denormalized correctly.
- JsonApiRegressionTest::testMapFieldTypeNormalizationFromIssue3040590 in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiRegressionTest.php - Ensure `@FieldType=map` fields are normalized correctly.
- KeyValueEntityStorageTest::testCreate in core/
tests/ Drupal/ Tests/ Core/ Entity/ KeyValueStore/ KeyValueEntityStorageTest.php - @covers ::create @covers ::doCreate
- KeyValueEntityStorageTest::testDelete in core/
tests/ Drupal/ Tests/ Core/ Entity/ KeyValueStore/ KeyValueEntityStorageTest.php - @covers ::delete @covers ::doDelete
- KeyValueEntityStorageTest::testLoadMultipleAll in core/
tests/ Drupal/ Tests/ Core/ Entity/ KeyValueStore/ KeyValueEntityStorageTest.php - @covers ::loadMultiple @covers ::postLoad @covers ::mapFromStorageRecords @covers ::doLoadMultiple
- KeyValueEntityStorageTest::testSaveRenameConfigEntity in core/
tests/ Drupal/ Tests/ Core/ Entity/ KeyValueStore/ KeyValueEntityStorageTest.php - @covers ::save @covers ::doSave
- LanguageSwitchingTest::doTestLanguageBlockAnonymous in core/
modules/ language/ tests/ src/ Functional/ LanguageSwitchingTest.php - For anonymous users, the "active" class is set by PHP.
- LayoutBuilderContentModerationIntegrationTest::testLayoutModeration in core/
modules/ content_moderation/ tests/ src/ Functional/ LayoutBuilderContentModerationIntegrationTest.php - Tests that Layout changes are respected by Content Moderation.
- LayoutDefaultTest::providerTestBuild in core/
tests/ Drupal/ Tests/ Core/ Layout/ LayoutDefaultTest.php - Provides test data for ::testBuild().
- LayoutSectionTest::providerTestLayoutSectionFormatter in core/
modules/ layout_builder/ tests/ src/ Functional/ LayoutSectionTest.php - Provides test data for ::testLayoutSectionFormatter().
- LinkApproveTest::testRenderNullEntity in core/
modules/ comment/ tests/ src/ Unit/ Plugin/ views/ field/ LinkApproveTest.php - Test the render method when getEntity returns NULL.
- LinkGeneratorTest::testGenerateTwice in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests whether rendering the same link twice works.
- LinkReplyTest::testRenderNullEntity in core/
modules/ comment/ tests/ src/ Unit/ Plugin/ views/ field/ LinkReplyTest.php - Test the render method when getEntity returns NULL.
- LinksetControllerTest::setUp in core/
modules/ system/ tests/ src/ Functional/ Menu/ LinksetControllerTest.php - Test set up.
- LinkTest::linkComparisonProvider in core/
modules/ jsonapi/ tests/ src/ Unit/ JsonApiResource/ LinkTest.php - Provides test data for link comparison.
- LinkTest::linkMergeProvider in core/
modules/ jsonapi/ tests/ src/ Unit/ JsonApiResource/ LinkTest.php - Provides test data for link merging.
- LocaleTranslationProjectsTest::testLocaleTranslationClearCacheProjects in core/
modules/ locale/ tests/ src/ Kernel/ LocaleTranslationProjectsTest.php - Tests locale_translation_clear_cache_projects().
- MailManagerTest::testGetInstance in core/
tests/ Drupal/ Tests/ Core/ Mail/ MailManagerTest.php - Tests the getInstance method.
- ManagedFile::processManagedFile in core/
modules/ file/ src/ Element/ ManagedFile.php - Render API callback: Expands the managed_file element type.
- MediaEmbedFilterTest::providerTestBasics in core/
modules/ media/ tests/ src/ Kernel/ MediaEmbedFilterTest.php - Data provider for testBasics().
- MediaLibrarySelectFormTest::testViewsForm in core/
modules/ media_library/ tests/ src/ Unit/ MediaLibrarySelectFormTest.php - @covers ::viewsForm
- MediaLinkabilityTest::testLinkedMediaArbitraryHtml in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ MediaLinkabilityTest.php - Ensures arbitrary attributes can be added on links wrapping media via GHS.
- MediaTest::testMediaArbitraryHtml in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ MediaTest.php - Tests that arbitrary attributes are allowed via GHS.
- MenuLinkDefaultFormTest::testExtractFormValues in core/
tests/ Drupal/ Tests/ Core/ Menu/ MenuLinkDefaultFormTest.php - @covers ::extractFormValues
- MenuLinkTreeTest::providerTestBuildCacheability in core/
modules/ system/ tests/ src/ Unit/ Menu/ MenuLinkTreeTest.php - Provides the test cases to test for ::testBuildCacheability().
- MenuLinkTreeTest::testCreateLinksInMenu in core/
tests/ Drupal/ KernelTests/ Core/ Menu/ MenuLinkTreeTest.php - Tests creating links with an expected tree structure.
- MenuTreeParametersTest::testAddExpanded in core/
tests/ Drupal/ Tests/ Core/ Menu/ MenuTreeParametersTest.php - Tests addExpandedParents().
- MenuTreeParametersTest::testSerialize in core/
tests/ Drupal/ Tests/ Core/ Menu/ MenuTreeParametersTest.php - @covers ::serialize @covers ::unserialize
- MenuTreeStorageTest::testLoadByProperties in core/
tests/ Drupal/ KernelTests/ Core/ Menu/ MenuTreeStorageTest.php - Tests MenuTreeStorage::loadByProperties().
- MigrateEntityContentBaseTest::testEmptyDestinations in core/
modules/ migrate/ tests/ src/ Kernel/ MigrateEntityContentBaseTest.php - Tests empty destinations.
- MigrateEntityContentBaseTest::testEntityWithStringId in core/
modules/ migrate/ tests/ src/ Kernel/ MigrateEntityContentBaseTest.php - Tests creation of ID columns table with definitions taken from entity type.
- MigrateEntityContentValidationTest::testEntityOwnerValidation in core/
modules/ migrate/ tests/ src/ Kernel/ MigrateEntityContentValidationTest.php - Tests validation for entities that are instances of EntityOwnerInterface.
- MigrateFieldWidgetSettingsTest::testWidgetSettings in core/
modules/ field/ tests/ src/ Kernel/ Migrate/ d6/ MigrateFieldWidgetSettingsTest.php - Tests that migrated view modes can be loaded using D8 API's.
- MigrateLookupTest::providerExceptionOnMultipleMigrationsNotFound in core/
modules/ migrate/ tests/ src/ Unit/ MigrateLookupTest.php - Provides data for testExceptionOnMultipleMigrationsNotFound.
- MigrateMenuLinkTest::testMenuLinks in core/
modules/ menu_link_content/ tests/ src/ Kernel/ Migrate/ d6/ MigrateMenuLinkTest.php - Tests migration of menu links.
- MigrateMenuLinkTranslationTest::testMenuLinks in core/
modules/ menu_link_content/ tests/ src/ Kernel/ Migrate/ d6/ MigrateMenuLinkTranslationTest.php - Tests migration of menu links.
- MigrateStatusTest::testStatus in core/
modules/ migrate/ tests/ src/ Kernel/ MigrateStatusTest.php - Tests different connection types.
- MigrateUpgradeFormStepsTest::testMigrateUpgradeReviewPage in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ MigrateUpgradeFormStepsTest.php - Tests the flow of the Migrate Drupal UI form.
- MigrationLookupTest::testMultipleMigrations in core/
modules/ migrate/ tests/ src/ Unit/ process/ MigrationLookupTest.php - Tests processing multiple migrations and source IDs.
- MigrationTest::testGetDestinationIds in core/
modules/ migrate/ tests/ src/ Kernel/ Plugin/ MigrationTest.php - Tests Migration::getDestinationIds()
- MigrationTest::testGetMigrationDependencies in core/
modules/ migrate/ tests/ src/ Kernel/ Plugin/ MigrationTest.php - Tests Migration::getMigrationDependencies()
- ModuleInstallerTest::testCacheBinCleanup in core/
tests/ Drupal/ KernelTests/ Core/ Extension/ ModuleInstallerTest.php - Tests cache bins defined by modules are removed when uninstalled.
- MultipleWidgetFormTest::testLabelOnMultiValueFields in core/
modules/ field/ tests/ src/ Functional/ MultipleWidgetFormTest.php - Tests the form display of the label for multi-value fields.
- NavigationMenuBlockTest::setUp in core/
modules/ navigation/ tests/ src/ Kernel/ NavigationMenuBlockTest.php - NavigationMenuMarkupTest::setUp in core/
modules/ navigation/ tests/ src/ Kernel/ NavigationMenuMarkupTest.php - NodeTypeTest::testNodeTypeEditing in core/
modules/ node/ tests/ src/ Functional/ NodeTypeTest.php - Tests editing a node type using the UI.
- NoOptimizeCacheContext::getContext in core/
tests/ Drupal/ Tests/ Core/ Cache/ Context/ CacheContextsManagerTest.php - Returns the string representation of the cache context.
- OptimizedPhpArrayDumperTest::getDefinitionsDataProvider in core/
tests/ Drupal/ Tests/ Component/ DependencyInjection/ Dumper/ OptimizedPhpArrayDumperTest.php - Data provider for testGetServiceDefinitions().
- OptimizedPhpArrayDumperTest::testGetServiceDefinitionWithReferenceToAlias in core/
tests/ Drupal/ Tests/ Component/ DependencyInjection/ Dumper/ OptimizedPhpArrayDumperTest.php - Tests that references to aliases work correctly.
- PageCacheTest::testHead in core/
modules/ page_cache/ tests/ src/ Functional/ PageCacheTest.php - Tests that HEAD requests are treated the same as GET requests.
- PageCacheTest::testPageCacheHeaders in core/
modules/ page_cache/ tests/ src/ Functional/ PageCacheTest.php - Tests page cache headers.
- PathBasedBreadcrumbBuilderTest::testBuildWithThreePathElements in core/
modules/ system/ tests/ src/ Unit/ Breadcrumbs/ PathBasedBreadcrumbBuilderTest.php - Tests the build method with three path elements.
- PathBasedBreadcrumbBuilderTest::testBuildWithThreePathElements in core/
modules/ system/ tests/ src/ Unit/ Breadcrumbs/ PathBasedBreadcrumbBuilderTest.php - Tests the build method with three path elements.
- PathProcessorTest::processOutbound in core/
modules/ system/ tests/ modules/ url_alter_test/ src/ PathProcessorTest.php - PathValidatorTest::testGetUrlIfValidWithQuery in core/
tests/ Drupal/ Tests/ Core/ Path/ PathValidatorTest.php - Tests the getUrlIfValid() method with a query in the path.
- PermissionCheckerTest::testHasPermission in core/
tests/ Drupal/ Tests/ Core/ Session/ PermissionCheckerTest.php - Tests the hasPermission method under normal circumstances.
- PermissionCheckerTest::testHasPermissionEmpty in core/
tests/ Drupal/ Tests/ Core/ Session/ PermissionCheckerTest.php - Tests the hasPermission method when no policy added something.
- PermissionCheckerTest::testHasPermissionMixed in core/
tests/ Drupal/ Tests/ Core/ Session/ PermissionCheckerTest.php - Tests the hasPermission method when mixed scopes and identifiers exist.
- PermissionCheckerTest::testHasPermissionOnlyContrib in core/
tests/ Drupal/ Tests/ Core/ Session/ PermissionCheckerTest.php - Tests the hasPermission method with only contrib scopes and identifiers.
- PermissionsTest::testPreRenderNullEntity in core/
modules/ user/ tests/ src/ Unit/ Plugin/ views/ field/ PermissionsTest.php - Tests the preRender method when getEntity returns NULL.
- PlaceholderGeneratorTest::providerCreatePlaceholderGeneratesValidHtmlMarkup in core/
tests/ Drupal/ Tests/ Core/ Render/ PlaceholderGeneratorTest.php - PluginIdTest::testGet in core/
tests/ Drupal/ Tests/ Component/ Annotation/ PluginIdTest.php - @covers ::get
- PluginIdTest::testGet in core/
tests/ Drupal/ Tests/ Component/ Plugin/ Attribute/ PluginIdTest.php - @covers ::get
- PluginManagerBaseTest::testGetInstance in core/
tests/ Drupal/ Tests/ Component/ Plugin/ PluginManagerBaseTest.php - @covers ::getInstance
- PluginManagerBaseTest::testGetInstanceWithoutMapperShouldThrowException in core/
tests/ Drupal/ Tests/ Component/ Plugin/ PluginManagerBaseTest.php - @covers ::getInstance
- PluginSettingsBaseTest::testGetThirdPartySettings in core/
tests/ Drupal/ Tests/ Core/ Field/ PluginSettingsBaseTest.php - @covers ::getThirdPartySettings
- PluginTest::testGet in core/
tests/ Drupal/ Tests/ Component/ Annotation/ PluginTest.php - @covers ::__construct @covers ::parse @covers ::get
- ProcessFieldTest::providerTestTransform in core/
modules/ field/ tests/ src/ Unit/ Plugin/ migrate/ process/ ProcessFieldTest.php - Provides data for the transform method test.
- QueryParameterTest::providerGetArgument in core/
modules/ views/ tests/ src/ Unit/ Plugin/ argument_default/ QueryParameterTest.php - Provides data for testGetArgument().
- RecipeRunnerTest::testConfigActionsPreExistingConfig in core/
tests/ Drupal/ KernelTests/ Core/ Recipe/ RecipeRunnerTest.php - RedirectTest::testRedirect in core/
modules/ system/ tests/ src/ Functional/ Form/ RedirectTest.php - Tests form redirection.
- RefinableCalculatedPermissionsTest::testAddItem in core/
tests/ Drupal/ Tests/ Core/ Session/ RefinableCalculatedPermissionsTest.php - Tests the addition of a calculated permissions item.
- RefinableCalculatedPermissionsTest::testAddItemOverwrite in core/
tests/ Drupal/ Tests/ Core/ Session/ RefinableCalculatedPermissionsTest.php - Tests the overwriting of a calculated permissions item.
- RefinableCalculatedPermissionsTest::testMerge in core/
tests/ Drupal/ Tests/ Core/ Session/ RefinableCalculatedPermissionsTest.php - Tests merging in another CalculatedPermissions object.
- RefinableCalculatedPermissionsTest::testRemoveItem in core/
tests/ Drupal/ Tests/ Core/ Session/ RefinableCalculatedPermissionsTest.php - Tests the removal of a calculated permissions item.
- RefinableCalculatedPermissionsTest::testRemoveItems in core/
tests/ Drupal/ Tests/ Core/ Session/ RefinableCalculatedPermissionsTest.php - Tests the removal of all calculated permissions items.
- RefinableCalculatedPermissionsTest::testRemoveItemsByScope in core/
tests/ Drupal/ Tests/ Core/ Session/ RefinableCalculatedPermissionsTest.php - Tests the removal of calculated permissions items by scope.
- RelatedResourceTypesTest::setUp in core/
modules/ jsonapi/ tests/ src/ Kernel/ ResourceType/ RelatedResourceTypesTest.php - RenderedEntityTest::testRenderNullEntity in core/
modules/ views/ tests/ src/ Unit/ Plugin/ views/ field/ RenderedEntityTest.php - Tests the render method when getEntity returns NULL.
- RenderElementTest::testPreRenderAjaxForm in core/
tests/ Drupal/ Tests/ Core/ Render/ Element/ RenderElementTest.php - @covers ::preRenderAjaxForm
- RenderElementTest::testPreRenderAjaxFormWithQueryOptions in core/
tests/ Drupal/ Tests/ Core/ Render/ Element/ RenderElementTest.php - @covers ::preRenderAjaxForm
- RenderElementTypesTest::testContainer in core/
tests/ Drupal/ KernelTests/ Core/ Render/ Element/ RenderElementTypesTest.php - Tests system #type 'container'.
- RendererBubblingTest::providerTestContextBubblingEdgeCases in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererBubblingTest.php - RendererBubblingTest::testBubblingWithPrerender in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererBubblingTest.php - Tests bubbling of bubbleable metadata added by #pre_render callbacks.
- RendererBubblingTest::testConditionalCacheContextBubblingSelfHealing in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererBubblingTest.php - Tests the self-healing of the redirect with conditional cache contexts.
- RendererBubblingTest::testContextBubblingCustomCacheBin in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererBubblingTest.php - Tests cache context bubbling with a custom cache bin.
- RendererBubblingTest::testOverWriteCacheKeys in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererBubblingTest.php - Tests that an element's cache keys cannot be changed during its rendering.
- RendererPlaceholdersTest::generatePlaceholderElement in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererPlaceholdersTest.php - Generates an element with a placeholder.
- RendererPlaceholdersTest::generatePlaceholdersWithChildrenTestElement in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererPlaceholdersTest.php - Generates an element with placeholders at 3 levels.
- RendererPlaceholdersTest::providerPlaceholders in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererPlaceholdersTest.php - Provides the two classes of placeholders: cacheable and uncacheable.
- RendererPlaceholdersTest::testCacheableParent in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererPlaceholdersTest.php - @covers ::render @covers ::doRender @covers \Drupal\Core\Render\RenderCache::get @covers \Drupal\Core\Render\RenderCache::set
- RendererPlaceholdersTest::testCacheableParentWithPostRequest in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererPlaceholdersTest.php - @covers ::render @covers ::doRender @covers \Drupal\Core\Render\RenderCache::get @covers ::replacePlaceholders
- RendererPlaceholdersTest::testRenderChildrenPlaceholdersDifferentArguments in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererPlaceholdersTest.php - Tests the creation of an element with a child and a sub-child.
- RendererPlaceholdersTest::testUncacheableParent in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererPlaceholdersTest.php - @covers ::render @covers ::doRender
- RendererTest::providerTestAddCacheableDependency in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererTest.php - RendererTest::providerTestRenderBasic in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererTest.php - Provides a list of render arrays to test basic rendering.
- RequestSanitizerTest::providerTestRequestSanitization in core/
tests/ Drupal/ Tests/ Core/ Security/ RequestSanitizerTest.php - Data provider for testRequestSanitization.
- ResettableStaticTest::testDrupalStatic in core/
tests/ Drupal/ KernelTests/ Core/ Bootstrap/ ResettableStaticTest.php - Tests drupal_static() function.
- ResourceTest::testSerializationClassIsOptional in core/
modules/ rest/ tests/ src/ Functional/ ResourceTest.php - Tests that serialization_class is optional.
- ResourceTestBase::testGetIndividual in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Tests GETting an individual resource, plus edge cases to ensure good DX.
- ResourceTestBase::testRevisions in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Tests individual and collection revisions.
- ResponsiveImageIntegrationTest::testEntityViewDisplayDependency in core/
modules/ responsive_image/ tests/ src/ Kernel/ ResponsiveImageIntegrationTest.php - Tests integration with entity view display.
- ReverseContainerTest::testGetId in core/
tests/ Drupal/ Tests/ Component/ DependencyInjection/ ReverseContainerTest.php - @covers ::getId
- ReverseContainerTest::testRecordContainer in core/
tests/ Drupal/ Tests/ Component/ DependencyInjection/ ReverseContainerTest.php - @covers ::recordContainer
- RevisionLinkDeleteTest::testRenderNullEntity in core/
modules/ node/ tests/ src/ Unit/ Plugin/ views/ field/ RevisionLinkDeleteTest.php - Test the render method when getEntity returns NULL.
- RevisionLinkRevertTest::testRenderNullEntity in core/
modules/ node/ tests/ src/ Unit/ Plugin/ views/ field/ RevisionLinkRevertTest.php - Test the render method when getEntity returns NULL.
- RevisionLinkTest::testRenderNullEntity in core/
modules/ node/ tests/ src/ Unit/ Plugin/ views/ field/ RevisionLinkTest.php - Test the render method when getEntity returns NULL.
- RouteProviderTest::testRouteCaching in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ RouteProviderTest.php - Tests that route caching works.
- SectionListTestBase::setUp in core/
modules/ layout_builder/ tests/ src/ Kernel/ SectionListTestBase.php - SectionListTestBase::testAppendSection in core/
modules/ layout_builder/ tests/ src/ Kernel/ SectionListTestBase.php - @covers ::appendSection
- SectionListTestBase::testGetSections in core/
modules/ layout_builder/ tests/ src/ Kernel/ SectionListTestBase.php - Tests ::getSections().
- SectionListTestBase::testInsertSection in core/
modules/ layout_builder/ tests/ src/ Kernel/ SectionListTestBase.php - @covers ::insertSection
- SectionListTestBase::testRemoveSection in core/
modules/ layout_builder/ tests/ src/ Kernel/ SectionListTestBase.php - @covers ::removeSection
- SectionTest::providerTestGetLayout in core/
modules/ layout_builder/ tests/ src/ Unit/ SectionTest.php - Provides test data for ::testGetLayout().
- ShortcutCacheTagsTest::testEntityCreation in core/
modules/ shortcut/ tests/ src/ Functional/ ShortcutCacheTagsTest.php - Tests that when creating a shortcut, the shortcut set tag is invalidated.
- SourceEditingPluginTest::providerGetDynamicPluginConfig in core/
modules/ ckeditor5/ tests/ src/ Unit/ SourceEditingPluginTest.php - Provides a list of configs to test.
- SqlContentEntityStorageSchemaTest::providerTestRequiresEntityDataMigration in core/
tests/ Drupal/ Tests/ Core/ Entity/ Sql/ SqlContentEntityStorageSchemaTest.php - StaticMapTest::testMapWithInvalidSource in core/
modules/ migrate/ tests/ src/ Unit/ process/ StaticMapTest.php - Tests when the source is invalid.
- StaticMapTest::testMapWithInvalidSourceAndBypass in core/
modules/ migrate/ tests/ src/ Unit/ process/ StaticMapTest.php - Tests when the source is invalid and bypass is enabled.
- StaticMapTest::testMapWithInvalidSourceWithADefaultValue in core/
modules/ migrate/ tests/ src/ Unit/ process/ StaticMapTest.php - Tests when the source is invalid but there's a default.
- StaticMapTest::testMapWithInvalidSourceWithANullDefaultValue in core/
modules/ migrate/ tests/ src/ Unit/ process/ StaticMapTest.php - Tests when the source is invalid but there's a default value of NULL.
- StaticMapTest::testMapWithSourceList in core/
modules/ migrate/ tests/ src/ Unit/ process/ StaticMapTest.php - Tests map when the source is a list.
- StorageTest::testCachedFormStorageValidation in core/
modules/ system/ tests/ src/ Functional/ Form/ StorageTest.php - Tests updating cached form storage during form validation.
- StorageTestBase::testCRUD in core/
tests/ Drupal/ KernelTests/ Core/ KeyValueStore/ StorageTestBase.php - Tests CRUD operations.
- StorageTestBase::testNonExistingKeys in core/
tests/ Drupal/ KernelTests/ Core/ KeyValueStore/ StorageTestBase.php - Tests expected behavior for non-existing keys.
- StreamFileUploaderTest::testWriteStreamToFileSuccess in core/
modules/ file/ tests/ src/ Kernel/ Upload/ StreamFileUploaderTest.php - @covers ::writeStreamToFile
- StubSourceGeneratorPlugin::initializeIterator in core/
modules/ migrate/ tests/ src/ Unit/ MigrateSourceTest.php - Initializes the iterator with the source data.
- SubformStateTest::providerTestSetValues in core/
tests/ Drupal/ Tests/ Core/ Form/ SubformStateTest.php - Provides data to self::testSetValues().
- SubProcessWithSkipTest::getDefinition in core/
modules/ migrate/ tests/ src/ Kernel/ process/ SubProcessWithSkipTest.php - Provides the test migration definition.
- SubProcessWithSkipTest::providerTestSubProcessSkip in core/
modules/ migrate/ tests/ src/ Kernel/ process/ SubProcessWithSkipTest.php - Data provider for testNotFoundSubProcess().
- SuperUserAccessPolicyTest::testAlterPermissions in core/
tests/ Drupal/ Tests/ Core/ Session/ SuperUserAccessPolicyTest.php - Tests the alterPermissions method.
- SystemMenuBlockTest::setUp in core/
modules/ system/ tests/ src/ Kernel/ Block/ SystemMenuBlockTest.php - SystemMenuNavigationBlockTest::setUp in core/
modules/ navigation/ tests/ src/ Kernel/ SystemMenuNavigationBlockTest.php - SystemTestController::getCacheableResponseWithCustomCacheControl in core/
modules/ system/ tests/ modules/ system_test/ src/ Controller/ SystemTestController.php - Returns a cacheable response with a custom cache control.
- system_test.info.yml in core/
modules/ system/ tests/ modules/ system_test/ system_test.info.yml - core/modules/system/tests/modules/system_test/system_test.info.yml
- TableSortExtenderTest::testTableSortInit in core/
tests/ Drupal/ KernelTests/ Core/ Render/ Element/ TableSortExtenderTest.php - Tests \Drupal\Core\Utility\TableSort::getContextFromRequest().
- TagTest::providerViewsUiAutocompleteIndividualTags in core/
modules/ views_ui/ tests/ src/ Kernel/ TagTest.php - Data provider for testViewsUiAutocompleteIndividualTags().
- TagTest::providerViewsUiAutocompleteIndividualTags in core/
modules/ views_ui/ tests/ src/ Kernel/ TagTest.php - Data provider for testViewsUiAutocompleteIndividualTags().
- taxonomy_crud_taxonomy_vocabulary_presave in core/
modules/ taxonomy/ tests/ modules/ taxonomy_crud/ taxonomy_crud.module - Implements hook_ENTITY_TYPE_presave() for taxonomy_vocabulary entities.
- TestForm::buildForm in core/
modules/ system/ tests/ modules/ test_page_test/ src/ Form/ TestForm.php - Form constructor.
- TestHelpSection::listSearchableTopics in core/
modules/ help/ tests/ modules/ help_topics_test/ src/ Plugin/ HelpSection/ TestHelpSection.php - Returns the IDs of topics that should be indexed for searching.
- TestHelpSection::listTopics in core/
modules/ help/ tests/ modules/ help_topics_test/ src/ Plugin/ HelpSection/ TestHelpSection.php - Returns a list of topics to show in the help section.
- TestHelpSection::renderTopicForSearch in core/
modules/ help/ tests/ modules/ help_topics_test/ src/ Plugin/ HelpSection/ TestHelpSection.php - Renders one topic for search indexing or search results.
- TestObjectItemTest::testTestObjectItem in core/
modules/ field/ tests/ src/ Kernel/ TestObjectItemTest.php - Tests the serialization of a field type that has an object.
- test_form_id in core/
tests/ Drupal/ Tests/ Core/ Form/ fixtures/ form_base_test.inc - Creates a test form.
- test_theme_settings_form_system_theme_settings_alter in core/
modules/ system/ tests/ themes/ test_theme_settings/ theme-settings.php - Implements hook_form_system_theme_settings_alter().
- test_theme_theme_form_system_theme_settings_alter in core/
modules/ system/ tests/ themes/ test_theme_theme/ test_theme_theme.theme - Implements hook_form_system_theme_settings_alter().
- ThemeRenderAndAutoescapeTest::providerTestThemeRenderAndAutoescape in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ ThemeRenderAndAutoescapeTest.php - Provide test examples.
- ThemeTest::testAttributeMerging in core/
modules/ system/ tests/ src/ Kernel/ Theme/ ThemeTest.php - Tests attribute merging.
- TitleResolverTest::testStaticTitleWithNullAndArrayValueParameter in core/
tests/ Drupal/ Tests/ Core/ Controller/ TitleResolverTest.php - Tests a static title with a non-scalar value parameter.
- ToolkitTest::testDerivative in core/
tests/ Drupal/ KernelTests/ Core/ Image/ ToolkitTest.php - Tests image toolkit operations inheritance by derivative toolkits.
- TourTest::routeProvider in core/
modules/ tour/ tests/ src/ Unit/ Entity/ TourTest.php - Provides sample routes for testing.
- TranslationManagerTest::providerTestTranslatePlaceholder in core/
tests/ Drupal/ Tests/ Core/ StringTranslation/ TranslationManagerTest.php - Provides test data for translate().
- TwigDeprecationsTest::assertRendered in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ TwigDeprecationsTest.php - Assert that 'theme_test_deprecations_preprocess' renders expected text.
- TwigDeprecationsTest::testHookThemeDeprecations in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ TwigDeprecationsTest.php - Test deprecating variables at definition in hook_theme().
- TwigDeprecationsTest::testMultipleDeprecations in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ TwigDeprecationsTest.php - Test deprecation of multiple variables triggers errors.
- TwigExtensionTest::testLinkWithOverriddenAttributes in core/
tests/ Drupal/ Tests/ Core/ Template/ TwigExtensionTest.php - @covers ::getLink
- TwigMarkupInterfaceTest::providerTestMarkupInterfaceEmpty in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ TwigMarkupInterfaceTest.php - Provide test examples.
- TwigThemeTestController::linkGeneratorRender in core/
modules/ system/ tests/ modules/ twig_theme_test/ src/ TwigThemeTestController.php - Renders for testing link_generator functions in a Twig template.
- TypedDataTest::testTypedDataMaps in core/
tests/ Drupal/ KernelTests/ Core/ TypedData/ TypedDataTest.php - Tests using a typed data map.
- UniqueFieldConstraintTest::testEntityWithStringId in core/
tests/ Drupal/ KernelTests/ Core/ Validation/ UniqueFieldConstraintTest.php - Tests cases where the validation passes for entities with string IDs.
- UnitTestCaseTest::testVarDumpSameProcess in core/
tests/ Drupal/ Tests/ UnitTestCaseTest.php - Tests the dump() function in a test run in the same process.
- UnitTestCaseTest::testVarDumpSeparateProcess in core/
tests/ Drupal/ Tests/ UnitTestCaseTest.php - Tests the dump() function in a test run in a separate process.
- UnroutedUrlAssemblerTest::providerTestAssembleWithExternalUrl in core/
tests/ Drupal/ Tests/ Core/ Utility/ UnroutedUrlAssemblerTest.php - Provides test data for testAssembleWithExternalUrl.
- UnroutedUrlAssemblerTest::providerTestAssembleWithLocalUri in core/
tests/ Drupal/ Tests/ Core/ Utility/ UnroutedUrlAssemblerTest.php - UpcastingTest::testUpcasting in core/
modules/ system/ tests/ src/ Functional/ ParamConverter/ UpcastingTest.php - Confirms that all parameters are converted as expected.
- UpdatePathTestBaseTest::testSchemaChecking in core/
tests/ Drupal/ FunctionalTests/ Update/ UpdatePathTestBaseTest.php - Tests that schema can be excluded from testing.
- UrlConversionTest::providerConvertDbUrlToConnectionInfo in core/
tests/ Drupal/ Tests/ Core/ Database/ UrlConversionTest.php - Data provider for testDbUrlToConnectionConversion().
- UrlConversionTest::providerInvalidArgumentsUrlConversion in core/
tests/ Drupal/ Tests/ Core/ Database/ UrlConversionTest.php - Data provider for testGetInvalidArgumentExceptionInUrlConversion().
- UrlGeneratorTest::providerTestNoPath in core/
tests/ Drupal/ Tests/ Core/ Routing/ UrlGeneratorTest.php - Data provider for ::testNoPath().
- UrlHelperTest::providerTestExternalIsLocalInvalid in core/
tests/ Drupal/ Tests/ Component/ Utility/ UrlHelperTest.php - Provides invalid argument data for local external URL detection.
- UrlTest::providerTestEntityUris in core/
tests/ Drupal/ Tests/ Core/ UrlTest.php - Data provider for testing entity URIs.
- UrlTest::testActiveLinkAttributes in core/
modules/ system/ tests/ src/ Functional/ Common/ UrlTest.php - Tests the active class in links.
- UrlTest::testDrupalParseUrl in core/
modules/ system/ tests/ src/ Kernel/ Common/ UrlTest.php - Tests UrlHelper::parse().
- UrlTest::testLinkAttributes in core/
modules/ system/ tests/ src/ Kernel/ Common/ UrlTest.php - Tests that default and custom attributes are handled correctly on links.
- UrlTest::testMergeOptions in core/
tests/ Drupal/ Tests/ Core/ UrlTest.php - Tests the mergeOptions() method.
- UrlTest::testSetOptions in core/
tests/ Drupal/ Tests/ Core/ UrlTest.php - Tests the setOptions() method.
- UsageTest::doTestRemoveUsage in core/
modules/ file/ tests/ src/ Kernel/ UsageTest.php - Tests \Drupal\file\FileUsage\DatabaseFileUsageBackend::delete().
- UsageTest::testAddUsage in core/
modules/ file/ tests/ src/ Kernel/ UsageTest.php - Tests \Drupal\file\FileUsage\DatabaseFileUsageBackend::add().
- UserBlocksTest::testUserLoginBlock in core/
modules/ user/ tests/ src/ Functional/ UserBlocksTest.php - Tests the user login block.
- UserNameValidatorTest::invalidUserNameProvider in core/
modules/ user/ tests/ src/ Kernel/ UserNameValidatorTest.php - Provides invalid user names.
- UserRolesAccessPolicyTest::calculatePermissionsProvider in core/
tests/ Drupal/ Tests/ Core/ Session/ UserRolesAccessPolicyTest.php - Data provider for testCalculatePermissions.
- UserRolesAccessPolicyTest::testAlterPermissions in core/
tests/ Drupal/ Tests/ Core/ Session/ UserRolesAccessPolicyTest.php - Tests the alterPermissions method.
- VariableMultiRowTest::providerSource in core/
modules/ migrate_drupal/ tests/ src/ Kernel/ Plugin/ migrate/ source/ VariableMultiRowTest.php - VariableTest::providerSource in core/
modules/ migrate_drupal/ tests/ src/ Kernel/ Plugin/ migrate/ source/ VariableTest.php - VariationCacheTest::testNoVariations in core/
tests/ Drupal/ Tests/ Core/ Cache/ VariationCacheTest.php - Tests a cache item that has no variations.
- views.view.test_responsive_images.yml in core/
modules/ views/ tests/ fixtures/ update/ views.view.test_responsive_images.yml - core/modules/views/tests/fixtures/update/views.view.test_responsive_images.yml
- ViewsConfigDependenciesIntegrationTest::testImage in core/
modules/ views/ tests/ src/ Kernel/ ViewsConfigDependenciesIntegrationTest.php - Tests integration with image module.
- ViewsModerationStateFilterTest::setUp in core/
modules/ content_moderation/ tests/ src/ Functional/ ViewsModerationStateFilterTest.php - Sets up the test.
- ViewsModerationStateFilterTest::setUp in core/
modules/ content_moderation/ tests/ src/ Functional/ ViewsModerationStateFilterTest.php - Sets up the test.
- ViewsModerationStateFilterTest::testStateFilterViewsRelationship in core/
modules/ content_moderation/ tests/ src/ Kernel/ ViewsModerationStateFilterTest.php - Tests the content moderation state filter.
- views_test_data_views_pre_render in core/
modules/ views/ tests/ modules/ views_test_data/ views_test_data.views_execution.inc - Implements hook_views_pre_render().
- VocabularyCrudTest::testTaxonomyVocabularyLoadMultiple in core/
modules/ taxonomy/ tests/ src/ Kernel/ VocabularyCrudTest.php - Tests for loading multiple vocabularies.
- WizardPluginBaseTest::providerTestGetSelected in core/
modules/ views/ tests/ src/ Unit/ WizardPluginBaseTest.php - Provides test data for testGetSelected().
- WorkflowResourceTestBase::createEntity in core/
modules/ workflows/ tests/ src/ Functional/ Rest/ WorkflowResourceTestBase.php - Creates the entity to be tested.
- WorkflowResourceTestBase::getExpectedNormalizedEntity in core/
modules/ workflows/ tests/ src/ Functional/ Rest/ WorkflowResourceTestBase.php - Returns the expected normalization of the entity.
- WorkflowTest::createEntity in core/
modules/ jsonapi/ tests/ src/ Functional/ WorkflowTest.php - Creates the entity to be tested.
- WorkflowTest::getExpectedDocument in core/
modules/ jsonapi/ tests/ src/ Functional/ WorkflowTest.php - Returns the expected JSON:API document for the entity.
- x33.php in core/
lib/ Drupal/ Component/ Transliteration/ data/ x33.php - YamlPeclTest::testObjectSupportDisabled in core/
tests/ Drupal/ Tests/ Component/ Serialization/ YamlPeclTest.php - Ensures that php object support is disabled.
- YamlSymfonyTest::taggedValuesProvider in core/
tests/ Drupal/ Tests/ Component/ Serialization/ YamlSymfonyTest.php - Data provider for testCustomTagSupport().
- YamlSymfonyTest::testEncodeObjectSupportDisabled in core/
tests/ Drupal/ Tests/ Component/ Serialization/ YamlSymfonyTest.php - Ensures that php object support is disabled.
- YamlTest::testEncodeObjectSupportDisabled in core/
tests/ Drupal/ Tests/ Component/ Serialization/ YamlTest.php - Ensures that php object support is disabled.
- YamlTestBase::providerEncodeDecodeTests in core/
tests/ Drupal/ Tests/ Component/ Serialization/ YamlTestBase.php - Some data that should be able to be serialized.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.