735 string references to 'Test'
- AccessAwareRouterTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Routing/ AccessAwareRouterTest.php - ActiveLinkResponseFilterTest::providerTestSetLinkActiveClass in core/
tests/ Drupal/ Tests/ Core/ EventSubscriber/ ActiveLinkResponseFilterTest.php - Provides test data for testSetLinkActiveClass().
- ActiveWorkspaceUpdateTest::testActiveWorkspaceDuringUpdate in core/
modules/ workspaces/ tests/ src/ Functional/ UpdateSystem/ ActiveWorkspaceUpdateTest.php - Tests that there is no active workspace during database updates.
- AjaxTestController::render in core/
modules/ system/ tests/ modules/ ajax_test/ src/ Controller/ AjaxTestController.php - Returns a render array that will be rendered by AjaxRenderer.
- ajax_test.libraries.yml in core/
modules/ system/ tests/ modules/ ajax_test/ ajax_test.libraries.yml - core/modules/system/tests/modules/ajax_test/ajax_test.libraries.yml
- AlterTest::testAlterChangeConditional in core/
tests/ Drupal/ KernelTests/ Core/ Database/ AlterTest.php - Tests that we can alter a query's conditionals.
- AlterTest::testAlterChangeFields in core/
tests/ Drupal/ KernelTests/ Core/ Database/ AlterTest.php - Tests that we can alter the fields of a query.
- AlterTest::testAlterExpression in core/
tests/ Drupal/ KernelTests/ Core/ Database/ AlterTest.php - Tests that we can alter expressions in the query.
- AlterTest::testAlterRemoveRange in core/
tests/ Drupal/ KernelTests/ Core/ Database/ AlterTest.php - Tests that we can remove a range() value from a query.
- AlterTest::testSimpleAlter in core/
tests/ Drupal/ KernelTests/ Core/ Database/ AlterTest.php - Tests that we can do basic alters.
- AlterTest::testSimpleAlterSubquery in core/
tests/ Drupal/ KernelTests/ Core/ Database/ AlterTest.php - Tests that we can do basic alters on subqueries.
- AreaEntityTest::doTestRender in core/
modules/ views/ tests/ src/ Kernel/ Handler/ AreaEntityTest.php - Tests rendering the entity area handler.
- BackendChainImplementationUnitTest::testDelete in core/
tests/ Drupal/ Tests/ Core/ Cache/ BackendChainImplementationUnitTest.php - Test that delete will propagate.
- BackendChainImplementationUnitTest::testSet in core/
tests/ Drupal/ Tests/ Core/ Cache/ BackendChainImplementationUnitTest.php - Test that set will propagate.
- BlockComponentRenderArrayTest::testOnBuildRender in core/
modules/ layout_builder/ tests/ src/ Unit/ BlockComponentRenderArrayTest.php - @covers ::onBuildRender
- BlockComponentRenderArrayTest::testOnBuildRenderEmptyBuild in core/
modules/ layout_builder/ tests/ src/ Unit/ BlockComponentRenderArrayTest.php - @covers ::onBuildRender
- BlockComponentRenderArrayTest::testOnBuildRenderEmptyBuildWithCacheTags in core/
modules/ layout_builder/ tests/ src/ Unit/ BlockComponentRenderArrayTest.php - @covers ::onBuildRender
- BlockComponentRenderArrayTest::testOnBuildRenderInPreview in core/
modules/ layout_builder/ tests/ src/ Unit/ BlockComponentRenderArrayTest.php - @covers ::onBuildRender
- BlockComponentRenderArrayTest::testOnBuildRenderInPreviewEmptyBuild in core/
modules/ layout_builder/ tests/ src/ Unit/ BlockComponentRenderArrayTest.php - @covers ::onBuildRender
- BlockComponentRenderArrayTest::testOnBuildRenderWithoutPreviewFallbackString in core/
modules/ layout_builder/ tests/ src/ Unit/ BlockComponentRenderArrayTest.php - @covers ::onBuildRender
- BlockConfigEntityUnitTest::testCalculateDependencies in core/
modules/ block/ tests/ src/ Unit/ BlockConfigEntityUnitTest.php - @covers ::calculateDependencies
- BlockFormTest::testGetUniqueMachineName in core/
modules/ block/ tests/ src/ Unit/ BlockFormTest.php - Tests the unique machine name generator.
- BrokenSetUpTest::testMethod in core/
modules/ simpletest/ src/ Tests/ BrokenSetUpTest.php - Runs this test case from within the simpletest child site.
- CacheContextOptimizationTest::testUserPermissionCacheContextOptimization in core/
tests/ Drupal/ KernelTests/ Core/ Cache/ CacheContextOptimizationTest.php - Ensures that 'user.permissions' cache context is able to define cache tags.
- CacheContextOptimizationTest::testUserRolesCacheContextOptimization in core/
tests/ Drupal/ KernelTests/ Core/ Cache/ CacheContextOptimizationTest.php - Ensures that 'user.roles' still works when it is optimized away.
- CheckRequirementsTest::testException in core/
modules/ migrate/ tests/ src/ Unit/ Plugin/ migrate/ destination/ CheckRequirementsTest.php - Tests the check requirements exception message.
- CKEditorTest::testConstructorDeprecation in core/
modules/ ckeditor/ tests/ src/ Kernel/ CKEditorTest.php - @deprecationMessage Calling CKEditor::__construct() without the $state argument is deprecated in drupal:8.8.0. The $state argument is required in drupal:9.0.0. See https://www.drupal.org/node/3075102. @group legacy
- CollectRoutesTest::setUp in core/
modules/ rest/ tests/ src/ Unit/ CollectRoutesTest.php - CommentLockTest::testLocks in core/
modules/ comment/ tests/ src/ Unit/ Entity/ CommentLockTest.php - Test the lock behavior.
- CommentOrphanTest::testOrphan in core/
modules/ comment/ tests/ src/ Kernel/ CommentOrphanTest.php - Test loading/deleting/rendering orphaned comments.
- CommentValidationTest::testValidation in core/
modules/ comment/ tests/ src/ Kernel/ CommentValidationTest.php - Tests the comment validation constraints.
- common_test_page_attachments in core/
modules/ system/ tests/ modules/ common_test/ common_test.module - Implements hook_page_attachments().
- common_test_page_attachments_alter in core/
modules/ system/ tests/ modules/ common_test/ common_test.module - Implements hook_page_attachments_alter().
- ComplexDataNormalizerTest::testNormalizeNonComplex in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ ComplexDataNormalizerTest.php - Test normalize() where $object does not implement ComplexDataInterface.
- ConfigDiffTest::testCollectionDiff in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigDiffTest.php - Tests calculating the difference between two sets of config collections.
- ConfigEntityBaseUnitTest::providerCalculateDependenciesWithPluginCollections in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ ConfigEntityBaseUnitTest.php - Data provider for testCalculateDependenciesWithPluginCollections.
- ConfigEntityBaseUnitTest::testCalculateDependenciesWithThirdPartySettings in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ ConfigEntityBaseUnitTest.php - @covers ::calculateDependencies @covers ::getDependencies @covers ::onDependencyRemoval
- ConfigEntityBaseUnitTest::testThirdPartySettings in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ ConfigEntityBaseUnitTest.php - @covers ::getThirdPartySetting @covers ::setThirdPartySetting @covers ::getThirdPartySettings @covers ::unsetThirdPartySetting @covers ::getThirdPartyProviders
- ConfigEntityMapperTest::testGetTypeLabel in core/
modules/ config_translation/ tests/ src/ Unit/ ConfigEntityMapperTest.php - Tests ConfigEntityMapper::getTypeLabel().
- ConfigEntityMapperTest::testGetTypeName in core/
modules/ config_translation/ tests/ src/ Unit/ ConfigEntityMapperTest.php - Tests ConfigEntityMapper::getTypeName().
- ConfigEntityNormalizerTest::testDenormalize in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ ConfigEntityNormalizerTest.php - @covers ::denormalize
- ConfigEntityNormalizerTest::testNormalize in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ ConfigEntityNormalizerTest.php - Tests the normalize() method.
- ConfigEntityQueryTest::testLookupKeys in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ ConfigEntityQueryTest.php - Tests lookup keys are added to the key value store.
- ConfigEntityTypeTest::testGetPropertiesToExportSchemaFallback in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ ConfigEntityTypeTest.php - @covers ::getPropertiesToExport
- ConfigImporterTest::testUnmetDependency in core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigImporterTest.php - Tests dependency validation during configuration import.
- ConfigMapperManagerTest::testHasTranslatable in core/
modules/ config_translation/ tests/ src/ Unit/ ConfigMapperManagerTest.php - Tests ConfigMapperManager::hasTranslatable().
- ConfigMapperTest::testAddingConfigNames in core/
modules/ config_translation/ tests/ src/ Kernel/ ConfigMapperTest.php - Tests adding config names to mapper.
- ConfigNamesMapperTest::testAddConfigName in core/
modules/ config_translation/ tests/ src/ Unit/ ConfigNamesMapperTest.php - Tests ConfigNamesMapper::addConfigName().
- config_translation_test.content.yml in core/
modules/ config_translation/ tests/ modules/ config_translation_test/ config/ install/ config_translation_test.content.yml - core/modules/config_translation/tests/modules/config_translation_test/config/install/config_translation_test.content.yml
- config_translation_test.content.yml in core/
modules/ config_translation/ tests/ modules/ config_translation_test/ config/ install/ config_translation_test.content.yml - core/modules/config_translation/tests/modules/config_translation_test/config/install/config_translation_test.content.yml
- ConnectionTest::testConnectionOptions in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ConnectionTest.php - Tests the connection options of the active database.
- ConnectionUnitTest::testConnectionOpen in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ConnectionUnitTest.php - Tests pdo options override.
- ContainerAwareEventDispatcherTest::testEventReceivesTheDispatcherInstanceAsArgument in core/
tests/ Drupal/ Tests/ Component/ EventDispatcher/ ContainerAwareEventDispatcherTest.php - ContentEntityHasChangesTest::testHasTranslationChanges in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ ContentEntityHasChangesTest.php - Tests the correct functionality of the hasTranslationChanges() function.
- ContentEntityNormalizerTest::testNormalize in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ ContentEntityNormalizerTest.php - Tests the normalize() method.
- ContentEntityNormalizerTest::testNormalizeWithAccountContext in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ ContentEntityNormalizerTest.php - Tests the normalize() method with account context passed.
- ContentEntityNullStorageTest::testDeleteThroughImport in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ ContentEntityNullStorageTest.php - Tests deleting a contact form entity via a configuration import.
- ContentEntityTest::testMediaSource in core/
modules/ migrate_drupal/ tests/ src/ Kernel/ Plugin/ migrate/ source/ ContentEntityTest.php - Tests media source plugin.
- ContentModerationRouteSubscriberTest::testSetLatestRevisionFlag in core/
modules/ content_moderation/ tests/ src/ Unit/ ContentModerationRouteSubscriberTest.php - Tests that the "load_latest_revision" flag is handled correctly.
- ContentModerationStateTest::createEntity in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationStateTest.php - Creates an entity.
- ContentModerationWorkflowTypeApiTest::setUp in core/
modules/ content_moderation/ tests/ src/ Kernel/ ContentModerationWorkflowTypeApiTest.php - ContentModerationWorkflowTypeTest::testNewWorkflow in core/
modules/ content_moderation/ tests/ src/ Functional/ ContentModerationWorkflowTypeTest.php - Test creating a new workflow using the content moderation plugin.
- ContentModerationWorkflowTypeTest::testNewWorkflow in core/
modules/ content_moderation/ tests/ src/ Functional/ ContentModerationWorkflowTypeTest.php - Test creating a new workflow using the content moderation plugin.
- ContentTranslationContextualLinksTest::testContentTranslationContextualLinks in core/
modules/ content_translation/ tests/ src/ FunctionalJavascript/ ContentTranslationContextualLinksTest.php - Tests that a contextual link is available for translating a node.
- ContentTranslationHandlerTest::providerTestEntityFormSharedElements in core/
modules/ content_translation/ tests/ src/ Kernel/ ContentTranslationHandlerTest.php - Returns test cases for ::testEntityFormSharedElements().
- ContentTranslationModuleInstallTest::testFieldUpdates in core/
modules/ content_translation/ tests/ src/ Kernel/ ContentTranslationModuleInstallTest.php - Test that content translation fields are created upon module installation.
- ContentTranslationSettingsTest::testFieldTranslatableSettingsUI in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationSettingsTest.php - Tests that field setting depends on bundle translatability.
- ContextDefinitionTest::testDefaultValue in core/
tests/ Drupal/ Tests/ Core/ Plugin/ Context/ ContextDefinitionTest.php - @covers ::getDefaultValue @covers ::setDefaultValue
- ContextTest::testDefaultDataValue in core/
tests/ Drupal/ Tests/ Core/ Plugin/ Context/ ContextTest.php - @covers ::getContextData
- ContextTest::testDefaultValue in core/
tests/ Drupal/ Tests/ Core/ Plugin/ Context/ ContextTest.php - @covers ::getContextValue
- ContextTest::testDefaultValue in core/
tests/ Drupal/ Tests/ Component/ Plugin/ Context/ ContextTest.php - @covers ::getContextValue
- ContextualFiltersBlockContextTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Plugin/ ContextualFiltersBlockContextTest.php - core.entity_view_mode.entity_test.test.yml in core/
modules/ system/ tests/ modules/ entity_test/ config/ install/ core.entity_view_mode.entity_test.test.yml - core/modules/system/tests/modules/entity_test/config/install/core.entity_view_mode.entity_test.test.yml
- CssCollectionRendererUnitTest::providerTestRender in core/
tests/ Drupal/ Tests/ Core/ Asset/ CssCollectionRendererUnitTest.php - Provides data for the CSS asset rendering test.
- CustomPageExceptionHtmlSubscriberTest::setUp in core/
tests/ Drupal/ Tests/ Core/ EventSubscriber/ CustomPageExceptionHtmlSubscriberTest.php - DatabaseBackendTagTest::testTagInvalidations in core/
tests/ Drupal/ KernelTests/ Core/ Cache/ DatabaseBackendTagTest.php - DatabaseBackendTest::testGarbageCollection in core/
tests/ Drupal/ KernelTests/ Core/ Cache/ DatabaseBackendTest.php - Tests the row count limiting of cache bin database tables.
- DatabaseLegacyTest::testDbAddField in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseLegacyTest.php - Tests deprecation of the db_add_field() function.
- DatabaseLegacyTest::testDbAddIndex in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseLegacyTest.php - Tests deprecation of the db_add_index() function.
- DatabaseLegacyTest::testDbAddUniqueKey in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseLegacyTest.php - Tests deprecation of the db_add_unique_key() function.
- DatabaseLegacyTest::testDbChangeField in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseLegacyTest.php - Tests the db_change_field() function is deprecated.
- DatabaseLegacyTest::testDbDelete in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseLegacyTest.php - Tests deprecation of the db_delete() function.
- DatabaseLegacyTest::testDbDropField in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseLegacyTest.php - Tests deprecation of the db_drop_field() function.
- DatabaseLegacyTest::testDbDropIndex in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseLegacyTest.php - Tests deprecation of the db_drop_index() function.
- DatabaseLegacyTest::testDbDropUniqueKey in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseLegacyTest.php - Tests deprecation of the db_drop_unique_key() function.
- DatabaseLegacyTest::testDbEscapeField in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseLegacyTest.php - Tests deprecation of the db_escape_field() function.
- DatabaseLegacyTest::testDbEscapeTable in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseLegacyTest.php - Tests deprecation of the db_escape_table() function.
- DatabaseLegacyTest::testDbFieldExists in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseLegacyTest.php - Tests deprecation of the db_field_exists() function.
- DatabaseLegacyTest::testDbFieldSetDefault in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseLegacyTest.php - Tests deprecation of the db_field_set_default() function.
- DatabaseLegacyTest::testDbIndexExists in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseLegacyTest.php - Tests deprecation of the db_index_exists() function.
- DatabaseLegacyTest::testDbInsert in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseLegacyTest.php - Tests the db_insert() function.
- DatabaseLegacyTest::testDbMerge in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseLegacyTest.php - Tests deprecation of the db_merge() function.
- DatabaseLegacyTest::testDbRenameTable in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseLegacyTest.php - Tests deprecation of the db_rename_table() function.
- DatabaseLegacyTest::testDbSelect in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseLegacyTest.php - Tests the db_select() function.
- DatabaseLegacyTest::testDbTableExists in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseLegacyTest.php - Tests the db_table_exists() function.
- DatabaseLegacyTest::testDbTruncate in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseLegacyTest.php - Tests deprecation of the db_truncate() function.
- DatabaseLegacyTest::testDbUpdate in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseLegacyTest.php - Tests the db_update() function.
- DatabaseTestBase::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseTestBase.php - DatabaseTestController::pagerQueryEven in core/
modules/ system/ tests/ modules/ database_test/ src/ Controller/ DatabaseTestController.php - Runs a pager query and returns the results.
- database_test_query_alter in core/
modules/ system/ tests/ modules/ database_test/ database_test.module - Implements hook_query_alter().
- DbCommandBaseTester::configure in core/
modules/ system/ tests/ src/ Kernel/ Scripts/ DbCommandBaseTest.php - DbDumpTest::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Command/ DbDumpTest.php - DbDumpTest::testScriptLoad in core/
tests/ Drupal/ KernelTests/ Core/ Command/ DbDumpTest.php - Test loading the script back into the database.
- DbLogControllerTest::testNonLatinCharacters in core/
modules/ dblog/ tests/ src/ Kernel/ DbLogControllerTest.php - Tests links with non latin characters.
- DefaultTableMappingTest::providerTestGetFieldColumnName in core/
tests/ Drupal/ Tests/ Core/ Entity/ Sql/ DefaultTableMappingTest.php - Provides test data for testGetFieldColumnName().
- DefaultTableMappingTest::testGetAllColumns in core/
tests/ Drupal/ Tests/ Core/ Entity/ Sql/ DefaultTableMappingTest.php - Tests DefaultTableMapping::getAllColumns().
- DefaultTableMappingTest::testGetColumnNames in core/
tests/ Drupal/ Tests/ Core/ Entity/ Sql/ DefaultTableMappingTest.php - Tests DefaultTableMapping::getColumnNames().
- DefaultTableMappingTest::testGetFieldColumnName in core/
tests/ Drupal/ Tests/ Core/ Entity/ Sql/ DefaultTableMappingTest.php - Tests DefaultTableMapping::getFieldColumnName() with valid parameters.
- DefaultTableMappingTest::testGetFieldColumnNameInvalid in core/
tests/ Drupal/ Tests/ Core/ Entity/ Sql/ DefaultTableMappingTest.php - Tests DefaultTableMapping::getFieldColumnName() with invalid parameters.
- DefaultTableMappingTest::testGetFieldTableName in core/
tests/ Drupal/ Tests/ Core/ Entity/ Sql/ DefaultTableMappingTest.php - Tests DefaultTableMapping::getFieldTableName().
- DeleteActionTest::testDeleteAction in core/
tests/ Drupal/ KernelTests/ Core/ Action/ DeleteActionTest.php - @covers \Drupal\Core\Action\Plugin\Action\DeleteAction::execute
- DeleteTest::testInUse in core/
modules/ file/ tests/ src/ Kernel/ DeleteTest.php - Tries deleting a file that is in use.
- DisplayFeedTest::testFeedOutput in core/
modules/ views/ tests/ src/ Functional/ Plugin/ DisplayFeedTest.php - Tests the rendered output.
- DisplayTest::getType in core/
modules/ views/ tests/ modules/ views_test_data/ src/ Plugin/ views/ display/ DisplayTest.php - Returns the display type that this display requires.
- DisplayVariantTest::providerTestGetConfiguration in core/
tests/ Drupal/ Tests/ Core/ Display/ DisplayVariantTest.php - Provides test data for testGetConfiguration().
- DisplayVariantTest::providerTestGetConfiguration in core/
tests/ Drupal/ Tests/ Core/ Display/ DisplayVariantTest.php - Provides test data for testGetConfiguration().
- DocParserTest::testKeyHasNumber in core/
tests/ Drupal/ Tests/ Component/ Annotation/ Doctrine/ DocParserTest.php - DoTrustedCallbackTraitTest::providerTestTrustedCallbacks in core/
tests/ Drupal/ Tests/ Core/ Security/ DoTrustedCallbackTraitTest.php - Data provider for ::testTrustedCallbacks().
- DoTrustedCallbackTraitTest::testTrustedCallbacks in core/
tests/ Drupal/ Tests/ Core/ Security/ DoTrustedCallbackTraitTest.php - @covers ::doTrustedCallback @dataProvider providerTestTrustedCallbacks
- DrupalKernelTest::testFindSitePath in core/
tests/ Drupal/ Tests/ Core/ DrupalKernel/ DrupalKernelTest.php - Tests site path finding.
- DrupalSqlBaseTest::testSourceDatabaseError in core/
modules/ migrate_drupal/ tests/ src/ Unit/ source/ DrupalSqlBaseTest.php - @covers ::checkRequirements
- DrupalStandardsListenerDeprecatedClass::testFunction in core/
modules/ system/ tests/ modules/ deprecation_test/ src/ Deprecation/ DrupalStandardsListenerDeprecatedClass.php - Returns a known value.
- DrupalTest::testCache in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Tests the cache() method.
- DrupalTest::testL in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Tests the l() method.
- DrupalTest::testUrl in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Tests the url() method.
- EditorFileUsageTest::testEditorEntityHooks in core/
modules/ editor/ tests/ src/ Kernel/ EditorFileUsageTest.php - Tests the configurable text editor manager.
- EditorFileUsageTest::testFileSaveOperations in core/
modules/ editor/ tests/ src/ Kernel/ EditorFileUsageTest.php - Tests file save operations when node with referenced files is saved.
- ElementInfoManagerTest::testGetInfoElementPlugin in core/
tests/ Drupal/ Tests/ Core/ Render/ ElementInfoManagerTest.php - Tests the getInfo() method when render element plugins are used.
- ElementInfoManagerTest::testGetInfoProperty in core/
tests/ Drupal/ Tests/ Core/ Render/ ElementInfoManagerTest.php - @covers ::getInfoProperty
- EntityAccessControlHandlerTest::testEntityAccess in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityAccessControlHandlerTest.php - Ensures entity access is properly working.
- EntityAccessControlHandlerTest::testEntityTranslationAccess in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityAccessControlHandlerTest.php - Ensures entity access for entity translations is properly working.
- EntityAccessControlHandlerTest::testHooks in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityAccessControlHandlerTest.php - Tests hook invocations.
- EntityAddUITest::testAddPageWithoutBundleEntities in core/
modules/ system/ tests/ src/ Functional/ Entity/ EntityAddUITest.php - Tests the add page for an entity type not using bundle entities.
- EntityApiTest::assertCRUD in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityApiTest.php - Executes a test set for a defined entity type and user.
- EntityApiTest::testEntityStorageExceptionHandling in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityApiTest.php - Tests that exceptions are thrown when saving or deleting an entity.
- EntityApiTest::testLoadMultiple in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityApiTest.php - Tests that the Entity storage loads the entities in the correct order.
- EntityCrudHookTest::testTaxonomyTermHooks in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityCrudHookTest.php - Tests hook invocations for CRUD operations on taxonomy terms.
- EntityCrudHookTest::testTaxonomyVocabularyHooks in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityCrudHookTest.php - Tests hook invocations for CRUD operations on taxonomy vocabularies.
- EntityDisplayBaseTest::testGetMode in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ EntityDisplayBaseTest.php - @covers ::getMode
- EntityDisplayBaseTest::testGetOriginalMode in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ EntityDisplayBaseTest.php - @covers ::getOriginalMode
- EntityDisplayBaseTest::testGetTargetBundle in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ EntityDisplayBaseTest.php - @covers ::getTargetBundle
- EntityDisplayBaseTest::testGetTargetEntityTypeId in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ EntityDisplayBaseTest.php - @covers ::getTargetEntityTypeId
- EntityDisplayBaseTest::testSetTargetBundle in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ EntityDisplayBaseTest.php - @covers ::setTargetBundle
- EntityFieldManagerTest::testGetBaseFieldDefinitionsTranslatableEntityTypeLangcode in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityFieldManagerTest.php - Tests the getBaseFieldDefinitions() method with a translatable entity type.
- EntityFormModeResourceTestBase::createEntity in core/
tests/ Drupal/ FunctionalTests/ Rest/ EntityFormModeResourceTestBase.php - Creates the entity to be tested.
- EntityFormModeResourceTestBase::getExpectedNormalizedEntity in core/
tests/ Drupal/ FunctionalTests/ Rest/ EntityFormModeResourceTestBase.php - Returns the expected normalization of the entity.
- EntityFormModeTest::createEntity in core/
modules/ jsonapi/ tests/ src/ Functional/ EntityFormModeTest.php - Creates the entity to be tested.
- EntityFormModeTest::getExpectedDocument in core/
modules/ jsonapi/ tests/ src/ Functional/ EntityFormModeTest.php - Returns the expected JSON:API document for the entity.
- EntityManagerTest::testLoadEntityByConfigTarget in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityManagerTest.php - Tests the loadEntityByConfigTarget() method.
- EntityNormalizerTest::testDenormalizeWithInvalidBundle in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ EntityNormalizerTest.php - Tests the denormalize method with a bundle property.
- EntityNormalizerTest::testDenormalizeWithNoBundle in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ EntityNormalizerTest.php - Tests the denormalize method with no bundle defined.
- EntityNormalizerTest::testDenormalizeWithNoFieldableEntityType in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ EntityNormalizerTest.php - Tests the denormalize method with no bundle defined.
- EntityNormalizerTest::testDenormalizeWithValidBundle in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ EntityNormalizerTest.php - Tests the denormalize method with a bundle property.
- EntityQueryAccessTest::testBlockContentEntityQueryAccess in core/
modules/ views/ tests/ src/ Functional/ Entity/ EntityQueryAccessTest.php - Tests that the 'block_content_access' query tag is respected by Views.
- EntityQueryAccessTest::testMediaEntityQueryAccess in core/
modules/ views/ tests/ src/ Functional/ Entity/ EntityQueryAccessTest.php - Tests that the 'media_access' query tag is respected by Views.
- EntityReferenceAdminTest::testFieldAdminHandler in core/
modules/ field/ tests/ src/ FunctionalJavascript/ EntityReference/ EntityReferenceAdminTest.php - Tests the Entity Reference Admin UI.
- EntityReferenceAdminTest::testFieldAdminHandler in core/
modules/ field/ tests/ src/ Functional/ EntityReference/ EntityReferenceAdminTest.php - Tests the Entity Reference Admin UI.
- EntityReferenceAutocompleteWidgetTest::doAutocomplete in core/
tests/ Drupal/ FunctionalJavascriptTests/ EntityReference/ EntityReferenceAutocompleteWidgetTest.php - Executes an autocomplete on a given field and waits for it to finish.
- EntityReferenceAutocompleteWidgetTest::testEntityReferenceAutocompleteWidget in core/
tests/ Drupal/ FunctionalJavascriptTests/ EntityReference/ EntityReferenceAutocompleteWidgetTest.php - Tests that the default autocomplete widget return the correct results.
- EntityReferenceFieldItemNormalizerTest::setUp in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ EntityReferenceFieldItemNormalizerTest.php - EntityReferenceFieldItemNormalizerTest::testConstructValueProperties in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ EntityReferenceFieldItemNormalizerTest.php - @covers ::constructValue
- EntityReferenceFieldItemNormalizerTest::testDenormalizeWithEmtpyUuid in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ EntityReferenceFieldItemNormalizerTest.php - @covers ::denormalize
- EntityReferenceFieldItemNormalizerTest::testDenormalizeWithId in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ EntityReferenceFieldItemNormalizerTest.php - @covers ::denormalize
- EntityReferenceFieldItemNormalizerTest::testDenormalizeWithTypeAndUuid in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ EntityReferenceFieldItemNormalizerTest.php - @covers ::denormalize
- EntityReferenceFieldItemNormalizerTest::testDenormalizeWithTypeWithIncorrectUuid in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ EntityReferenceFieldItemNormalizerTest.php - @covers ::denormalize
- EntityReferenceFieldItemNormalizerTest::testDenormalizeWithUuidWithIncorrectType in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ EntityReferenceFieldItemNormalizerTest.php - @covers ::denormalize
- EntityReferenceFieldItemNormalizerTest::testDenormalizeWithUuidWithoutType in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ EntityReferenceFieldItemNormalizerTest.php - @covers ::denormalize
- EntityReferenceFieldItemNormalizerTest::testNormalize in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ EntityReferenceFieldItemNormalizerTest.php - @covers ::normalize
- EntityReferenceFieldItemNormalizerTest::testNormalizeWithNewEntityReference in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ EntityReferenceFieldItemNormalizerTest.php - EntityReferenceFieldItemNormalizerTest::testNormalizeWithNoEntity in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ EntityReferenceFieldItemNormalizerTest.php - @covers ::normalize
- EntityResolverManagerTest::testSetRouteOptionsWithContentController in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityResolverManagerTest.php - Tests setRouteOptions() with a _content default.
- EntityResolverManagerTest::testSetRouteOptionsWithStandardRouteWithArgument in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityResolverManagerTest.php - Tests setRouteOptions() with a controller with a non entity argument.
- EntityRevisionConverterTest::testDeprecatedLoadPendingRevisionFlag in core/
modules/ content_moderation/ tests/ src/ Kernel/ EntityRevisionConverterTest.php - @covers ::convert @expectedDeprecationMessage The load_pending_revision flag has been deprecated. You should use load_latest_revision instead.
- EntityTestCompositeConstraintValidator::validate in core/
modules/ system/ tests/ modules/ entity_test/ src/ Plugin/ Validation/ Constraint/ EntityTestCompositeConstraintValidator.php - EntityTranslationTest::doTestEntityLanguageMethods in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityTranslationTest.php - Executes the entity language method tests for the given entity type.
- EntityTranslationTest::testTranslationObjectCache in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityTranslationTest.php - Tests the translation object cache.
- EntityTypeTest::providerTestGet in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityTypeTest.php - Provides test data for testGet.
- EntityTypeTest::providerTestSet in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityTypeTest.php - Provides test data for testSet.
- EntityTypeTest::testConstraintMethods in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityTypeTest.php - Tests the constraint methods.
- EntityTypeTest::testSetLinkTemplateWithInvalidPath in core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityTypeTest.php - @covers ::setLinkTemplate
- EntityUpdateInitialTest::setUp in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ EntityUpdateInitialTest.php - EntityValidationTest::testCompositeConstraintValidation in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityValidationTest.php - Tests composite constraints.
- EntityViewBuilderTest::testEntityViewBuilderCacheToggling in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityViewBuilderTest.php - Tests entity render cache toggling.
- EntityViewModeResourceTestBase::createEntity in core/
tests/ Drupal/ FunctionalTests/ Rest/ EntityViewModeResourceTestBase.php - Creates the entity to be tested.
- EntityViewModeResourceTestBase::getExpectedNormalizedEntity in core/
tests/ Drupal/ FunctionalTests/ Rest/ EntityViewModeResourceTestBase.php - Returns the expected normalization of the entity.
- EntityViewModeTest::createEntity in core/
modules/ jsonapi/ tests/ src/ Functional/ EntityViewModeTest.php - Creates the entity to be tested.
- EntityViewModeTest::getExpectedDocument in core/
modules/ jsonapi/ tests/ src/ Functional/ EntityViewModeTest.php - Returns the expected JSON:API document for the entity.
- EntityViewsWithMultivalueBasefieldTest::testView in core/
modules/ views/ tests/ src/ Kernel/ Entity/ EntityViewsWithMultivalueBasefieldTest.php - Tests entity views with multivalue base fields.
- entity_test.entity_test_bundle.test.yml in core/
modules/ content_translation/ tests/ modules/ content_translation_test/ config/ install/ entity_test.entity_test_bundle.test.yml - core/modules/content_translation/tests/modules/content_translation_test/config/install/entity_test.entity_test_bundle.test.yml
- ExtensionInstallStorageTest::providerTestProfileDeprecation in core/
tests/ Drupal/ Tests/ Core/ Config/ ExtensionInstallStorageTest.php - Data provider for ::testProfileDeprecation
- ExtractTest::testExtractFailDefault in core/
modules/ migrate/ tests/ src/ Unit/ process/ ExtractTest.php - Tests unsuccessful extraction.
- FetchTest::testQueryFetchAllColumn in core/
tests/ Drupal/ KernelTests/ Core/ Database/ FetchTest.php - Confirms that we can fetch all records into an array explicitly.
- field.field.node.article.field_ref_autocreate_2412569.yml in core/
modules/ field/ tests/ fixtures/ update/ field.field.node.article.field_ref_autocreate_2412569.yml - core/modules/field/tests/fixtures/update/field.field.node.article.field_ref_autocreate_2412569.yml
- FieldAccessTest::testFieldAccess in core/
tests/ Drupal/ KernelTests/ Core/ Field/ FieldAccessTest.php - Tests hook_entity_field_access() and hook_entity_field_access_alter().
- FieldBlockTest::getTestBlock in core/
modules/ layout_builder/ tests/ src/ Kernel/ FieldBlockTest.php - Instantiates a block for testing.
- FieldBlockTest::getTestBlock in core/
modules/ layout_builder/ tests/ src/ Kernel/ FieldBlockTest.php - Instantiates a block for testing.
- FieldBooleanTest::testFieldBoolean in core/
modules/ views/ tests/ src/ Kernel/ Handler/ FieldBooleanTest.php - 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().
- FieldUIDeleteTest::testDeleteField in core/
modules/ field_ui/ tests/ src/ Functional/ FieldUIDeleteTest.php - Tests that deletion removes field storages and fields as expected.
- FieldUIRouteTest::testFieldUIRoutes in core/
modules/ field_ui/ tests/ src/ Functional/ FieldUIRouteTest.php - Ensures that entity types with bundles do not break following entity types.
- FieldUpdateTest::testFieldUpdate8003 in core/
modules/ field/ tests/ src/ Functional/ Update/ FieldUpdateTest.php - Tests field_update_8003().
- FileCacheTest::setUp in core/
tests/ Drupal/ Tests/ Component/ FileCache/ FileCacheTest.php - FileCopyTest::assertPlugin in core/
modules/ migrate/ tests/ src/ Unit/ process/ FileCopyTest.php - Creates a TestFileCopy process plugin.
- FileFieldDisplayTest::testDescToggle in core/
modules/ file/ tests/ src/ Functional/ FileFieldDisplayTest.php - Tests description toggle for field instance configuration.
- FileStorageReadOnlyTest::setUp in core/
tests/ Drupal/ Tests/ Component/ PhpStorage/ FileStorageReadOnlyTest.php - FileStorageTest::setUp in core/
tests/ Drupal/ Tests/ Component/ PhpStorage/ FileStorageTest.php - FileStorageTest::testCreateDirectoryFailWarning in core/
tests/ Drupal/ Tests/ Component/ PhpStorage/ FileStorageTest.php - @covers ::createDirectory
- FileSystemTest::providerTestBasename in core/
tests/ Drupal/ Tests/ Core/ File/ FileSystemTest.php - FileViewsFieldAccessTest::testFileFields in core/
modules/ file/ tests/ src/ Kernel/ Views/ FileViewsFieldAccessTest.php - Check access for file fields.
- FilterHtmlTest::setUp in core/
modules/ filter/ tests/ src/ Unit/ FilterHtmlTest.php - FilterHtmlTest::testSetConfiguration in core/
modules/ filter/ tests/ src/ Unit/ FilterHtmlTest.php - @covers ::setConfiguration
- FixtureDeprecatedClass::testFunction in core/
modules/ system/ tests/ modules/ deprecation_test/ src/ Deprecation/ FixtureDeprecatedClass.php - Returns a known value.
- FormatStringTest::testFormatString in core/
tests/ Drupal/ KernelTests/ Core/ Bootstrap/ FormatStringTest.php - Tests error triggering on format_string.
- FormBuilderTest::testBuildFormWithClassString in core/
tests/ Drupal/ Tests/ Core/ Form/ FormBuilderTest.php - Tests the buildForm() method with a class name based form ID.
- FormBuilderTest::testBuildFormWithObject in core/
tests/ Drupal/ Tests/ Core/ Form/ FormBuilderTest.php - Tests the buildForm() method with a form object.
- FormBuilderTest::testGetFormWithClassString in core/
tests/ Drupal/ Tests/ Core/ Form/ FormBuilderTest.php - Tests the getForm() method with a class name based form ID.
- FormBuilderTest::testGetFormWithObject in core/
tests/ Drupal/ Tests/ Core/ Form/ FormBuilderTest.php - Tests the getForm() method with a form object.
- FormBuilderTest::testGetPostAjaxRequest in core/
tests/ Drupal/ Tests/ Core/ Form/ FormBuilderTest.php - @covers ::buildForm
- FormBuilderTest::testInvalidToken in core/
tests/ Drupal/ Tests/ Core/ Form/ FormBuilderTest.php - @covers ::doBuildForm
- FormElementInlineErrorTest::testDisplayErrorMessagesNotInline in core/
modules/ inline_form_errors/ tests/ src/ Kernel/ FormElementInlineErrorTest.php - Tests that no inline form errors are shown when disabled for a form.
- FormElementInlineErrorTest::testDisplayErrorMessagesNotInline in core/
modules/ inline_form_errors/ tests/ src/ Kernel/ FormElementInlineErrorTest.php - Tests that no inline form errors are shown when disabled for a form.
- FormErrorHandlerTest::testSetElementErrorsFromFormState in core/
tests/ Drupal/ Tests/ Core/ Form/ FormErrorHandlerTest.php - @covers ::handleFormErrors @covers ::setElementErrorsFromFormState
- FormErrorHandlerTest::testSetElementErrorsFromFormState in core/
tests/ Drupal/ Tests/ Core/ Form/ FormErrorHandlerTest.php - @covers ::handleFormErrors @covers ::setElementErrorsFromFormState
- FormStateTest::testFormErrorsDuringSubmission in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateTest.php - Tests that form errors during submission throw an exception.
- FormStateTest::testSetErrorByName in core/
tests/ Drupal/ Tests/ Core/ Form/ FormStateTest.php - @covers ::setErrorByName
- FormTestButtonClassForm::buildForm in core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestButtonClassForm.php - Form constructor.
- FormTestGroupDetailsForm::buildForm in core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestGroupDetailsForm.php - Form constructor.
- FormTestLimitValidationErrorsForm::buildForm in core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestLimitValidationErrorsForm.php - Form constructor.
- FormTestLimitValidationErrorsForm::buildForm in core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestLimitValidationErrorsForm.php - Form constructor.
- FormTestLimitValidationErrorsForm::partialSubmitForm in core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestLimitValidationErrorsForm.php - FormValidatorTest::providerTestRequiredErrorMessage in core/
tests/ Drupal/ Tests/ Core/ Form/ FormValidatorTest.php - FormValidatorTest::testElementValidate in core/
tests/ Drupal/ Tests/ Core/ Form/ FormValidatorTest.php - @covers ::doValidateForm
- FormValidatorTest::testElementValidate in core/
tests/ Drupal/ Tests/ Core/ Form/ FormValidatorTest.php - @covers ::doValidateForm
- FormValidatorTest::testPerformRequiredValidation in core/
tests/ Drupal/ Tests/ Core/ Form/ FormValidatorTest.php - @covers ::performRequiredValidation
- FormValidatorTest::testPerformRequiredValidation in core/
tests/ Drupal/ Tests/ Core/ Form/ FormValidatorTest.php - @covers ::performRequiredValidation
- FormValidatorTest::testRequiredErrorMessage in core/
tests/ Drupal/ Tests/ Core/ Form/ FormValidatorTest.php - @covers ::doValidateForm
- FrameworkTest::testAJAXRender in core/
modules/ system/ tests/ src/ Functional/ Ajax/ FrameworkTest.php - Verifies the Ajax rendering of a command in the settings.
- GenericCacheBackendUnitTestBase::testDelete in core/
modules/ system/ src/ Tests/ Cache/ GenericCacheBackendUnitTestBase.php - Tests Drupal\Core\Cache\CacheBackendInterface::delete().
- GenericCacheBackendUnitTestBase::testDelete in core/
tests/ Drupal/ KernelTests/ Core/ Cache/ GenericCacheBackendUnitTestBase.php - Tests Drupal\Core\Cache\CacheBackendInterface::delete().
- GenericCacheBackendUnitTestBase::testInvalidateTags in core/
modules/ system/ src/ Tests/ Cache/ GenericCacheBackendUnitTestBase.php - Tests Drupal\Core\Cache\CacheBackendInterface::invalidateTags().
- GenericCacheBackendUnitTestBase::testInvalidateTags in core/
tests/ Drupal/ KernelTests/ Core/ Cache/ GenericCacheBackendUnitTestBase.php - Tests Drupal\Core\Cache\CacheBackendInterface::invalidateTags().
- GenericCacheBackendUnitTestBase::testSetGet in core/
modules/ system/ src/ Tests/ Cache/ GenericCacheBackendUnitTestBase.php - Tests the get and set methods of Drupal\Core\Cache\CacheBackendInterface.
- GenericCacheBackendUnitTestBase::testSetGet in core/
tests/ Drupal/ KernelTests/ Core/ Cache/ GenericCacheBackendUnitTestBase.php - Tests the get and set methods of Drupal\Core\Cache\CacheBackendInterface.
- GetTest::integerValuesDataProvider in core/
modules/ migrate/ tests/ src/ Unit/ process/ GetTest.php - Provides data for the successful lookup test.
- GetTest::testTransformSourceString in core/
modules/ migrate/ tests/ src/ Unit/ process/ GetTest.php - Tests the Get plugin when source is a string.
- HelpTopicDiscoveryTest::testHelpTopicsDefinition in core/
modules/ help_topics/ tests/ src/ Unit/ HelpTopicDiscoveryTest.php - @covers ::findAll
- high_water_test.yml in core/
modules/ migrate/ tests/ modules/ migrate_high_water_test/ migrations/ high_water_test.yml - core/modules/migrate/tests/modules/migrate_high_water_test/migrations/high_water_test.yml
- HtmlTagTest::providerPreRenderHtmlTag in core/
tests/ Drupal/ Tests/ Core/ Render/ Element/ HtmlTagTest.php - Data provider for preRenderHtmlTag test.
- HtmlTagTest::testGetInfo in core/
tests/ Drupal/ Tests/ Core/ Render/ Element/ HtmlTagTest.php - @covers ::getInfo
- ImageDimensionsTest::testImageDimensions in core/
modules/ image/ tests/ src/ Functional/ ImageDimensionsTest.php - Test styled image dimensions cumulatively.
- ImageDimensionsTest::testImageDimensions in core/
modules/ image/ tests/ src/ Functional/ ImageDimensionsTest.php - Test styled image dimensions cumulatively.
- ImageFieldWidgetMultipleTest::testWidgetElementMultipleUploads in core/
modules/ image/ tests/ src/ FunctionalJavascript/ ImageFieldWidgetMultipleTest.php - Tests image widget element support multiple upload correctly.
- ImageImportTest::testImport in core/
modules/ image/ tests/ src/ Kernel/ ImageImportTest.php - Tests importing image styles.
- ImageStyleCustomStreamWrappersTest::setUp in core/
modules/ image/ tests/ src/ Kernel/ ImageStyleCustomStreamWrappersTest.php - ImageThemeFunctionTest::testImageFormatterTheme in core/
modules/ image/ tests/ src/ Kernel/ ImageThemeFunctionTest.php - Tests usage of the image field formatters.
- ImageThemeFunctionTest::testImageFormatterTheme in core/
modules/ image/ tests/ src/ Kernel/ ImageThemeFunctionTest.php - Tests usage of the image field formatters.
- ImageThemeFunctionTest::testImageStyleTheme in core/
modules/ image/ tests/ src/ Kernel/ ImageThemeFunctionTest.php - Tests usage of the image style theme function.
- ImmutableConfigTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Config/ ImmutableConfigTest.php - InOperatorTest::testValidate in core/
modules/ views/ tests/ src/ Unit/ Plugin/ filter/ InOperatorTest.php - @covers ::validate
- InsertDefaultsTest::testDefaultInsert in core/
tests/ Drupal/ KernelTests/ Core/ Database/ InsertDefaultsTest.php - Tests that we can run a query that uses default values for everything.
- InsertDefaultsTest::testDefaultInsertWithFields in core/
tests/ Drupal/ KernelTests/ Core/ Database/ InsertDefaultsTest.php - Tests that we can insert fields with values and defaults in the same query.
- InsertTest::testMultiInsert in core/
tests/ Drupal/ KernelTests/ Core/ Database/ InsertTest.php - Tests that we can insert multiple records in one query object.
- InsertTest::testRepeatedInsert in core/
tests/ Drupal/ KernelTests/ Core/ Database/ InsertTest.php - Tests that an insert object can be reused with new data after it executes.
- InsertTest::testSimpleInsert in core/
tests/ Drupal/ KernelTests/ Core/ Database/ InsertTest.php - Tests very basic insert functionality.
- InstallerConfigDirectorySetNoDirectoryErrorTest::prepareEnvironment in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerConfigDirectorySetNoDirectoryErrorTest.php - Prepares the current environment for running the test.
- InvokableUntrustedObject::__invoke in core/
tests/ Drupal/ Tests/ Core/ Security/ DoTrustedCallbackTraitTest.php - IteratorTest::testIterator in core/
modules/ migrate/ tests/ src/ Unit/ process/ IteratorTest.php - Tests the iterator process plugin.
- JsonApiRegressionTest::testPostToIncludeUrlDoesNotReturnIncludeFromIssue3026030 in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiRegressionTest.php - Ensure includes are respected even when POSTing.
- KernelTestBaseTest::testInstallSchema in core/
modules/ simpletest/ src/ Tests/ KernelTestBaseTest.php - Tests expected behavior of installSchema().
- KernelTestBaseTest::testRenderWithTheme in core/
tests/ Drupal/ KernelTests/ KernelTestBaseTest.php - @covers ::render
- language.content_settings.entity_test_with_bundle.test.yml in core/
modules/ content_translation/ tests/ modules/ content_translation_test/ config/ install/ language.content_settings.entity_test_with_bundle.test.yml - core/modules/content_translation/tests/modules/content_translation_test/config/install/language.content_settings.entity_test_with_bundle.test.yml
- LanguageFallbackTest::testCandidates in core/
modules/ language/ tests/ src/ Kernel/ LanguageFallbackTest.php - Tests language fallback candidates.
- LanguageNegotiationInfoTest::testInfoAlterations in core/
modules/ language/ tests/ src/ Functional/ LanguageNegotiationInfoTest.php - Tests alterations to language types/negotiation info.
- LanguageNegotiationUrlTest::testDomain in core/
modules/ language/ tests/ src/ Functional/ LanguageNegotiationUrlTest.php - @covers ::processInbound
- language_test_language_types_info in core/
modules/ language/ tests/ language_test/ language_test.module - Implements hook_language_types_info().
- LatestTranslationAffectedRevisionTest::testLatestRevisionFilter in core/
modules/ views/ tests/ src/ Kernel/ Entity/ LatestTranslationAffectedRevisionTest.php - Tests the 'Latest revision' filter.
- LegacyMigrationLookupTest::testCreateStubRow in core/
modules/ migrate/ tests/ src/ Unit/ process/ LegacyMigrationLookupTest.php - Tests ::createStubRow()
- LibraryDiscoveryCollectorTest::testDestruct in core/
tests/ Drupal/ Tests/ Core/ Asset/ LibraryDiscoveryCollectorTest.php - Tests the destruct method.
- LibraryDiscoveryCollectorTest::testResolveCacheMiss in core/
tests/ Drupal/ Tests/ Core/ Asset/ LibraryDiscoveryCollectorTest.php - Tests the resolve cache miss function.
- LibraryDiscoveryTest::testAssetLibraryDeprecation in core/
tests/ Drupal/ Tests/ Core/ Asset/ LibraryDiscoveryTest.php - Tests getting a deprecated library.
- LibraryDiscoveryTest::testGetLibrariesByExtension in core/
tests/ Drupal/ Tests/ Core/ Asset/ LibraryDiscoveryTest.php - @covers ::getLibrariesByExtension
- LibraryDiscoveryTest::testGetLibraryByName in core/
tests/ Drupal/ Tests/ Core/ Asset/ LibraryDiscoveryTest.php - Tests getting a library by name.
- LinkGeneratorTest::testGenerate in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the generate() method with a route.
- LinkGeneratorTest::testGenerateActive in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the active class on the link method.
- LinkGeneratorTest::testGenerateAttributes in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the link method with additional attributes.
- LinkGeneratorTest::testGenerateBubbleableMetadata in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the LinkGenerator's support for collecting bubbleable metadata.
- LinkGeneratorTest::testGenerateButton in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the generate() method with the <button> route.
- LinkGeneratorTest::testGenerateHrefs in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the link method with certain hrefs.
- LinkGeneratorTest::testGenerateNoLink in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the generate() method with the <nolink> route.
- LinkGeneratorTest::testGenerateNone in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the generate() method with the <none> route.
- LinkGeneratorTest::testGenerateOptions in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the link method with arbitrary passed options.
- LinkGeneratorTest::testGenerateParametersAsQuery in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the link method with passed query options via parameters.
- LinkGeneratorTest::testGenerateQuery in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the link method with passed query options.
- LinkGeneratorTest::testGenerateWithHtml in core/
tests/ Drupal/ Tests/ Core/ Utility/ LinkGeneratorTest.php - Tests the link method with html.
- LinkUriTest::providerTestNotRouted in core/
modules/ menu_link_content/ tests/ src/ Kernel/ Plugin/ migrate/ process/ LinkUriTest.php - Provides test cases for LinkUriTest::testNotRouted().
- ListNormalizerTest::testNormalize in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ ListNormalizerTest.php - Tests the normalize() method.
- LocalActionManagerTest::testGetTitle in core/
tests/ Drupal/ Tests/ Core/ Menu/ LocalActionManagerTest.php - @covers ::getTitle
- LocaleConfigManagerTest::testGetStringTranslation in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigManagerTest.php - Tests getStringTranslation().
- LocaleConfigSubscriberForeignTest::setUpLocale in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberForeignTest.php - Sets up the locale storage strings to be in line with configuration.
- LocaleConfigSubscriberForeignTest::testCreateActiveTranslation in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberForeignTest.php - Tests creating translations of shipped configuration.
- LocaleConfigSubscriberForeignTest::testDefaultConfigLanguage in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberForeignTest.php - Tests that the language of default configuration was updated.
- LocaleConfigSubscriberForeignTest::testDeleteTranslation in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberForeignTest.php - Tests deleting a translation override.
- LocaleConfigSubscriberForeignTest::testEnglish in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberForeignTest.php - Tests that adding English creates a translation override.
- LocaleConfigSubscriberForeignTest::testLocaleCreateActiveTranslation in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberForeignTest.php - Tests importing community translations of shipped configuration.
- LocaleConfigSubscriberForeignTest::testLocaleCreateActiveTranslation in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberForeignTest.php - Tests importing community translations of shipped configuration.
- LocaleConfigSubscriberForeignTest::testLocaleDeleteActiveTranslation in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberForeignTest.php - Tests deleting community translations of shipped configuration.
- LocaleConfigSubscriberForeignTest::testLocaleUpdateActiveTranslation in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberForeignTest.php - Tests updating community translations of shipped configuration.
- LocaleConfigSubscriberForeignTest::testUpdateActiveTranslation in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberForeignTest.php - Tests updating translations of shipped configuration.
- LocaleConfigSubscriberTest::setUpLocale in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberTest.php - Sets up the locale storage strings to be in line with configuration.
- LocaleConfigSubscriberTest::setUpLocale in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberTest.php - Sets up the locale storage strings to be in line with configuration.
- LocaleConfigSubscriberTest::testCreateTranslation in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberTest.php - Tests creating translations of shipped configuration.
- LocaleConfigSubscriberTest::testDeleteTranslation in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberTest.php - Tests deleting translations of shipped configuration.
- LocaleConfigSubscriberTest::testLocaleCreateTranslation in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberTest.php - Tests importing community translations of shipped configuration.
- LocaleConfigSubscriberTest::testLocaleCreateTranslation in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberTest.php - Tests importing community translations of shipped configuration.
- LocaleConfigSubscriberTest::testLocaleDeleteTranslation in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberTest.php - Tests deleting community translations of shipped configuration.
- LocaleConfigSubscriberTest::testLocaleUpdateTranslation in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberTest.php - Tests updating community translations of shipped configuration.
- LocaleConfigSubscriberTest::testUpdateTranslation in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigSubscriberTest.php - Tests updating translations of shipped configuration.
- LocaleConfigurableLanguageManagerTest::testGetLanguages in core/
modules/ locale/ tests/ src/ Kernel/ LocaleConfigurableLanguageManagerTest.php - LocaleLookupTest::resolveCacheMissWithFallbackProvider in core/
modules/ locale/ tests/ src/ Unit/ LocaleLookupTest.php - Provides test data for testResolveCacheMissWithFallback().
- LocaleLookupTest::testResolveCacheMissNoTranslation in core/
modules/ locale/ tests/ src/ Unit/ LocaleLookupTest.php - Tests locale lookups without a found translation.
- LocaleLookupTest::testResolveCacheMissWithFallback in core/
modules/ locale/ tests/ src/ Unit/ LocaleLookupTest.php - Tests locale lookups with fallback.
- LocaleLookupTest::testResolveCacheMissWithoutFallback in core/
modules/ locale/ tests/ src/ Unit/ LocaleLookupTest.php - Tests locale lookups without fallback.
- LocaleLookupTest::testResolveCacheMissWithPersist in core/
modules/ locale/ tests/ src/ Unit/ LocaleLookupTest.php - Tests locale lookups with persistent tracking.
- locale_test.no_translation.yml in core/
modules/ locale/ tests/ modules/ locale_test/ config/ install/ locale_test.no_translation.yml - core/modules/locale/tests/modules/locale_test/config/install/locale_test.no_translation.yml
- locale_test.schema.yml in core/
modules/ locale/ tests/ modules/ locale_test/ config/ schema/ locale_test.schema.yml - core/modules/locale/tests/modules/locale_test/config/schema/locale_test.schema.yml
- LocalTasksTest::testPluginLocalTask in core/
modules/ system/ tests/ src/ Functional/ Menu/ LocalTasksTest.php - Tests the plugin based local tasks.
- LoggerChannelFactoryTest::testGet in core/
tests/ Drupal/ Tests/ Core/ Logger/ LoggerChannelFactoryTest.php - Tests LoggerChannelFactory::get().
- LoggerChannelTest::providerTestLog in core/
tests/ Drupal/ Tests/ Core/ Logger/ LoggerChannelTest.php - Data provider for self::testLog().
- LoggerChannelTest::testLog in core/
tests/ Drupal/ Tests/ Core/ Logger/ LoggerChannelTest.php - Tests LoggerChannel::log().
- LoggerChannelTest::testLogRecursionProtection in core/
tests/ Drupal/ Tests/ Core/ Logger/ LoggerChannelTest.php - Tests LoggerChannel::log() recursion protection.
- MachineNameTest::providerTestValueCallback in core/
tests/ Drupal/ Tests/ Core/ Render/ Element/ MachineNameTest.php - Data provider for testValueCallback().
- MachineNameTest::testProcessMachineName in core/
tests/ Drupal/ Tests/ Core/ Render/ Element/ MachineNameTest.php - @covers ::processMachineName
- ManageDisplayTest::testFormatterUI in core/
modules/ field_ui/ tests/ src/ FunctionalJavascript/ ManageDisplayTest.php - Tests formatter settings.
- ManageDisplayTest::testNonInitializedFields in core/
modules/ field_ui/ tests/ src/ Functional/ ManageDisplayTest.php - Tests that fields with no explicit display settings do not break.
- ManageDisplayTest::testNonInitializedFields in core/
modules/ field_ui/ tests/ src/ Functional/ ManageDisplayTest.php - Tests that fields with no explicit display settings do not break.
- ManageDisplayTest::testViewModeCustom in core/
modules/ field_ui/ tests/ src/ Functional/ ManageDisplayTest.php - Tests switching view modes to use custom or 'default' settings'.
- ManageDisplayTest::testWidgetUI in core/
modules/ field_ui/ tests/ src/ FunctionalJavascript/ ManageDisplayTest.php - Tests widget settings.
- ManageFieldsFunctionalTest::testDefaultValue in core/
modules/ field_ui/ tests/ src/ Functional/ ManageFieldsFunctionalTest.php - Tests that default value is correctly validated and saved.
- MatcherDumperTest::testAddAdditionalRoutes in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ MatcherDumperTest.php - Confirms that we can add routes to the dumper when it already has some.
- MatcherDumperTest::testAddRoutes in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ MatcherDumperTest.php - Confirms that we can add routes to the dumper.
- MatcherDumperTest::testDump in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ MatcherDumperTest.php - Confirm that we can dump a route collection to the database.
- MatcherDumperTest::testMenuMasksGeneration in core/
tests/ Drupal/ KernelTests/ Core/ Routing/ MatcherDumperTest.php - Tests the determination of the masks generation.
- media.type.test.yml in core/
modules/ media/ tests/ modules/ media_test_type/ config/ install/ media.type.test.yml - core/modules/media/tests/modules/media_test_type/config/install/media.type.test.yml
- media.type.type_one.yml in core/
modules/ media_library/ tests/ modules/ media_library_test/ config/ install/ media.type.type_one.yml - core/modules/media_library/tests/modules/media_library_test/config/install/media.type.type_one.yml
- media.type.type_two.yml in core/
modules/ media_library/ tests/ modules/ media_library_test/ config/ install/ media.type.type_two.yml - core/modules/media_library/tests/modules/media_library_test/config/install/media.type.type_two.yml
- MediaAccessControlHandlerTest::testAccess in core/
modules/ media/ tests/ src/ Kernel/ MediaAccessControlHandlerTest.php - Tests the media access control handler.
- MediaAccessControlHandlerTest::testCreateAccess in core/
modules/ media/ tests/ src/ Kernel/ MediaAccessControlHandlerTest.php - @covers ::checkCreateAccess @dataProvider providerCreateAccess
- MediaAccessTest::testCanonicalMediaAccess in core/
modules/ media/ tests/ src/ Functional/ MediaAccessTest.php - Test view access control on the canonical page.
- MediaAccessTest::testMediaAccess in core/
modules/ media/ tests/ src/ Functional/ MediaAccessTest.php - Test some access control functionality.
- MediaAccessTest::testMediaAnonymousUserAccess in core/
modules/ media/ tests/ src/ Functional/ MediaAccessTest.php - Tests media access of anonymous user.
- MediaAccessTest::testReferencedRendering in core/
modules/ media/ tests/ src/ Functional/ MediaAccessTest.php - Tests access for embedded medias.
- MediaAccessTest::testUnpublishedMediaUserAccess in core/
modules/ media/ tests/ src/ Functional/ MediaAccessTest.php - Tests unpublished media access.
- MediaBulkFormTest::setUp in core/
modules/ media/ tests/ src/ Functional/ MediaBulkFormTest.php - MediaCacheTagsTest::createEntity in core/
modules/ media/ tests/ src/ Functional/ MediaCacheTagsTest.php - Creates the entity to be tested.
- MediaContextualLinksTest::testMediaContextualLinks in core/
modules/ media/ tests/ src/ Functional/ MediaContextualLinksTest.php - Tests contextual links.
- MediaCreationTest::testMediaTypeCreation in core/
modules/ media/ tests/ src/ Kernel/ MediaCreationTest.php - Tests creating a media type programmatically.
- MediaDisplayTest::testMediaDisplay in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaDisplayTest.php - Test basic media display.
- MediaKernelTestBase::setUp in core/
modules/ media/ tests/ src/ Kernel/ MediaKernelTestBase.php - MediaLibraryAccessTest::testFieldWidgetEntityCreateAccess in core/
modules/ media_library/ tests/ src/ Kernel/ MediaLibraryAccessTest.php - Tests that the field widget opener respects entity creation permissions.
- MediaLibraryAccessTest::testFieldWidgetEntityEditAccess in core/
modules/ media_library/ tests/ src/ Kernel/ MediaLibraryAccessTest.php - Tests that the field widget opener respects entity-specific access.
- MediaLibraryAccessTest::testFieldWidgetEntityFieldAccess in core/
modules/ media_library/ tests/ src/ Kernel/ MediaLibraryAccessTest.php - Tests that the field widget opener respects entity field-level access.
- MediaLibraryAccessTest::testViewAccess in core/
modules/ media_library/ tests/ src/ Kernel/ MediaLibraryAccessTest.php - Tests that media library access respects the media_library view.
- MediaLibraryAddFormTest::buildLibraryUi in core/
modules/ media_library/ tests/ src/ Kernel/ MediaLibraryAddFormTest.php - Build the media library UI for a selected type.
- MediaLibraryAddFormTest::testSelectedTypeValidation in core/
modules/ media_library/ tests/ src/ Kernel/ MediaLibraryAddFormTest.php - Tests the validation of the selected type in the media library add form.
- MediaLibraryStateTest::providerCreate in core/
modules/ media_library/ tests/ src/ Kernel/ MediaLibraryStateTest.php - Data provider for testCreate().
- MediaLibraryStateTest::providerFromRequest in core/
modules/ media_library/ tests/ src/ Kernel/ MediaLibraryStateTest.php - Data provider for testFromRequest().
- MediaLibraryStateTest::testHashUnaffectedByMediaTypeOrder in core/
modules/ media_library/ tests/ src/ Kernel/ MediaLibraryStateTest.php - Test that hash is unaffected by allowed media type order.
- MediaLibraryStateTest::testHashUnaffectedByOpenerParamOrder in core/
modules/ media_library/ tests/ src/ Kernel/ MediaLibraryStateTest.php - Test that hash is unaffected by opener parameter order.
- MediaLibraryStateTest::testMethods in core/
modules/ media_library/ tests/ src/ Kernel/ MediaLibraryStateTest.php - Tests the media library state methods.
- MediaLibraryStateTest::testOpenerParameters in core/
modules/ media_library/ tests/ src/ Kernel/ MediaLibraryStateTest.php - @covers ::getOpenerParameters
- MediaOverviewPageTest::testMediaOverviewPage in core/
modules/ media/ tests/ src/ Functional/ MediaOverviewPageTest.php - Test that the Media overview page (/admin/content/media).
- MediaRevisionTest::testRevisions in core/
modules/ media/ tests/ src/ Functional/ MediaRevisionTest.php - Checks media revision operations.
- MediaSourceTest::testSourceConfigurationSubmit in core/
modules/ media/ tests/ src/ Kernel/ MediaSourceTest.php - Tests configuration form submit handler on the base media source plugin.
- MediaSourceTest::testSourceFieldCreation in core/
modules/ media/ tests/ src/ Kernel/ MediaSourceTest.php - Tests logic related to the automated source field creation.
- MediaTemplateSuggestionsTest::testMediaThemeHookSuggestions in core/
modules/ media/ tests/ src/ Functional/ MediaTemplateSuggestionsTest.php - Tests template suggestions from media_theme_suggestions_media().
- MediaTranslationUITest::setUp in core/
modules/ media/ tests/ src/ Functional/ MediaTranslationUITest.php - MediaTranslationUITest::setupBundle in core/
modules/ media/ tests/ src/ Functional/ MediaTranslationUITest.php - Creates or initializes the bundle date if needed.
- MediaTypeCreationTest::testMediaTypeCreationForm in core/
modules/ media/ tests/ src/ Functional/ MediaTypeCreationTest.php - Tests the media type creation form with only the mandatory options.
- MediaTypeCreationTest::testMediaTypeCreationFormWithDefaultField in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaTypeCreationTest.php - Tests the media type creation form.
- MediaTypeCreationTest::testMediaTypeCreationReuseSourceField in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaTypeCreationTest.php - Test creation of media type, reusing an existing source field.
- MediaTypeCreationTest::testSourceChangeOnMediaTypeCreationForm in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaTypeCreationTest.php - Tests the source field behavior on the add media type form.
- MediaUiFunctionalTest::testMediaCollectionRoute in core/
modules/ media/ tests/ src/ Functional/ MediaUiFunctionalTest.php - Test the media collection route.
- MediaUiFunctionalTest::testMediaCreateRedirect in core/
modules/ media/ tests/ src/ Functional/ MediaUiFunctionalTest.php - Tests the redirect URL after creating a media item.
- MediaUiFunctionalTest::testMediaReferenceWidget in core/
modules/ media/ tests/ src/ Functional/ MediaUiFunctionalTest.php - Tests the default autocomplete widgets for media reference fields.
- MediaUiFunctionalTest::testMediaWithMultipleMediaTypes in core/
modules/ media/ tests/ src/ Functional/ MediaUiFunctionalTest.php - Tests the "media/add" page.
- MediaUiFunctionalTest::testMediaWithOnlyOneMediaType in core/
modules/ media/ tests/ src/ Functional/ MediaUiFunctionalTest.php - Tests the media actions (add/edit/delete).
- MediaUiJavascriptTest::testMediaTypes in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaUiJavascriptTest.php - Tests a media type administration.
- MediaUpdateTest::testEnableStandaloneUrl in core/
modules/ media/ tests/ src/ Functional/ Update/ MediaUpdateTest.php - Tests that the standalone URL is still accessible.
- MediaViewsWizardTest::testMediaWizard in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaViewsWizardTest.php - Tests adding a view of media.
- MenuLinkContentTest::testLinkOptionsSerialization in core/
modules/ jsonapi/ tests/ src/ Functional/ MenuLinkContentTest.php - Test requests using a serialized field item property.
- MenuLinkDefaultIntegrationTest::testMoveToRoot in core/
tests/ Drupal/ KernelTests/ Core/ Menu/ MenuLinkDefaultIntegrationTest.php - Tests moving a static menu link without a specified menu to the root.
- MenuLinkTreeElementTest::testConstruction in core/
tests/ Drupal/ Tests/ Core/ Menu/ MenuLinkTreeElementTest.php - Tests construction.
- MenuTreeStorageTest::addMenuLink in core/
tests/ Drupal/ KernelTests/ Core/ Menu/ MenuTreeStorageTest.php - Adds a link with the given ID and supply defaults.
- MenuTreeStorageTest::testLoadByProperties in core/
tests/ Drupal/ KernelTests/ Core/ Menu/ MenuTreeStorageTest.php - Tests MenuTreeStorage::loadByProperties().
- menu_test.links.menu.yml in core/
modules/ system/ tests/ modules/ menu_test/ menu_test.links.menu.yml - core/modules/system/tests/modules/menu_test/menu_test.links.menu.yml
- MetadataGeneratorTest::testEditorWithCustomMetadata in core/
modules/ quickedit/ tests/ src/ Kernel/ MetadataGeneratorTest.php - Tests a field whose associated in-place editor generates custom metadata.
- MetadataGeneratorTest::testSimpleEntityType in core/
modules/ quickedit/ tests/ src/ Kernel/ MetadataGeneratorTest.php - Tests a simple entity type, with two different simple fields.
- MigrateEntityContentBaseTest::testStubRows in core/
modules/ migrate/ tests/ src/ Kernel/ MigrateEntityContentBaseTest.php - Tests stub rows.
- MigrateExecutableTest::testImportWithValidRow in core/
modules/ migrate/ tests/ src/ Unit/ MigrateExecutableTest.php - Tests the import method with a valid row.
- MigrateExecutableTest::testImportWithValidRowNoDestinationValues in core/
modules/ migrate/ tests/ src/ Unit/ MigrateExecutableTest.php - Tests the import method with a valid row.
- MigrateExecutableTest::testImportWithValidRowWithDestinationMigrateException in core/
modules/ migrate/ tests/ src/ Unit/ MigrateExecutableTest.php - Tests the import method with a thrown MigrateException.
- MigrateExecutableTest::testImportWithValidRowWithException in core/
modules/ migrate/ tests/ src/ Unit/ MigrateExecutableTest.php - Tests the import method with a regular Exception being thrown.
- MigrateExecutableTest::testImportWithValidRowWithoutDestinationId in core/
modules/ migrate/ tests/ src/ Unit/ MigrateExecutableTest.php - Tests the import method with a valid row.
- MigrateExecutableTest::testImportWithValidRowWithProcesMigrateException in core/
modules/ migrate/ tests/ src/ Unit/ MigrateExecutableTest.php - Tests the import method with a thrown MigrateException.
- migrate_state_no_file_test.yml in core/
modules/ migrate_drupal/ tests/ modules/ migrate_state_no_file_test/ migrations/ migrate_state_no_file_test.yml - core/modules/migrate_drupal/tests/modules/migrate_state_no_file_test/migrations/migrate_state_no_file_test.yml
- ModerationStateAccessTest::setUp in core/
modules/ content_moderation/ tests/ src/ Functional/ ModerationStateAccessTest.php - ModerationStateAccessTest::setUp in core/
modules/ content_moderation/ tests/ src/ Functional/ ModerationStateAccessTest.php - ModerationStateAccessTest::testViewShowsCorrectStates in core/
modules/ content_moderation/ tests/ src/ Functional/ ModerationStateAccessTest.php - Test the view operation access handler with the view permission.
- ModerationStateNodeTypeTest::testEnablingOnExistingContent in core/
modules/ content_moderation/ tests/ src/ Functional/ ModerationStateNodeTypeTest.php - Tests enabling moderation on an existing node-type, with content.
- ModerationStateNodeTypeTest::testNotModerated in core/
modules/ content_moderation/ tests/ src/ Functional/ ModerationStateNodeTypeTest.php - A node type without moderation state disabled.
- ModuleHandlerTest::testCachedGetImplementations in core/
tests/ Drupal/ Tests/ Core/ Extension/ ModuleHandlerTest.php - Test getImplementations.
- ModuleRouteSubscriberTest::testRemoveRoute in core/
tests/ Drupal/ Tests/ Core/ EventSubscriber/ ModuleRouteSubscriberTest.php - Tests that removeRoute() removes routes when the module is not enabled.
- ModuleTest::testViewsFetchPluginNames in core/
modules/ views/ tests/ src/ Kernel/ ModuleTest.php - Tests the \Drupal\views\Views::fetchPluginNames() method.
- MoveRevisionMetadataFieldsUpdateTest::testAddingRequiredRevisionMetadataKeys in core/
modules/ system/ tests/ src/ Functional/ Entity/ Update/ MoveRevisionMetadataFieldsUpdateTest.php - Tests the addition of required revision metadata keys.
- MTimeProtectedFileStorageBase::setUp in core/
tests/ Drupal/ Tests/ Component/ PhpStorage/ MTimeProtectedFileStorageBase.php - NodeConditionTest::setUp in core/
modules/ node/ tests/ src/ Kernel/ NodeConditionTest.php - NodeConditionTest::testConditions in core/
modules/ node/ tests/ src/ Kernel/ NodeConditionTest.php - Tests conditions.
- NodeLegacyTest::testNodeGetRevisionAuthor in core/
modules/ node/ tests/ src/ Kernel/ NodeLegacyTest.php - Tests that Node::getRevisionAuthor() triggers a deprecation error.
- NodeLegacyTest::testNodeSetRevisionAuthorId in core/
modules/ node/ tests/ src/ Kernel/ NodeLegacyTest.php - Tests that Node::setRevisionAuthorId() triggers a deprecation error.
- NodeMigrationTypePluginAlterTest::providerMigrationPluginAlter in core/
modules/ migrate_drupal/ tests/ src/ Kernel/ NodeMigrationTypePluginAlterTest.php - Data provider for testMigrationPluginAlter().
- NodePreviewLinkTest::setUp in core/
modules/ node/ tests/ src/ FunctionalJavascript/ NodePreviewLinkTest.php - NodeValidationTest::testValidation in core/
modules/ node/ tests/ src/ Kernel/ NodeValidationTest.php - Tests the node validation constraints.
- NullBackendTest::testNullBackend in core/
tests/ Drupal/ Tests/ Core/ Cache/ NullBackendTest.php - Tests that the NullBackend does not actually store variables.
- NullCoalesceTest::testTransformWithDefault in core/
modules/ migrate/ tests/ src/ Unit/ process/ NullCoalesceTest.php - Tests null_coalesce with default value.
- NullCoalesceTest::transformDataProvider in core/
modules/ migrate/ tests/ src/ Unit/ process/ NullCoalesceTest.php - Provides Data for ::testTransform.
- NullStorageTest::testCollection in core/
tests/ Drupal/ Tests/ Core/ Config/ NullStorageTest.php - Test createCollection.
- OrderByTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Database/ OrderByTest.php - OrderByTest::testInvalidDirection in core/
tests/ Drupal/ Tests/ Core/ Database/ OrderByTest.php - Checks that invalid sort directions in ORDER BY get converted to ASC.
- PasswordTest::providerTestValueCallback in core/
tests/ Drupal/ Tests/ Core/ Render/ Element/ PasswordTest.php - Data provider for testValueCallback().
- PathMediaFormTest::testMediaForm in core/
modules/ path/ tests/ src/ Functional/ PathMediaFormTest.php - Tests the media form UI.
- PathRootsSubscriberTest::testSubscribing in core/
tests/ Drupal/ Tests/ Core/ EventSubscriber/ PathRootsSubscriberTest.php - Tests altering and finished event.
- PathValidatorTest::testGetUrlIfValidWithoutAccessCheck in core/
tests/ Drupal/ KernelTests/ Core/ Path/ PathValidatorTest.php - PendingRevisionTest::testTaxonomyIndexWithPendingRevision in core/
modules/ taxonomy/ tests/ src/ Kernel/ PendingRevisionTest.php - Tests that the taxonomy index work correctly with pending revisions.
- PermissionsHashGeneratorTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Session/ PermissionsHashGeneratorTest.php - PhpStorageFactoryTest::setSettings in core/
modules/ system/ tests/ src/ Kernel/ PhpStorage/ PhpStorageFactoryTest.php - Sets the Settings() singleton.
- PhpStorageFactoryTest::testGetDefault in core/
modules/ system/ tests/ src/ Kernel/ PhpStorage/ PhpStorageFactoryTest.php - Tests the get() method using the 'default' settings.
- PhpStorageFactoryTest::testGetNoSettings in core/
modules/ system/ tests/ src/ Kernel/ PhpStorage/ PhpStorageFactoryTest.php - Tests the get() method with no settings.
- PhpStorageFactoryTest::testGetOverride in core/
modules/ system/ tests/ src/ Kernel/ PhpStorage/ PhpStorageFactoryTest.php - Tests the get() method with overridden settings.
- PhpUnitBridgeIsolatedTest::testDeprecatedClass in core/
tests/ Drupal/ Tests/ Core/ Test/ PhpUnitBridgeIsolatedTest.php - @expectedDeprecation Drupal\deprecation_test\Deprecation\FixtureDeprecatedClass is deprecated.
- PhpUnitBridgeTest::testDeprecatedClass in core/
tests/ Drupal/ Tests/ Core/ Test/ PhpUnitBridgeTest.php - @expectedDeprecation Drupal\deprecation_test\Deprecation\FixtureDeprecatedClass is deprecated.
- PhpUnitBridgeTest::testDeprecatedClass in core/
tests/ Drupal/ KernelTests/ Core/ Test/ PhpUnitBridgeTest.php - @expectedDeprecation Drupal\deprecation_test\Deprecation\FixtureDeprecatedClass is deprecated.
- PluginSettingsBaseTest::testGetThirdPartySettings in core/
tests/ Drupal/ Tests/ Core/ Field/ PluginSettingsBaseTest.php - @covers ::getThirdPartySettings
- PrimitiveDataNormalizerTest::dataProviderPrimitiveData in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ PrimitiveDataNormalizerTest.php - Data provider for testNormalize().
- PrimitiveTypeConstraintValidatorTest::provideTestValidate in core/
tests/ Drupal/ Tests/ Core/ Validation/ Plugin/ Validation/ Constraint/ PrimitiveTypeConstraintValidatorTest.php - PrivateTempStoreTest::testDeleteLocking in core/
tests/ Drupal/ Tests/ Core/ TempStore/ PrivateTempStoreTest.php - Tests the locking in the delete() method.
- PrivateTempStoreTest::testDeleteLocking in core/
modules/ user/ tests/ src/ Unit/ PrivateTempStoreTest.php - Tests the locking in the delete() method.
- PrivateTempStoreTest::testDeleteWithNoLockAvailable in core/
modules/ user/ tests/ src/ Unit/ PrivateTempStoreTest.php - Tests the delete() method with no lock available.
- PrivateTempStoreTest::testDeleteWithNoLockAvailable in core/
tests/ Drupal/ Tests/ Core/ TempStore/ PrivateTempStoreTest.php - Tests the delete() method with no lock available.
- PrivateTempStoreTest::testGet in core/
tests/ Drupal/ Tests/ Core/ TempStore/ PrivateTempStoreTest.php - Tests the get() method.
- PrivateTempStoreTest::testGet in core/
modules/ user/ tests/ src/ Unit/ PrivateTempStoreTest.php - Tests the get() method.
- PrivateTempStoreTest::testGetMetadata in core/
modules/ user/ tests/ src/ Unit/ PrivateTempStoreTest.php - Tests the getMetadata() method.
- PrivateTempStoreTest::testGetMetadata in core/
tests/ Drupal/ Tests/ Core/ TempStore/ PrivateTempStoreTest.php - Tests the getMetadata() method.
- PrivateTempStoreTest::testGetMetadataOwner in core/
tests/ Drupal/ Tests/ Core/ TempStore/ PrivateTempStoreTest.php - @covers ::getMetadata @expectedDeprecation Using the "owner" public property of a TempStore lock is deprecated in Drupal 8.7.0 and will not be allowed in Drupal 9.0.0. Use \Drupal\Core\TempStore\Lock::getOwnerId() instead. See…
- PrivateTempStoreTest::testGetMetadataUpdated in core/
tests/ Drupal/ Tests/ Core/ TempStore/ PrivateTempStoreTest.php - @covers ::getMetadata @expectedDeprecation Using the "updated" public property of a TempStore lock is deprecated in Drupal 8.7.0 and will not be allowed in Drupal 9.0.0. Use \Drupal\Core\TempStore\Lock::getUpdated() instead. See…
- PrivateTempStoreTest::testSet in core/
tests/ Drupal/ Tests/ Core/ TempStore/ PrivateTempStoreTest.php - Tests a successful set() call.
- PrivateTempStoreTest::testSet in core/
modules/ user/ tests/ src/ Unit/ PrivateTempStoreTest.php - Tests a successful set() call.
- PrivateTempStoreTest::testSetWithNoLockAvailable in core/
modules/ user/ tests/ src/ Unit/ PrivateTempStoreTest.php - Tests the set() method with no lock available.
- PrivateTempStoreTest::testSetWithNoLockAvailable in core/
tests/ Drupal/ Tests/ Core/ TempStore/ PrivateTempStoreTest.php - Tests the set() method with no lock available.
- ProfileFieldTranslationTest::providerSource in core/
modules/ config_translation/ tests/ src/ Kernel/ Plugin/ migrate/ source/ d6/ ProfileFieldTranslationTest.php - The data provider.
- PublishActionTest::testPublishAction in core/
tests/ Drupal/ KernelTests/ Core/ Action/ PublishActionTest.php - @covers \Drupal\Core\Action\Plugin\Action\PublishAction::execute
- PublishActionTest::testUnpublishAction in core/
tests/ Drupal/ KernelTests/ Core/ Action/ PublishActionTest.php - @covers \Drupal\Core\Action\Plugin\Action\UnpublishAction::execute
- QueryFactoryTest::providerTestGetKeys in core/
tests/ Drupal/ Tests/ Core/ Config/ Entity/ Query/ QueryFactoryTest.php - QueryParameterTest::providerGetArgument in core/
modules/ views/ tests/ src/ Unit/ Plugin/ argument_default/ QueryParameterTest.php - Provides data for testGetArgument().
- QuickEditFileTest::testRemove in core/
modules/ quickedit/ tests/ src/ FunctionalJavascript/ QuickEditFileTest.php - Tests if a file can be in-place removed with Quick Edit.
- QuickEditIntegrationTest::testGetUntransformedTextCommand in core/
modules/ editor/ tests/ src/ Kernel/ QuickEditIntegrationTest.php - Tests GetUntransformedTextCommand AJAX command.
- QuickEditIntegrationTest::testMetadata in core/
modules/ editor/ tests/ src/ Kernel/ QuickEditIntegrationTest.php - Tests (custom) metadata when the formatted text editor is used.
- RawTest::testGetArgument in core/
modules/ views/ tests/ src/ Unit/ Plugin/ argument_default/ RawTest.php - Test the getArgument() method.
- RecursiveContextualValidatorTest::testRecursiveViolationPropagation in core/
tests/ Drupal/ KernelTests/ Core/ TypedData/ RecursiveContextualValidatorTest.php - Test recursive propagation of violations.
- RecursiveContextualValidatorTest::testValidateWithGroups in core/
tests/ Drupal/ Tests/ Core/ TypedData/ RecursiveContextualValidatorTest.php - Ensures that passing an explicit group is not supported.
- RecursiveContextualValidatorTest::testValidateWithoutTypedData in core/
tests/ Drupal/ Tests/ Core/ TypedData/ RecursiveContextualValidatorTest.php - Ensures that passing a non typed data value is not supported.
- RedirectResponseSubscriberTest::providerTestDestinationRedirect in core/
tests/ Drupal/ Tests/ Core/ EventSubscriber/ RedirectResponseSubscriberTest.php - Data provider for testDestinationRedirect().
- RegistryTest::testPostProcessExtension in core/
tests/ Drupal/ Tests/ Core/ Theme/ RegistryTest.php - @covers ::postProcessExtension @covers ::completeSuggestion @covers ::mergePreprocessFunctions
- RegressionTest::testDBFieldExists in core/
tests/ Drupal/ KernelTests/ Core/ Database/ RegressionTest.php - Tests the \Drupal\Core\Database\Schema::fieldExists() method.
- RegressionTest::testDBIndexExists in core/
tests/ Drupal/ KernelTests/ Core/ Database/ RegressionTest.php - Tests the Schema::indexExists() method.
- RegressionTest::testDBTableExists in core/
tests/ Drupal/ KernelTests/ Core/ Database/ RegressionTest.php - Tests the Schema::tableExists() method.
- RenderCacheTest::doTestUser1WithContexts in core/
tests/ Drupal/ KernelTests/ Core/ Render/ RenderCacheTest.php - Ensures that user 1 has a unique render cache for the given context.
- 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::testMoreLink in core/
tests/ Drupal/ KernelTests/ Core/ Render/ Element/ RenderElementTypesTest.php - Tests system #type 'more_link'.
- RequestFormatRouteFilterTest::testNoRouteFoundWhenNoRequestFormatAndSingleRouteWithMultipleFormats in core/
tests/ Drupal/ Tests/ Core/ Routing/ RequestFormatRouteFilterTest.php - @covers ::filter
- RequestHandlerTest::testHandle in core/
modules/ rest/ tests/ src/ Kernel/ RequestHandlerTest.php - @covers ::handle
- RequestHandlerTest::testHandleLegacy in core/
modules/ rest/ tests/ src/ Kernel/ RequestHandlerTest.php - @covers ::handle @covers ::getLegacyParameters @expectedDeprecation Passing in arguments the legacy way is deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Provide the right parameter names in the method, similar to controllers. See…
- RequiredStatesTest::testChangeRequiredStateAPI in core/
modules/ workflows/ tests/ src/ Kernel/ RequiredStatesTest.php - Ensures that initialized configuration can be changed.
- RequiredStatesTest::testDeleteRequiredStateAPI in core/
modules/ workflows/ tests/ src/ Kernel/ RequiredStatesTest.php - @covers \Drupal\workflows\Entity\Workflow::preSave
- RequiredStatesTest::testGetRequiredStates in core/
modules/ workflows/ tests/ src/ Kernel/ RequiredStatesTest.php - @covers ::getRequiredStates @covers ::__construct
- RequiredStatesTest::testNoStatesRequiredStateAPI in core/
modules/ workflows/ tests/ src/ Kernel/ RequiredStatesTest.php - @covers \Drupal\workflows\Entity\Workflow::preSave
- ReservedWordTest::testSelectReservedWordAliasCount in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ReservedWordTest.php - Tests SELECT count query from a table with a reserved alias.
- ReservedWordTest::testSelectReservedWordAliasSpecificFields in core/
tests/ Drupal/ KernelTests/ Core/ Database/ ReservedWordTest.php - Tests SELECT query with specific fields from a table with a reserved alias.
- ResourceResponseSubscriberTest::providerTestSerialization in core/
modules/ rest/ tests/ src/ Unit/ EventSubscriber/ ResourceResponseSubscriberTest.php - ResourceResponseSubscriberTest::testOnResponseWithCacheableResponse in core/
modules/ rest/ tests/ src/ Unit/ EventSubscriber/ ResourceResponseSubscriberTest.php - @covers ::onResponse @covers ::getResponseFormat @covers ::renderResponseBody @covers ::flattenResponse
- ResourceResponseSubscriberTest::testOnResponseWithUncacheableResponse in core/
modules/ rest/ tests/ src/ Unit/ EventSubscriber/ ResourceResponseSubscriberTest.php - @covers ::onResponse @covers ::getResponseFormat @covers ::renderResponseBody @covers ::flattenResponse
- ResourceResponseSubscriberTest::testResponseFormat in core/
modules/ rest/ tests/ src/ Unit/ EventSubscriber/ ResourceResponseSubscriberTest.php - @covers ::getResponseFormat
- ResourceResponseSubscriberTest::testSerialization in core/
modules/ rest/ tests/ src/ Unit/ EventSubscriber/ ResourceResponseSubscriberTest.php - @covers ::onResponse @dataProvider providerTestSerialization
- RevisionRelationshipsTest::testNodeRevisionRelationship in core/
modules/ node/ tests/ src/ Kernel/ Views/ RevisionRelationshipsTest.php - Create a node with revision and rest result count for both views.
- RouteCompilerTest::providerTestGetFit in core/
tests/ Drupal/ Tests/ Core/ Routing/ RouteCompilerTest.php - Provides data for RouteCompilerTest::testGetFit()
- RoutePreloaderTest::testOnAlterRoutesWithAdminPathNoAdminRoute in core/
tests/ Drupal/ Tests/ Core/ Routing/ RoutePreloaderTest.php - Tests onAlterRoutes with "admin" appearing in the path.
- RoutePreloaderTest::testOnAlterRoutesWithAdminRoutes in core/
tests/ Drupal/ Tests/ Core/ Routing/ RoutePreloaderTest.php - Tests onAlterRoutes with just admin routes.
- RoutePreloaderTest::testOnAlterRoutesWithNonAdminRoutes in core/
tests/ Drupal/ Tests/ Core/ Routing/ RoutePreloaderTest.php - Tests onAlterRoutes with admin routes and non admin routes.
- RouteProcessorCsrfTest::testProcessOutbound in core/
tests/ Drupal/ Tests/ Core/ Access/ RouteProcessorCsrfTest.php - Tests the processOutbound() method with a _csrf_token route requirement.
- RouteProcessorCsrfTest::testProcessOutboundDynamicOne in core/
tests/ Drupal/ Tests/ Core/ Access/ RouteProcessorCsrfTest.php - Tests the processOutbound() method with a dynamic path and one replacement.
- RouteProcessorCsrfTest::testProcessOutboundDynamicTwo in core/
tests/ Drupal/ Tests/ Core/ Access/ RouteProcessorCsrfTest.php - Tests the processOutbound() method with two parameter replacements.
- RouteProcessorCsrfTest::testProcessOutboundNoRequirement in core/
tests/ Drupal/ Tests/ Core/ Access/ RouteProcessorCsrfTest.php - Tests the processOutbound() method with no _csrf_token route requirement.
- RouteProcessorManagerTest::testRouteProcessorManager in core/
tests/ Drupal/ Tests/ Core/ RouteProcessor/ RouteProcessorManagerTest.php - Tests the Route process manager functionality.
- RowEntityRenderersTest::setUp in core/
modules/ views/ tests/ src/ Kernel/ Entity/ RowEntityRenderersTest.php - RowRenderCacheTest::setUpFixtures in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ RowRenderCacheTest.php - Sets up the configuration and schema of views and views_test_data modules.
- SafeMarkupTest::testIsSafe in core/
tests/ Drupal/ Tests/ Component/ Utility/ SafeMarkupTest.php - Tests SafeMarkup::isSafe() with different objects.
- SaveActionTest::testSaveAction in core/
tests/ Drupal/ KernelTests/ Core/ Action/ SaveActionTest.php - @covers \Drupal\Core\Action\Plugin\Action\SaveAction::execute
- SchemaTest::testFindTables in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SchemaTest.php - Tests the findTables() method.
- SearchBlockTest::testSearchFormBlock in core/
modules/ search/ tests/ src/ Functional/ SearchBlockTest.php - Test that the search form block can be placed and works.
- SearchPageRepositoryTest::testGetActiveSearchPages in core/
modules/ search/ tests/ src/ Unit/ SearchPageRepositoryTest.php - Tests the getActiveSearchPages() method.
- SearchPageRepositoryTest::testGetDefaultSearchPageWithActiveDefault in core/
modules/ search/ tests/ src/ Unit/ SearchPageRepositoryTest.php - Tests the getDefaultSearchPage() method when the default is active.
- SearchPageRepositoryTest::testGetDefaultSearchPageWithInactiveDefault in core/
modules/ search/ tests/ src/ Unit/ SearchPageRepositoryTest.php - Tests the getDefaultSearchPage() method when the default is inactive.
- SearchPageRepositoryTest::testGetIndexableSearchPages in core/
modules/ search/ tests/ src/ Unit/ SearchPageRepositoryTest.php - Tests the getIndexableSearchPages() method.
- SearchPageRepositoryTest::testIsSearchActive in core/
modules/ search/ tests/ src/ Unit/ SearchPageRepositoryTest.php - Tests the isSearchActive() method.
- SearchPreprocessLangcodeTest::testPreprocessStemming in core/
modules/ search/ tests/ src/ Functional/ SearchPreprocessLangcodeTest.php - Tests stemming for hook_search_preprocess().
- SelectCloneTest::testNestedQueryCloning in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectCloneTest.php - Tests that nested SELECT queries are cloned properly.
- SelectCloneTest::testSelectConditionSubQueryCloning in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectCloneTest.php - Test that subqueries as value within conditions are cloned properly.
- SelectComplexTest::testCountQuery in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectComplexTest.php - Tests that we can generate a count query from a built query.
- SelectComplexTest::testCountQueryFieldRemovals in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectComplexTest.php - Tests that countQuery properly removes fields and expressions.
- SelectComplexTest::testCountQueryRemovals in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectComplexTest.php - Tests that countQuery removes 'all_fields' statements and ordering clauses.
- SelectComplexTest::testDefaultJoin in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectComplexTest.php - Tests simple JOIN statements.
- SelectComplexTest::testHavingCountQuery in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectComplexTest.php - Tests having queries.
- SelectComplexTest::testJoinConditionObject in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectComplexTest.php - Test that join conditions can use Condition objects.
- SelectComplexTest::testJoinSubquery in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectComplexTest.php - Tests that we can join on a query.
- SelectComplexTest::testJoinTwice in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectComplexTest.php - Confirms we can join on a single table twice with a dynamic alias.
- SelectComplexTest::testLeftOuterJoin in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectComplexTest.php - Tests LEFT OUTER joins.
- SelectComplexTest::testNestedConditions in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectComplexTest.php - Confirms that we can properly nest conditional clauses.
- SelectComplexTest::testRange in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectComplexTest.php - Tests range queries.
- SelectComplexTest::testRangeUndo in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectComplexTest.php - Test whether the range property of a select clause can be undone.
- SelectComplexTest::testSelectWithRowCount in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectComplexTest.php - Tests that rowCount() throws exception on SELECT query.
- SelectOrderedTest::testSimpleSelectMultiOrdered in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectOrderedTest.php - Tests multiple ORDER BY.
- SelectOrderedTest::testSimpleSelectOrdered in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectOrderedTest.php - Tests basic ORDER BY.
- SelectOrderedTest::testSimpleSelectOrderedDesc in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectOrderedTest.php - Tests ORDER BY descending.
- SelectSubqueryTest::testConditionSubquerySelect2 in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectSubqueryTest.php - Test that we can use a subquery with a relational operator in a WHERE clause.
- SelectSubqueryTest::testConditionSubquerySelect3 in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectSubqueryTest.php - Test that we can use 2 subqueries with a relational operator in a WHERE clause.
- SelectSubqueryTest::testConditionSubquerySelect4 in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectSubqueryTest.php - Test that we can use multiple subqueries.
- SelectSubqueryTest::testFromSubquerySelect in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectSubqueryTest.php - Tests that we can use a subquery in a FROM clause.
- SelectSubqueryTest::testFromSubquerySelectWithLimit in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectSubqueryTest.php - Tests that we can use a subquery in a FROM clause with a LIMIT.
- SelectSubqueryTest::testJoinSubquerySelect in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectSubqueryTest.php - Tests that we can use a subquery in a JOIN clause.
- SelectTest::testRegularExpressionCondition in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectTest.php - Tests that filter by 'REGEXP' and 'NOT REGEXP' works as expected.
- SelectTest::testSelectDuplicateAlias in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectTest.php - Tests that aliases are renamed when they are duplicates.
- SelectTest::testSimpleComment in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectTest.php - Tests rudimentary SELECT statement with a COMMENT.
- SelectTest::testSimpleSelect in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectTest.php - Tests rudimentary SELECT statements.
- SelectTest::testSimpleSelectConditional in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectTest.php - Tests basic conditionals on SELECT statements.
- SelectTest::testSimpleSelectExpression in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectTest.php - Tests SELECT statements with expressions.
- SelectTest::testSimpleSelectExpressionMultiple in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectTest.php - Tests SELECT statements with multiple expressions.
- SelectTest::testVulnerableComment in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SelectTest.php - Tests query COMMENT system against vulnerabilities.
- SerializeQueryTest::testSerializeQuery in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SerializeQueryTest.php - Confirms that a query can be serialized and unserialized.
- SessionTestController::getId in core/
modules/ system/ tests/ modules/ session_test/ src/ Controller/ SessionTestController.php - Print the current session ID.
- SharedTempStoreTest::testDelete in core/
modules/ user/ tests/ src/ Unit/ SharedTempStoreTest.php - Tests the delete() method.
- SharedTempStoreTest::testDelete in core/
tests/ Drupal/ Tests/ Core/ TempStore/ SharedTempStoreTest.php - Tests the delete() method.
- SharedTempStoreTest::testDeleteWithNoLockAvailable in core/
tests/ Drupal/ Tests/ Core/ TempStore/ SharedTempStoreTest.php - Tests the delete() method with no lock available.
- SharedTempStoreTest::testDeleteWithNoLockAvailable in core/
modules/ user/ tests/ src/ Unit/ SharedTempStoreTest.php - Tests the delete() method with no lock available.
- SharedTempStoreTest::testGet in core/
modules/ user/ tests/ src/ Unit/ SharedTempStoreTest.php - @covers ::get @expectedDeprecation \Drupal\user\SharedTempStore is scheduled for removal in Drupal 9.0.0. Use \Drupal\Core\TempStore\SharedTempStore instead. See https://www.drupal.org/node/2935639.
- SharedTempStoreTest::testGet in core/
tests/ Drupal/ Tests/ Core/ TempStore/ SharedTempStoreTest.php - @covers ::get
- SharedTempStoreTest::testGetIfOwner in core/
tests/ Drupal/ Tests/ Core/ TempStore/ SharedTempStoreTest.php - Tests the getIfOwner() method.
- SharedTempStoreTest::testGetIfOwner in core/
modules/ user/ tests/ src/ Unit/ SharedTempStoreTest.php - Tests the getIfOwner() method.
- SharedTempStoreTest::testGetMetadata in core/
modules/ user/ tests/ src/ Unit/ SharedTempStoreTest.php - Tests the getMetadata() method.
- SharedTempStoreTest::testGetMetadata in core/
tests/ Drupal/ Tests/ Core/ TempStore/ SharedTempStoreTest.php - Tests the getMetadata() method.
- SharedTempStoreTest::testGetMetadataOwner in core/
tests/ Drupal/ Tests/ Core/ TempStore/ SharedTempStoreTest.php - @covers ::getMetadata @expectedDeprecation Using the "owner" public property of a TempStore lock is deprecated in Drupal 8.7.0 and will not be allowed in Drupal 9.0.0. Use \Drupal\Core\TempStore\Lock::getOwnerId() instead. See…
- SharedTempStoreTest::testGetMetadataUpdated in core/
tests/ Drupal/ Tests/ Core/ TempStore/ SharedTempStoreTest.php - @covers ::getMetadata @expectedDeprecation Using the "updated" public property of a TempStore lock is deprecated in Drupal 8.7.0 and will not be allowed in Drupal 9.0.0. Use \Drupal\Core\TempStore\Lock::getUpdated() instead. See…
- SharedTempStoreTest::testSet in core/
tests/ Drupal/ Tests/ Core/ TempStore/ SharedTempStoreTest.php - Tests a successful set() call.
- SharedTempStoreTest::testSet in core/
modules/ user/ tests/ src/ Unit/ SharedTempStoreTest.php - Tests a successful set() call.
- SharedTempStoreTest::testSetIfNotExists in core/
modules/ user/ tests/ src/ Unit/ SharedTempStoreTest.php - Tests the setIfNotExists() methods.
- SharedTempStoreTest::testSetIfNotExists in core/
tests/ Drupal/ Tests/ Core/ TempStore/ SharedTempStoreTest.php - Tests the setIfNotExists() methods.
- SharedTempStoreTest::testSetIfOwner in core/
tests/ Drupal/ Tests/ Core/ TempStore/ SharedTempStoreTest.php - Tests the setIfOwner() method with matching and non matching owners.
- SharedTempStoreTest::testSetIfOwner in core/
modules/ user/ tests/ src/ Unit/ SharedTempStoreTest.php - Tests the setIfOwner() method with matching and non matching owners.
- SharedTempStoreTest::testSetIfOwnerNoObject in core/
modules/ user/ tests/ src/ Unit/ SharedTempStoreTest.php - Tests the setIfOwner() method when a key already exists but no object.
- SharedTempStoreTest::testSetIfOwnerNoObject in core/
tests/ Drupal/ Tests/ Core/ TempStore/ SharedTempStoreTest.php - Tests the setIfOwner() method when a key already exists but no object.
- SharedTempStoreTest::testSetIfOwnerWhenNotExists in core/
tests/ Drupal/ Tests/ Core/ TempStore/ SharedTempStoreTest.php - Tests the setIfOwner() method when no key exists.
- SharedTempStoreTest::testSetIfOwnerWhenNotExists in core/
modules/ user/ tests/ src/ Unit/ SharedTempStoreTest.php - Tests the setIfOwner() method when no key exists.
- SharedTempStoreTest::testSetWithNoLockAvailable in core/
modules/ user/ tests/ src/ Unit/ SharedTempStoreTest.php - Tests the set() method with no lock available.
- SharedTempStoreTest::testSetWithNoLockAvailable in core/
tests/ Drupal/ Tests/ Core/ TempStore/ SharedTempStoreTest.php - Tests the set() method with no lock available.
- SimpletestTestForm::buildForm in core/
modules/ simpletest/ src/ Form/ SimpletestTestForm.php - Form constructor.
- SortArrayTest::providerSortByTitleElement in core/
tests/ Drupal/ Tests/ Component/ Utility/ SortArrayTest.php - Data provider for SortArray::sortByTitleElement().
- SortArrayTest::providerSortByTitleProperty in core/
tests/ Drupal/ Tests/ Component/ Utility/ SortArrayTest.php - Data provider for SortArray::sortByTitleProperty().
- SpecialAttributesRouteSubscriberTest::testOnRouteBuildingInvalidVariables in core/
tests/ Drupal/ Tests/ Core/ EventSubscriber/ SpecialAttributesRouteSubscriberTest.php - Tests the onAlterRoutes method for invalid variables.
- SpecialAttributesRouteSubscriberTest::testOnRouteBuildingValidVariables in core/
tests/ Drupal/ Tests/ Core/ EventSubscriber/ SpecialAttributesRouteSubscriberTest.php - Tests the onAlterRoutes method for valid variables.
- SqlContentEntityStorageSchemaColumnTest::setUp in core/
modules/ field/ tests/ src/ Kernel/ Entity/ Update/ SqlContentEntityStorageSchemaColumnTest.php - SqlContentEntityStorageSchemaColumnTest::testColumnUpdate in core/
modules/ field/ tests/ src/ Kernel/ Entity/ Update/ SqlContentEntityStorageSchemaColumnTest.php - Tests that column-level schema changes are detected for fields with data.
- StackedKernelPassTest::createMiddlewareServiceDefinition in core/
tests/ Drupal/ Tests/ Core/ DependencyInjection/ Compiler/ StackedKernelPassTest.php - Creates a middleware definition.
- StackedKernelPassTest::testProcessWithStackedKernel in core/
tests/ Drupal/ Tests/ Core/ DependencyInjection/ Compiler/ StackedKernelPassTest.php - @covers ::process
- 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.
- StringBaseTest::testDeleteWithoutStorage in core/
modules/ locale/ tests/ src/ Unit/ StringBaseTest.php - @covers ::delete
- StringBaseTest::testSaveWithoutStorage in core/
modules/ locale/ tests/ src/ Unit/ StringBaseTest.php - @covers ::save
- SubProcessTest::testNotFoundSubProcess in core/
modules/ migrate/ tests/ src/ Unit/ process/ SubProcessTest.php - Tests the sub_process process plugin.
- SubProcessTest::testSubProcess in core/
modules/ migrate/ tests/ src/ Unit/ process/ SubProcessTest.php - Tests the sub_process process plugin.
- system.menu.exclude_test.yml in core/
modules/ config/ tests/ config_exclude_test/ config/ install/ system.menu.exclude_test.yml - core/modules/config/tests/config_exclude_test/config/install/system.menu.exclude_test.yml
- system.menu.indirect_exclude_test.yml in core/
modules/ config/ tests/ config_exclude_test/ config/ install/ system.menu.indirect_exclude_test.yml - core/modules/config/tests/config_exclude_test/config/install/system.menu.indirect_exclude_test.yml
- SystemMenuBlockTest::testConstructorDeprecation in core/
modules/ system/ tests/ src/ Kernel/ Block/ SystemMenuBlockTest.php - @deprecationMessage The menu.active_trail service must be passed to SystemMenuBlock::__construct(), it is required before Drupal 9.0.0. See https://www.drupal.org/node/2669550. @group legacy
- SystemTestController::respondWithCacheableResponse in core/
modules/ system/ tests/ modules/ system_test/ src/ Controller/ SystemTestController.php - A simple page callback that uses a CacheableResponse object.
- SystemTestController::respondWithResponse in core/
modules/ system/ tests/ modules/ system_test/ src/ Controller/ SystemTestController.php - A simple page callback that uses a plain Symfony response object.
- TaggingTest::testExtenderHasAllTags in core/
tests/ Drupal/ KernelTests/ Core/ Database/ TaggingTest.php - Tests extended query tagging "has all of these tags" functionality.
- TaggingTest::testExtenderHasAnyTag in core/
tests/ Drupal/ KernelTests/ Core/ Database/ TaggingTest.php - Tests extended query tagging "has at least one of these tags" functionality.
- TaggingTest::testExtenderHasTag in core/
tests/ Drupal/ KernelTests/ Core/ Database/ TaggingTest.php - Confirms that an extended query has a tag added to it.
- TaggingTest::testHasAllTags in core/
tests/ Drupal/ KernelTests/ Core/ Database/ TaggingTest.php - Tests query tagging "has all of these tags" functionality.
- TaggingTest::testHasAnyTag in core/
tests/ Drupal/ KernelTests/ Core/ Database/ TaggingTest.php - Tests query tagging "has at least one of these tags" functionality.
- TaggingTest::testHasTag in core/
tests/ Drupal/ KernelTests/ Core/ Database/ TaggingTest.php - Confirms that a query has a tag added to it.
- TaggingTest::testMetaData in core/
tests/ Drupal/ KernelTests/ Core/ Database/ TaggingTest.php - Tests that we can attach metadata to a query object.
- TemporaryQueryTest::testTemporaryQuery in core/
modules/ system/ tests/ src/ Functional/ Database/ TemporaryQueryTest.php - Confirms that temporary tables work and are limited to one request.
- TermValidationTest::testValidation in core/
modules/ taxonomy/ tests/ src/ Kernel/ TermValidationTest.php - Tests the term validation constraints.
- TestBase::run in core/
modules/ simpletest/ src/ TestBase.php - Run all tests in this class.
- TestBaseTest::providerAssert in core/
modules/ simpletest/ tests/ src/ Unit/ TestBaseTest.php - Data provider for testAssert().
- TestContextAwareUnsatisfiedBlock::build in core/
modules/ block/ tests/ modules/ block_test/ src/ Plugin/ Block/ TestContextAwareUnsatisfiedBlock.php - TestDatabase::__construct in core/
lib/ Drupal/ Core/ Test/ TestDatabase.php - TestDatabase constructor.
- TestDiscoveryCacheContextTest::testContext in core/
modules/ simpletest/ tests/ src/ Kernel/ Cache/ Context/ TestDiscoveryCacheContextTest.php - Tests that test context hashes are unique.
- TestDiscoveryTest::infoParserProvider in core/
tests/ Drupal/ Tests/ Core/ Test/ TestDiscoveryTest.php - TestDiscoveryTest::infoParserProvider in core/
tests/ Drupal/ Tests/ Core/ Test/ TestDiscoveryTest.php - TestSettingSummariesContentType::setUp in core/
modules/ node/ tests/ src/ FunctionalJavascript/ TestSettingSummariesContentType.php - TestSiteApplicationTest::getTestLockFile in core/
tests/ Drupal/ Tests/ Scripts/ TestSiteApplicationTest.php - Gets the lock file path.
- TestSiteApplicationTest::testUserLogin in core/
tests/ Drupal/ Tests/ Scripts/ TestSiteApplicationTest.php - @coversNothing
- TestToolkit::validateConfigurationForm in core/
modules/ system/ tests/ modules/ image_test/ src/ Plugin/ ImageToolkit/ TestToolkit.php - Form validation handler.
- TestWorkspaceNegotiator::getActiveWorkspace in core/
modules/ workspaces/ tests/ modules/ workspace_update_test/ src/ Negotiator/ TestWorkspaceNegotiator.php - Gets the negotiated workspace, if any.
- TestWorkspaceNegotiator::getActiveWorkspace in core/
modules/ workspaces/ tests/ modules/ workspace_update_test/ src/ Negotiator/ TestWorkspaceNegotiator.php - Gets the negotiated workspace, if any.
- test_1.test.yml in core/
tests/ Drupal/ Tests/ Core/ Plugin/ Discovery/ Fixtures/ test_1/ test_1.test.yml - core/tests/Drupal/Tests/Core/Plugin/Discovery/Fixtures/test_1/test_1.test.yml
- test_2.test.yml in core/
tests/ Drupal/ Tests/ Core/ Plugin/ Discovery/ Fixtures/ test_2/ test_2.test.yml - core/tests/Drupal/Tests/Core/Plugin/Discovery/Fixtures/test_2/test_2.test.yml
- test_form_id in core/
tests/ Drupal/ Tests/ Core/ Form/ fixtures/ form_base_test.inc - Creates a test form.
- TextareaTest::providerTestValueCallback in core/
tests/ Drupal/ Tests/ Core/ Render/ Element/ TextareaTest.php - Data provider for testValueCallback().
- TextfieldTest::providerTestValueCallback in core/
tests/ Drupal/ Tests/ Core/ Render/ Element/ TextfieldTest.php - Data provider for testValueCallback().
- ThemeExtensionListTest::testGetBaseThemes in core/
tests/ Drupal/ Tests/ Core/ Extension/ ThemeExtensionListTest.php - Tests getting the base themes for a set a defines themes.
- ThemeExtensionListTest::testRebuildThemeDataWithThemeParents in core/
tests/ Drupal/ Tests/ Core/ Extension/ ThemeExtensionListTest.php - Tests rebuild the theme data with theme parents.
- TimerTest::testTimer in core/
tests/ Drupal/ Tests/ Component/ Utility/ TimerTest.php - Tests Timer::read() time accumulation accuracy across multiple restarts.
- TokenTest::providerTestValueCallback in core/
tests/ Drupal/ Tests/ Core/ Render/ Element/ TokenTest.php - Data provider for testValueCallback().
- ToolkitSetupFormTest::testToolkitSetupForm in core/
tests/ Drupal/ FunctionalTests/ Image/ ToolkitSetupFormTest.php - Test Image toolkit setup form.
- ToolkitTest::testLoad in core/
tests/ Drupal/ FunctionalTests/ Image/ ToolkitTest.php - Tests Image's methods.
- ToolkitTestBase::getImage in core/
tests/ Drupal/ FunctionalTests/ Image/ ToolkitTestBase.php - Sets up an image with the custom toolkit.
- ToolkitTestBase::getImage in core/
modules/ system/ src/ Tests/ Image/ ToolkitTestBase.php - Sets up an image with the custom toolkit.
- track_changes_test.yml in core/
modules/ migrate/ tests/ modules/ migrate_track_changes_test/ migrations/ track_changes_test.yml - core/modules/migrate/tests/modules/migrate_track_changes_test/migrations/track_changes_test.yml
- TransactionTest::testQueryFailureInTransaction in core/
tests/ Drupal/ KernelTests/ Core/ Database/ TransactionTest.php - Tests that transactions can continue to be used if a query fails.
- TrustedMethods::callback in core/
tests/ Drupal/ Tests/ Core/ Security/ DoTrustedCallbackTraitTest.php - TrustedMethods::unTrustedCallback in core/
tests/ Drupal/ Tests/ Core/ Security/ DoTrustedCallbackTraitTest.php - TrustedObject::callback in core/
tests/ Drupal/ Tests/ Core/ Security/ DoTrustedCallbackTraitTest.php - 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.
- TwigMarkupInterfaceTest::testEmptyTranslation in core/
tests/ Drupal/ KernelTests/ Core/ Theme/ TwigMarkupInterfaceTest.php - Tests behavior if a string is translated to become an empty string.
- TwigSandboxTest::testEntitySafeMethods in core/
tests/ Drupal/ Tests/ Core/ Template/ TwigSandboxTest.php - Tests that valid methods can be called from within Twig templates.
- TwigSandboxTest::testEntitySafePrefixes in core/
tests/ Drupal/ Tests/ Core/ Template/ TwigSandboxTest.php - Tests that prefixed methods can be called from within Twig templates.
- TypedDataNormalizerTest::testNormalize in core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ TypedDataNormalizerTest.php - Tests the normalize() method.
- UnpublishByKeywordActionTest::testUnpublishByKeywordAction in core/
modules/ node/ tests/ src/ Kernel/ Action/ UnpublishByKeywordActionTest.php - Tests creating an action using the node_unpublish_by_keyword_action plugin.
- UnroutedUrlTest::providerFromInvalidUri in core/
tests/ Drupal/ Tests/ Core/ UnroutedUrlTest.php - Data provider for testFromInvalidUri().
- UntrustedObject::callback in core/
tests/ Drupal/ Tests/ Core/ Security/ DoTrustedCallbackTraitTest.php - UpdatePathRC1TestBaseFilledTest::testUpdatedSite in core/
modules/ system/ tests/ src/ Functional/ Update/ UpdatePathRC1TestBaseFilledTest.php - Tests that the content and configuration were properly updated.
- UpdatePathTestBaseFilledTest::testUpdatedSite in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ UpdatePathTestBaseFilledTest.php - Tests that the content and configuration were properly updated.
- UpdatePathTestBaseTest::testDatabaseLoaded in core/
tests/ Drupal/ FunctionalTests/ Update/ UpdatePathTestBaseTest.php - Tests that the database was properly loaded.
- UpdatePathTestBaseTest::testModuleListChange in core/
tests/ Drupal/ FunctionalTests/ Update/ UpdatePathTestBaseTest.php - Tests that test running environment is updated when module list changes.
- UpdatePathTestBaseTest::testUpdateHookN in core/
tests/ Drupal/ FunctionalTests/ Update/ UpdatePathTestBaseTest.php - Test that updates are properly run.
- UpdateSchemaTest::testUpdateHooks in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ UpdateSchemaTest.php - Tests that update hooks are properly run.
- update_test_schema.install in core/
modules/ system/ tests/ modules/ update_test_schema/ update_test_schema.install - Update hooks and schema definition for the update_test_schema module.
- UserValidationTest::testValidation in core/
modules/ user/ tests/ src/ Kernel/ UserValidationTest.php - Runs entity validation checks.
- ViewExecutableTest::testGenerateHandlerId in core/
modules/ views/ tests/ src/ Unit/ ViewExecutableTest.php - @covers ::generateHandlerId
- ViewExecutableTest::testGetUrlWithPlaceholdersAndArgs in core/
modules/ views/ tests/ src/ Unit/ ViewExecutableTest.php - @covers ::getUrl
- ViewExecutableTest::testSerialization in core/
modules/ views/ tests/ src/ Kernel/ ViewExecutableTest.php - Tests serialization of the ViewExecutable object.
- views.view.entity_reference_plugins_2429191.yml in core/
modules/ field/ tests/ fixtures/ update/ views.view.entity_reference_plugins_2429191.yml - core/modules/field/tests/fixtures/update/views.view.entity_reference_plugins_2429191.yml
- views.view.test_exposed_admin_ui.yml in core/
modules/ views/ tests/ modules/ views_test_config/ test_views/ views.view.test_exposed_admin_ui.yml - core/modules/views/tests/modules/views_test_config/test_views/views.view.test_exposed_admin_ui.yml
- views.view.test_filter_group_override.yml in core/
modules/ views/ tests/ modules/ views_test_config/ test_views/ views.view.test_filter_group_override.yml - core/modules/views/tests/modules/views_test_config/test_views/views.view.test_filter_group_override.yml
- views.view.test_serializer_display_field.yml in core/
modules/ rest/ tests/ modules/ rest_test_views/ test_views/ views.view.test_serializer_display_field.yml - core/modules/rest/tests/modules/rest_test_views/test_views/views.view.test_serializer_display_field.yml
- views.view.test_view_storage.yml in core/
modules/ views/ tests/ modules/ views_test_config/ test_views/ views.view.test_view_storage.yml - core/modules/views/tests/modules/views_test_config/test_views/views.view.test_view_storage.yml
- ViewsHandlerManagerTest::setUp in core/
modules/ views/ tests/ src/ Unit/ ViewsHandlerManagerTest.php - ViewsModerationStateFilterTest::testStateFilterStatesList in core/
modules/ content_moderation/ tests/ src/ Kernel/ ViewsModerationStateFilterTest.php - Tests the list of states in the filter plugin.
- ViewStorageTest::displayMethodTests in core/
modules/ views/ tests/ src/ Kernel/ ViewStorageTest.php - Tests the display related functions like getDisplaysList().
- ViewStorageTest::displayTests in core/
modules/ views/ tests/ src/ Kernel/ ViewStorageTest.php - Tests adding, saving, and loading displays on configuration entities.
- ViewStorageTest::displayTests in core/
modules/ views/ tests/ src/ Kernel/ ViewStorageTest.php - Tests adding, saving, and loading displays on configuration entities.
- WebTestBaseTest::providerAssertFieldByName in core/
modules/ simpletest/ tests/ src/ Unit/ WebTestBaseTest.php - Provides data for testing the assertFieldByName() helper.
- WorkflowTest::testAddAndHasState in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::addState @covers ::hasState
- WorkflowTest::testAddStateException in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::addState
- WorkflowTest::testAddStateInvalidIdException in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::addState
- WorkflowTest::testAddTransition in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::addTransition @covers ::hasTransition
- WorkflowTest::testAddTransitionConsistentAfterFromCatch in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::addTransition
- WorkflowTest::testAddTransitionDuplicateException in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::addTransition
- WorkflowTest::testAddTransitionDuplicateTransitionStatesException in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::addTransition
- WorkflowTest::testAddTransitionInvalidIdException in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::addTransition
- WorkflowTest::testAddTransitionMissingFromException in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::addTransition
- WorkflowTest::testAddTransitionMissingToException in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::addTransition
- WorkflowTest::testDeleteOnlyStateException in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::deleteState
- WorkflowTest::testDeleteStateException in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::deleteState
- WorkflowTest::testDeleteTransitionException in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::deleteTransition
- WorkflowTest::testGetState in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::getState
- WorkflowTest::testGetStateException in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::getState
- WorkflowTest::testGetStates in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::getStates
- WorkflowTest::testGetStatesException in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::getStates
- WorkflowTest::testGetTransition in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::getTransition
- WorkflowTest::testGetTransitionException in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::getTransition
- WorkflowTest::testGetTransitionFromStateToState in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::getTransitionFromStateToState @covers ::hasTransitionFromStateToState
- WorkflowTest::testGetTransitionFromStateToStateException in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::getTransitionFromStateToState
- WorkflowTest::testGetTransitions in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::getTransitions @covers ::setTransitionWeight
- WorkflowTest::testGetTransitionsForState in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::getTransitionsForState
- WorkflowTest::testNumericIdSorting in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - Test numeric IDs when added to a workflow.
- WorkflowTest::testSetStateLabel in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::setStateLabel
- WorkflowTest::testSetStateLabelException in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::setStateLabel
- WorkflowTest::testSetStateWeight in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::setStateWeight
- WorkflowTest::testSetStateWeightException in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::setStateWeight
- WorkflowTest::testSetStateWeightNonNumericException in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::setStateWeight
- WorkflowTest::testSetTransitionFromStates in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::setTransitionFromStates
- WorkflowTest::testSetTransitionFromStates in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::setTransitionFromStates
- WorkflowTest::testSetTransitionFromStatesAlreadyExists in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::setTransitionFromStates
- WorkflowTest::testSetTransitionFromStatesMissingState in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::setTransitionFromStates
- WorkflowTest::testSetTransitionFromStatesMissingTransition in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::setTransitionFromStates
- WorkflowTest::testSetTransitionLabel in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::setTransitionLabel
- WorkflowTest::testSetTransitionLabelException in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::setTransitionLabel
- WorkflowTest::testSetTransitionWeight in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::setTransitionWeight
- WorkflowTest::testSetTransitionWeightException in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::setTransitionWeight
- WorkflowTest::testSetTransitionWeightNonNumericException in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers ::setTransitionWeight
- WorkflowTest::testStatus in core/
modules/ workflows/ tests/ src/ Unit/ WorkflowTest.php - @covers \Drupal\workflows\Entity\Workflow::status
- WorkflowUiTest::testAccess in core/
modules/ workflows/ tests/ src/ Functional/ WorkflowUiTest.php - Tests route access/permissions.
- WorkflowUiTest::testSorting in core/
modules/ workflows/ tests/ src/ Functional/ WorkflowUiTest.php - Test the sorting of states and transitions by weight and label.
- WorkflowUiTest::testSorting in core/
modules/ workflows/ tests/ src/ Functional/ WorkflowUiTest.php - Test the sorting of states and transitions by weight and label.
- WorkflowUiTest::testWorkflowConfigurationForm in core/
modules/ workflows/ tests/ src/ Functional/ WorkflowUiTest.php - Test the workflow configuration form.
- WorkflowUiTest::testWorkflowConfigurationForm in core/
modules/ workflows/ tests/ src/ Functional/ WorkflowUiTest.php - Test the workflow configuration form.
- WorkflowUiTest::testWorkflowCreation in core/
modules/ workflows/ tests/ src/ Functional/ WorkflowUiTest.php - Tests the creation of a workflow through the UI.
- WorkflowUiTest::testWorkflowCreation in core/
modules/ workflows/ tests/ src/ Functional/ WorkflowUiTest.php - Tests the creation of a workflow through the UI.
- WorkspaceBypassTest::testBypassOwnWorkspace in core/
modules/ workspaces/ tests/ src/ Functional/ WorkspaceBypassTest.php - Verifies that a user can edit anything in a workspace they own.
- WorkspaceBypassTest::testBypassOwnWorkspace in core/
modules/ workspaces/ tests/ src/ Functional/ WorkspaceBypassTest.php - Verifies that a user can edit anything in a workspace they own.
- WorkspaceConcurrentEditingTest::testConcurrentEditing in core/
modules/ workspaces/ tests/ src/ Functional/ WorkspaceConcurrentEditingTest.php - Test editing a node in multiple workspaces.
- WorkspaceConcurrentEditingTest::testConcurrentEditing in core/
modules/ workspaces/ tests/ src/ Functional/ WorkspaceConcurrentEditingTest.php - Test editing a node in multiple workspaces.
- WorkspaceIntegrationTest::testDisallowedEntityCreateInNonDefaultWorkspace in core/
modules/ workspaces/ tests/ src/ Kernel/ WorkspaceIntegrationTest.php - Tests CREATE operations for unsupported entity types.
- WorkspaceIntegrationTest::testDisallowedEntityDeleteInNonDefaultWorkspace in core/
modules/ workspaces/ tests/ src/ Kernel/ WorkspaceIntegrationTest.php - Tests DELETE operations for unsupported entity types.
- WorkspaceIntegrationTest::testDisallowedEntityUpdateInNonDefaultWorkspace in core/
modules/ workspaces/ tests/ src/ Kernel/ WorkspaceIntegrationTest.php - Tests UPDATE operations for unsupported entity types.
- WorkspaceRequestSubscriberTest::setUp in core/
modules/ workspaces/ tests/ src/ Unit/ WorkspaceRequestSubscriberTest.php - XmlEncoderTest::testDecode in core/
modules/ serialization/ tests/ src/ Unit/ Encoder/ XmlEncoderTest.php - Tests the decode() method.
- XmlEncoderTest::testEncode in core/
modules/ serialization/ tests/ src/ Unit/ Encoder/ XmlEncoderTest.php - Tests the encode() method.
- YamlDirectoryDiscoveryTest::testDiscovery in core/
tests/ Drupal/ Tests/ Component/ Discovery/ YamlDirectoryDiscoveryTest.php - Tests YAML directory discovery.
- YamlDirectoryDiscoveryTest::testDiscoveryAlternateId in core/
tests/ Drupal/ Tests/ Component/ Discovery/ YamlDirectoryDiscoveryTest.php - Tests YAML directory discovery with an alternate ID key.
- YamlDirectoryDiscoveryTest::testDiscoveryInvalidYamlException in core/
tests/ Drupal/ Tests/ Component/ Discovery/ YamlDirectoryDiscoveryTest.php - Tests YAML directory discovery with invalid YAML.
- YamlDirectoryDiscoveryTest::testDiscoveryNoIdException in core/
tests/ Drupal/ Tests/ Component/ Discovery/ YamlDirectoryDiscoveryTest.php - Tests YAML directory discovery with a missing ID key.
- YamlDirectoryDiscoveryTest::testGetDefinitions in core/
tests/ Drupal/ Tests/ Core/ Plugin/ Discovery/ YamlDirectoryDiscoveryTest.php - @covers ::getDefinitions
- YamlDirectoryDiscoveryTest::testGetDefinitionsWithTranslatableDefinitions in core/
tests/ Drupal/ Tests/ Core/ Plugin/ Discovery/ YamlDirectoryDiscoveryTest.php - @covers ::getDefinitions
- YamlDiscoveryDecoratorTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Plugin/ Discovery/ YamlDiscoveryDecoratorTest.php - YamlDiscoveryTest::setUp in core/
tests/ Drupal/ Tests/ Core/ Plugin/ Discovery/ YamlDiscoveryTest.php - YamlDiscoveryTest::testDiscovery in core/
tests/ Drupal/ Tests/ Component/ Discovery/ YamlDiscoveryTest.php - Tests the YAML file discovery.
- YamlDiscoveryTest::testFilenameForBrokenYml in core/
tests/ Drupal/ Tests/ Core/ Discovery/ YamlDiscoveryTest.php - Tests if filename is output for a broken YAML file.
- YamlDiscoveryTest::testForBrokenYml in core/
tests/ Drupal/ Tests/ Component/ Discovery/ YamlDiscoveryTest.php - Tests if filename is output for a broken YAML file.
- YamlDiscoveryTest::testGetDefinitionsWithTranslatableDefinitions in core/
tests/ Drupal/ Tests/ Core/ Plugin/ Discovery/ YamlDiscoveryTest.php - @covers ::getDefinitions
- YamlTest::testDecode in core/
tests/ Drupal/ Tests/ Component/ Serialization/ YamlTest.php - @covers ::decode
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.