845 string references to 'Test'

AccessAwareRouterTest::setUp in core/tests/Drupal/Tests/Core/Routing/AccessAwareRouterTest.php
ActionValidationTest::setUp in core/modules/system/tests/src/Kernel/Entity/ActionValidationTest.php
ActionValidationTest::setUp in core/modules/system/tests/src/Kernel/Entity/ActionValidationTest.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.
AddModerationConfigActionTest::testWorkflowMustBeContentModeration in core/modules/content_moderation/tests/src/Kernel/ConfigAction/AddModerationConfigActionTest.php
AjaxCommandsTest::providerCss in core/tests/Drupal/Tests/Core/Ajax/AjaxCommandsTest.php
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
Tests that delete will propagate.
BackendChainImplementationUnitTest::testSet in core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php
Tests 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
BlockContentAccessHandlerTest::setUp in core/modules/block_content/tests/src/Kernel/BlockContentAccessHandlerTest.php
BlockContentRevisionsTest::testNullRevisionUser in core/modules/block_content/tests/src/Kernel/BlockContentRevisionsTest.php
Tests block content revision user id doesn't throw error with null field.
BlockContentTypeValidationTest::setUp in core/modules/block_content/tests/src/Kernel/BlockContentTypeValidationTest.php
BlockContentTypeValidationTest::setUp in core/modules/block_content/tests/src/Kernel/BlockContentTypeValidationTest.php
BlockFormTest::testGetUniqueMachineName in core/modules/block/tests/src/Unit/BlockFormTest.php
Tests the unique machine name generator.
BlockPageVariantTest::setUpDisplayVariant in core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php
Sets up a display variant plugin for testing.
BlockTest::testBlockTitle in core/modules/block/tests/src/Functional/BlockTest.php
Tests block title.
CacheableExceptionTest::testCacheableHttpException in core/tests/Drupal/Tests/Core/Http/CacheableExceptionTest.php
@covers \Drupal\Core\Http\Exception\CacheableHttpException
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.
CheckpointStorageTest::setUp in core/tests/Drupal/Tests/Core/Config/Checkpoint/CheckpointStorageTest.php
CheckpointStorageTest::testCheckpointCreation in core/tests/Drupal/Tests/Core/Config/Checkpoint/CheckpointStorageTest.php
@covers ::checkpoint @covers \Drupal\Core\Config\Checkpoint\Checkpoint
CheckpointStorageTest::testCheckpointCreation in core/tests/Drupal/Tests/Core/Config/Checkpoint/CheckpointStorageTest.php
@covers ::checkpoint @covers \Drupal\Core\Config\Checkpoint\Checkpoint
CheckRequirementsTest::testException in core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/CheckRequirementsTest.php
Tests the check requirements exception message.
CollectRoutesTest::setUp in core/modules/rest/tests/src/Unit/CollectRoutesTest.php
CommentLockTest::testLocks in core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php
Tests the lock behavior.
CommentOrphanTest::testOrphan in core/modules/comment/tests/src/Kernel/CommentOrphanTest.php
Test loading/deleting/rendering orphaned comments.
CommentTypeValidationTest::setUp in core/modules/comment/tests/src/Kernel/CommentTypeValidationTest.php
CommentTypeValidationTest::setUp in core/modules/comment/tests/src/Kernel/CommentTypeValidationTest.php
CommentValidationTest::testValidation in core/modules/comment/tests/src/Kernel/CommentValidationTest.php
Tests the comment validation constraints.
CommonTestHooks::pageAttachments in core/modules/system/tests/modules/common_test/src/Hook/CommonTestHooks.php
Implements hook_page_attachments().
CommonTestHooks::pageAttachmentsAlter in core/modules/system/tests/modules/common_test/src/Hook/CommonTestHooks.php
Implements hook_page_attachments_alter().
ComplexDataNormalizerTest::testNormalizeNonComplex in core/modules/serialization/tests/src/Unit/Normalizer/ComplexDataNormalizerTest.php
Tests normalize() where $object does not implement ComplexDataInterface.
ConfigActionAttributeTest::testNoLabelNoDeriver in core/tests/Drupal/Tests/Core/Config/Action/ConfigActionAttributeTest.php
@covers ::__construct
ConfigActionsTest::testConfigActions in core/modules/media/tests/src/Kernel/ConfigActionsTest.php
ConfigActionsTest::testConfigActions in core/modules/field/tests/src/Kernel/ConfigActionsTest.php
ConfigActionsTest::testLayoutBuilderActions in core/modules/layout_builder/tests/src/Kernel/ConfigActionsTest.php
Tests config actions exposed by Layout Builder.
ConfigActionTest::testSimpleConfigUpdate in core/tests/Drupal/KernelTests/Core/Config/Action/ConfigActionTest.php
ConfigActionValidationTest::testConfigActionsAreValidated in core/tests/Drupal/KernelTests/Core/Recipe/ConfigActionValidationTest.php
@testWith ["block_content_type"] ["node_type"] ["shortcut_set"] ["menu"]
ConfigActionValidationTest::testConfigActionsAreValidated in core/tests/Drupal/KernelTests/Core/Recipe/ConfigActionValidationTest.php
@testWith ["block_content_type"] ["node_type"] ["shortcut_set"] ["menu"]
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.
ConfigExportImportUITest::setUp in core/modules/config/tests/src/Functional/ConfigExportImportUITest.php
ConfigImporterMissingContentTest::testMissingBlockContent in core/tests/Drupal/KernelTests/Core/Config/ConfigImporterMissingContentTest.php
Tests the missing content, config import and the block plugin manager.
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().
ConfigTargetTest::providerTestFromFormException in core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php
ConfigTargetTest::testDuplicateTargetsNotAllowed in core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php
@covers \Drupal\Core\Form\ConfigFormBase::storeConfigKeyToFormElementMap
ConfigTargetTest::testFormCacheable in core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php
@covers \Drupal\Core\Form\ConfigFormBase::storeConfigKeyToFormElementMap @dataProvider providerTestFormCacheable
ConfigTargetTest::testFromFormConfigTarget in core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php
@covers ::fromForm
ConfigTargetTest::testFromFormString in core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php
@covers ::fromForm @covers ::fromString
ConfigTargetTest::testTree in core/modules/system/tests/src/FunctionalJavascript/Form/ConfigTargetTest.php
Tests #config_target with no callbacks.
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::providerMockedBacktrace in core/tests/Drupal/Tests/Core/Database/ConnectionTest.php
Provides data for testFindCallerFromDebugBacktraceWithMockedBacktrace.
ConnectionTest::testConnectionOptions in core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php
Tests the connection options of the active database.
ConnectionTest::testFindCallerFromDebugBacktrace in core/tests/Drupal/Tests/Core/Database/ConnectionTest.php
Tests that the proper caller is retrieved from the backtrace.
ConnectionTest::testFindCallerFromDebugBacktraceWithMockedBacktrace in core/tests/Drupal/Tests/Core/Database/ConnectionTest.php
Tests that a log called by a custom database driver returns proper caller.
ContactFormValidationTest::setUp in core/modules/contact/tests/src/Kernel/ContactFormValidationTest.php
ContactFormValidationTest::setUp in core/modules/contact/tests/src/Kernel/ContactFormValidationTest.php
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
Tests creating a new workflow using the content moderation plugin.
ContentModerationWorkflowTypeTest::testNewWorkflow in core/modules/content_moderation/tests/src/Functional/ContentModerationWorkflowTypeTest.php
Tests 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
Tests that content translation fields are created upon module installation.
ContentTranslationPermissionsTest::testPermissions in core/modules/content_translation/tests/src/Kernel/ContentTranslationPermissionsTest.php
Tests that enabling translation via the API triggers schema updates.
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
Sets up the test.
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
CronQueueTest::testDelayException in core/modules/system/tests/src/Kernel/System/CronQueueTest.php
Tests that DelayedRequeueException behaves as expected when running cron.
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.
DatabaseStorageTest::testConcurrent in core/tests/Drupal/KernelTests/Core/KeyValueStore/DatabaseStorageTest.php
Tests asynchronous table creation.
DatabaseTestController::pagerQueryEven in core/modules/system/tests/modules/database_test/src/Controller/DatabaseTestController.php
Runs a pager query and returns the results.
DatabaseTestHooks::queryAlter in core/modules/system/tests/modules/database_test/src/Hook/DatabaseTestHooks.php
Implements hook_query_alter().
DatabaseTestSchemaInstallTrait::installSampleSchema in core/tests/Drupal/KernelTests/Core/Database/DatabaseTestSchemaInstallTrait.php
Sets up our sample table schema.
database_test_query_alter in core/modules/system/tests/modules/database_test/database_test.module
Implements hook_query_alter().
DateFieldTest::testDefineValueProcessPipelineException in core/modules/datetime/tests/src/Unit/Plugin/migrate/field/DateFieldTest.php
Tests invalid date types throw an exception.
DateFormatValidationTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/DateFormatValidationTest.php
DateFormatValidationTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/DateFormatValidationTest.php
DbCommandBaseTester::configure in core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php
DbDumpTest::setUp in core/modules/mysql/tests/src/Kernel/mysql/DbDumpTest.php
DbDumpTest::testScriptLoad in core/modules/mysql/tests/src/Kernel/mysql/DbDumpTest.php
Tests 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.
DisplayModeBundleSelectionTest::testBundleSelection in core/modules/field_ui/tests/src/FunctionalJavascript/DisplayModeBundleSelectionTest.php
Tests the bundle selection.
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
DriverSpecificConnectionUnitTestBase::testConnectionOpen in core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php
Tests pdo options override.
DriverSpecificSchemaTestBase::testDefaultAfterAlter in core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php
Tests default values after altering table.
DriverSpecificSchemaTestBase::testFindTables in core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php
Tests the findTables() method.
DriverSpecificTransactionTestBase::testQueryFailureInTransaction in core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php
Tests that transactions can continue to be used if a query fails.
DrupalKernelTest::testClassLoaderAutoDetect in core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelTest.php
Tests class_loader_auto_detect setting.
DrupalKernelTest::testFindSitePath in core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php
Tests site path finding.
DrupalKernelTest::testUnBootedTerminate in core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php
@covers ::terminate @runInSeparateProcess
DrupalSqlBaseTest::testMinimumVersion in core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php
@covers ::checkRequirements
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.
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.
EditorValidationTest::setUp in core/modules/editor/tests/src/Kernel/EditorValidationTest.php
EditorValidationTest::setUp in core/modules/editor/tests/src/Kernel/EditorValidationTest.php
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.
EntityBundleConditionTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/EntityBundleConditionTest.php
EntityBundleConditionTest::testConditions in core/tests/Drupal/KernelTests/Core/Entity/EntityBundleConditionTest.php
Tests conditions.
EntityCloneConfigActionTest::setUp in core/tests/Drupal/KernelTests/Core/Recipe/EntityCloneConfigActionTest.php
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.
EntityFormDisplayValidationTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/EntityFormDisplayValidationTest.php
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.
EntityFormModeValidationTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/EntityFormModeValidationTest.php
EntityMethodConfigActionsTest::testRemoveComponentFromDisplay in core/tests/Drupal/KernelTests/Core/Recipe/EntityMethodConfigActionsTest.php
@testWith ["hideComponent"] ["hideComponents"]
EntityMethodConfigActionsTest::testSetMultipleThirdPartySettings in core/tests/Drupal/KernelTests/Core/Recipe/EntityMethodConfigActionsTest.php
EntityMethodConfigActionsTest::testSetSingleThirdPartySetting in core/tests/Drupal/KernelTests/Core/Recipe/EntityMethodConfigActionsTest.php
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/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::testDenormalizeWithEmptyUuid 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.
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
EntityUpdateTest::testEntityUpdate in core/modules/editor/tests/src/Kernel/EntityUpdateTest.php
Tests updating an existing entity.
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.
EntityViewDisplayValidationTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/EntityViewDisplayValidationTest.php
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.
EntityViewModeValidationTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/EntityViewModeValidationTest.php
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
ExtractorTest::testGetFilesFromSourcesExceptionRelativePath in core/tests/Drupal/Tests/Core/Theme/Icon/Plugin/ExtractorTest.php
Test the IconExtractorWithFinder::getFilesFromSources method.
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.
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
FieldEntitySettingsTest::testEntityReferenceSettingsNormalized in core/modules/field/tests/src/Kernel/Entity/FieldEntitySettingsTest.php
Tests entity reference settings are normalized on field creation and save.
FieldEntitySettingsTest::testFieldEntitiesCarryDefaultSettings in core/modules/field/tests/src/Kernel/Entity/FieldEntitySettingsTest.php
@group legacy
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().
FieldStorageConfigValidationTest::setUp in core/modules/field/tests/src/Kernel/Entity/FieldStorageConfigValidationTest.php
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.
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.
FileSaveUploadTest::setUp in core/modules/file/tests/src/Kernel/FileSaveUploadTest.php
FileStorageReadOnlyTest::setUp in core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php
FileStorageReadOnlyTest::testReadOnly in core/tests/Drupal/Tests/Component/PhpStorage/FileStorageReadOnlyTest.php
Tests writing with one class and reading with another.
FileStorageTest::setUp in core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php
FileStorageTest::testCreateDirectoryFailWarning in core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php
@covers ::createDirectory
FileStorageTest::testDeleteAll in core/tests/Drupal/Tests/Component/PhpStorage/FileStorageTest.php
@covers ::deleteAll
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.
FilterFormatValidationTest::setUp in core/modules/filter/tests/src/Kernel/FilterFormatValidationTest.php
FilterFormatValidationTest::setUp in core/modules/filter/tests/src/Kernel/FilterFormatValidationTest.php
FilterHtmlTest::setUp in core/modules/filter/tests/src/Unit/FilterHtmlTest.php
FilterHtmlTest::testSetConfiguration in core/modules/filter/tests/src/Unit/FilterHtmlTest.php
@covers ::setConfiguration
FilterImageLazyLoadTest::setUp in core/modules/filter/tests/src/Unit/FilterImageLazyLoadTest.php
FilterPluginBaseTest::testAcceptExposedInput in core/modules/views/tests/src/Unit/Plugin/filter/FilterPluginBaseTest.php
@covers ::acceptExposedInput
FixtureDeprecatedClass::testFunction in core/modules/system/tests/modules/deprecation_test/src/Deprecation/FixtureDeprecatedClass.php
Returns a known value.
FlattenTest::providerTestFlatten in core/modules/migrate/tests/src/Unit/process/FlattenTest.php
Provides data for the testFlatten.
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::testGetAjaxRequest in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
@covers ::buildForm
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::testInvalidToken in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
@covers ::doBuildForm
FormBuilderTest::testPostAjaxRequest in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
@covers ::buildForm
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
FormStateDecoratorBaseTest::providerPrepareCallback in core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php
Provides data to self::testPrepareCallback().
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/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php
Tests Drupal\Core\Cache\CacheBackendInterface::delete().
GenericCacheBackendUnitTestBase::testInvalidateTags in core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php
Tests Drupal\Core\Cache\CacheBackendInterface::invalidateTags().
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/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
HookOrderEqualPriorityTest::testAfter in core/tests/Drupal/Tests/Core/Hook/HookOrderEqualPriorityTest.php
@covers ::after
HookOrderEqualPriorityTest::testBefore in core/tests/Drupal/Tests/Core/Hook/HookOrderEqualPriorityTest.php
@covers ::before
HookOrderEqualPriorityTest::testFirst in core/tests/Drupal/Tests/Core/Hook/HookOrderEqualPriorityTest.php
@covers ::first
HookOrderEqualPriorityTest::testLast in core/tests/Drupal/Tests/Core/Hook/HookOrderEqualPriorityTest.php
@covers ::last
HookOrderTest::testAfter in core/tests/Drupal/Tests/Core/Hook/HookOrderTest.php
@covers ::after
HookOrderTest::testAfterNoChange in core/tests/Drupal/Tests/Core/Hook/HookOrderTest.php
@covers ::after
HookOrderTest::testBefore in core/tests/Drupal/Tests/Core/Hook/HookOrderTest.php
@covers ::before
HookOrderTest::testBeforeNoChange in core/tests/Drupal/Tests/Core/Hook/HookOrderTest.php
@covers ::before
HookOrderTest::testFirst in core/tests/Drupal/Tests/Core/Hook/HookOrderTest.php
@covers ::first
HookOrderTest::testFirstNoChange in core/tests/Drupal/Tests/Core/Hook/HookOrderTest.php
@covers ::first
HookOrderTest::testLast in core/tests/Drupal/Tests/Core/Hook/HookOrderTest.php
@covers ::last
HookOrderTest::testLastNoChange in core/tests/Drupal/Tests/Core/Hook/HookOrderTest.php
@covers ::last
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
IconPackManagerKernelTest::testGetExtractorPluginFormsWithDefault in core/tests/Drupal/KernelTests/Core/Theme/Icon/IconPackManagerKernelTest.php
Test the IconPackManager::getExtractorPluginForms method with default.
IconPackManagerKernelTest::testProcessDefinition in core/tests/Drupal/KernelTests/Core/Theme/Icon/IconPackManagerKernelTest.php
Test the IconPackManager::processDefinition method.
IconTest::testGetInfo in core/tests/Drupal/Tests/Core/Theme/Icon/IconTest.php
Test the Icon::getInfo method.
ImageDimensionsTest::testImageDimensions in core/modules/image/tests/src/Functional/ImageDimensionsTest.php
Tests styled image dimensions cumulatively.
ImageDimensionsTest::testImageDimensions in core/modules/image/tests/src/Functional/ImageDimensionsTest.php
Tests 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.
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
ImageStyleCustomStreamWrappersTest::setUp in core/modules/image/tests/src/Kernel/ImageStyleCustomStreamWrappersTest.php
ImageStyleValidationTest::setUp in core/modules/image/tests/src/Kernel/ImageStyleValidationTest.php
ImageStyleValidationTest::setUp in core/modules/image/tests/src/Kernel/ImageStyleValidationTest.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
ImmutablePropertiesConstraintValidatorTest::testImmutablePropertyCannotBeChanged in core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php
Tests that changing a config entity's immutable property raises an error.
ImmutablePropertiesConstraintValidatorTest::testImmutablePropertyCannotBeChanged in core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php
Tests that changing a config entity's immutable property raises an error.
ImmutablePropertiesConstraintValidatorTest::testValidatorRejectsANonExistentProperty in core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php
Tests that the validator throws an exception for non-existent properties.
ImmutablePropertiesConstraintValidatorTest::testValidatorRejectsANonExistentProperty in core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php
Tests that the validator throws an exception for non-existent properties.
InOperatorTest::testValidate in core/modules/views/tests/src/Unit/Plugin/filter/InOperatorTest.php
@covers ::validate
InsertTest::testInsertIntegrityViolation in core/tests/Drupal/KernelTests/Core/Database/InsertTest.php
Tests insertion integrity violation with no default value for a column.
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
JSInteractionTest::testElementsInteraction in core/tests/Drupal/FunctionalJavascriptTests/Tests/JSInteractionTest.php
Assert no exception is thrown when elements become interactive.
JSInteractionTest::testFieldValueNotSettable in core/tests/Drupal/FunctionalJavascriptTests/Tests/JSInteractionTest.php
Assert an exception is thrown when the field is never enabled.
JsonApiRegressionTest::testPostToIncludeUrlDoesNotReturnIncludeFromIssue3026030 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Ensure includes are respected even when POSTing.
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
LanguageTestHooks::languageTypesInfo in core/modules/language/tests/language_test/src/Hook/LanguageTestHooks.php
Implements hook_language_types_info().
LatestTranslationAffectedRevisionTest::testLatestRevisionFilter in core/modules/views/tests/src/Kernel/Entity/LatestTranslationAffectedRevisionTest.php
Tests the 'Latest revision' filter.
LegacyBootstrapTest::testWatchdogException in core/tests/Drupal/KernelTests/Core/Bootstrap/LegacyBootstrapTest.php
Tests watchdog_exception() deprecation.
LegacyUserTest::testUserRolePermissions in core/modules/user/tests/src/Kernel/LegacyUserTest.php
Tests deprecation of user_role_permissions().
legacy_hook_test.info.yml in core/modules/system/tests/modules/legacy_hook_test/legacy_hook_test.info.yml
core/modules/system/tests/modules/legacy_hook_test/legacy_hook_test.info.yml
LibraryDiscoveryCollectorTest::testDestruct in core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php
Tests the destruct method.
LibraryDiscoveryCollectorTest::testLibrariesExtend in core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php
Tests library with an extend.
LibraryDiscoveryCollectorTest::testLibrariesExtendDeprecated in core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryCollectorTest.php
Tests a deprecated library with an extend.
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::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.
LoggerChannelTest::testNullIp in core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php
Tests that $context['ip'] is a string even when the request's IP is NULL.
LogTest::providerTestLog in core/modules/migrate/tests/src/Unit/process/LogTest.php
Provides data for testLog.
LogTest::testLog in core/modules/migrate/tests/src/Kernel/Plugin/LogTest.php
Tests the Log plugin.
MachineNameTest::buildForm in core/tests/Drupal/KernelTests/Core/Render/Element/MachineNameTest.php
Form constructor.
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::testNotAppliedUntilSavedWarning in core/modules/field_ui/tests/src/FunctionalJavascript/ManageDisplayTest.php
Confirms that notifications to save appear when necessary.
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.
ManageFieldsTest::testReuseExistingField in core/modules/field_ui/tests/src/FunctionalJavascript/ManageFieldsTest.php
Tests re-using an existing field and the visibility of the re-use button.
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
MediaAccessControlHandlerTest::testRevisionLogFieldAccess in core/modules/media/tests/src/Kernel/MediaAccessControlHandlerTest.php
Tests access to the revision log field.
MediaAccessTest::testCanonicalMediaAccess in core/modules/media/tests/src/Functional/MediaAccessTest.php
Tests view access control on the canonical page.
MediaAccessTest::testMediaAccess in core/modules/media/tests/src/Functional/MediaAccessTest.php
Tests 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
Tests basic media display.
MediaKernelTestBase::setUp in core/modules/media/tests/src/Kernel/MediaKernelTestBase.php
MediaLibraryAccessTest::testAddFormAccess in core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php
Tests that the media library respects arbitrary access to the add form.
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
Tests that hash is unaffected by allowed media type order.
MediaLibraryStateTest::testHashUnaffectedByOpenerParamOrder in core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php
Tests 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
MediaMappingsConstraintValidatorTest::testMediaMappingSource in core/modules/media/tests/src/Kernel/MediaMappingsConstraintValidatorTest.php
@covers ::validate
MediaOverviewPageTest::testMediaOverviewAuthorFilter in core/modules/media/tests/src/Functional/MediaOverviewPageTest.php
Tests the author views filter uses the user_name plugin.
MediaOverviewPageTest::testMediaOverviewPage in core/modules/media/tests/src/Functional/MediaOverviewPageTest.php
Tests that the Media overview page (/admin/content/media).
MediaRequirementsTest::testMissingSourceFieldDefinition in core/modules/media/tests/src/Functional/MediaRequirementsTest.php
Tests that the requirements check can handle a missing source field.
MediaRevisionTest::createMedia in core/modules/media/tests/src/Functional/MediaRevisionTest.php
Creates a media item.
MediaRevisionTest::setUp in core/modules/media/tests/src/Functional/MediaRevisionTest.php
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
Tests 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.
MediaTypeValidationTest::setUp in core/modules/media/tests/src/Kernel/MediaTypeValidationTest.php
MediaUiFunctionalTest::testMediaCollectionRoute in core/modules/media/tests/src/Functional/MediaUiFunctionalTest.php
Tests 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::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.
MediaUiReferenceWidgetTest::testMediaReferenceWidget in core/modules/media/tests/src/Functional/MediaUiReferenceWidgetTest.php
Tests the default autocomplete widgets for media reference fields.
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
Tests 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().
MenuValidationTest::setUp in core/modules/system/tests/src/Kernel/Entity/MenuValidationTest.php
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
MigrateEntityContentBaseTest::testStubRows in core/modules/migrate/tests/src/Kernel/MigrateEntityContentBaseTest.php
Tests stub rows.
MigrateExecutableTest::testImportWithValidRowWithProcesMigrateException in core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php
Tests the import method with a thrown MigrateException.
MigrationPluginManagerTest::providerCreateInstanceByTag in core/modules/migrate/tests/src/Kernel/MigrationPluginManagerTest.php
Data provider for testCreateInstancesByTag.
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
Tests 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.
ModuleFilterTest::testModuleFilter in core/modules/system/tests/src/FunctionalJavascript/ModuleFilterTest.php
Tests that filter results announcement has correct pluralization.
ModuleTest::testViewsFetchPluginNames in core/modules/views/tests/src/Kernel/ModuleTest.php
Tests the \Drupal\views\Views::fetchPluginNames() method.
MTimeProtectedFileStorageBase::setUp in core/tests/Drupal/Tests/Component/PhpStorage/MTimeProtectedFileStorageBase.php
node.type.test.yml in core/tests/fixtures/recipes/unmet_config_dependencies/config/node.type.test.yml
core/tests/fixtures/recipes/unmet_config_dependencies/config/node.type.test.yml
node.type.test.yml in core/tests/fixtures/recipes/install_node_with_config/config/node.type.test.yml
core/tests/fixtures/recipes/install_node_with_config/config/node.type.test.yml
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::transformDataProvider in core/modules/migrate/tests/src/Unit/process/NullCoalesceTest.php
Provides Data for ::testTransform.
NullCoalesceTest::transformWithDefaultProvider in core/modules/migrate/tests/src/Unit/process/NullCoalesceTest.php
Provides Data for ::testTransformWithDefault.
NullStorageTest::testCollection in core/tests/Drupal/Tests/Core/Config/NullStorageTest.php
Tests 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
PathWithNodeAccessGrantsTest::testAliasTranslation in core/modules/path/tests/src/Functional/PathWithNodeAccessGrantsTest.php
Tests alias functionality through the admin interfaces.
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
PermissionsPerBundleTest::setUp in core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.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.
PhpStorageTestBase::assertCRUD in core/tests/Drupal/Tests/Component/PhpStorage/PhpStorageTestBase.php
Assert that a PHP storage's load/save/delete operations work.
PhpUnitBridgeIsolatedTest::testDeprecatedClass in core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeIsolatedTest.php
PhpUnitBridgeRequiresTest::testWillNeverRun in core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeRequiresTest.php
Tests the @requires annotation.
PhpUnitBridgeTest::testDeprecatedClass in core/tests/Drupal/KernelTests/Core/Test/PhpUnitBridgeTest.php
PhpUnitBridgeTest::testDeprecatedClass in core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeTest.php
Tests class-level deprecation.
PluginIdTest::testGet in core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginIdTest.php
@covers ::get
PluginSettingsBaseTest::testGetThirdPartySettings in core/tests/Drupal/Tests/Core/Field/PluginSettingsBaseTest.php
@covers ::getThirdPartySettings
PluginTest::testGet in core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginTest.php
@covers ::__construct @covers ::get
PluginTest::testSetClass in core/tests/Drupal/Tests/Component/Plugin/Attribute/PluginTest.php
@covers ::setClass @covers ::getClass
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::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::testGetMetadata in core/tests/Drupal/Tests/Core/TempStore/PrivateTempStoreTest.php
Tests the getMetadata() method.
PrivateTempStoreTest::testSet in core/tests/Drupal/Tests/Core/TempStore/PrivateTempStoreTest.php
Tests a successful set() call.
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
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::testGetKeys in core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php
@covers ::getKeys @covers ::getValues
QueryParameterTest::providerGetArgument in core/modules/views/tests/src/Unit/Plugin/argument_default/QueryParameterTest.php
Provides data for testGetArgument().
RawTest::testGetArgument in core/modules/views/tests/src/Unit/Plugin/argument_default/RawTest.php
Tests the getArgument() method.
RecipeRunnerTest::testApplySameRecipe in core/tests/Drupal/KernelTests/Core/Recipe/RecipeRunnerTest.php
RecursiveContextualValidatorTest::testRecursiveViolationPropagation in core/tests/Drupal/KernelTests/Core/TypedData/RecursiveContextualValidatorTest.php
Tests 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'.
RendererBubblingTest::testBubblingWithoutPreRender in core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php
Tests bubbling of assets when NOT using #pre_render callbacks.
RendererCallbackTest::providerTestCallback in core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php
Data provider for testCallback().
RendererPlaceholdersTest::generatePlaceholdersWithChildrenTestElement in core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php
Generates an element with placeholders at 3 levels.
RenderTest::testDeprecateRenderPlain in core/tests/Drupal/KernelTests/Core/Render/RenderTest.php
Tests the deprecation of \Drupal\Core\Render\Renderer::renderPlain()
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
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.
ResourceFetcherTest::testFetchTimeout in core/modules/media/tests/src/Unit/ResourceFetcherTest.php
Tests that resources are fetched with a hard-coded timeout.
ResourceFetcherTest::testUnknownContentTypeHeader in core/modules/media/tests/src/Unit/ResourceFetcherTest.php
Tests how the resource fetcher handles unknown Content-Type headers.
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
Tests the response format.
ResourceResponseSubscriberTest::testSerialization in core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php
@covers ::onResponse @dataProvider providerTestSerialization
ResponsiveImageStyleValidationTest::setUp in core/modules/responsive_image/tests/src/Kernel/ResponsiveImageStyleValidationTest.php
ResponsiveImageStyleValidationTest::setUp in core/modules/responsive_image/tests/src/Kernel/ResponsiveImageStyleValidationTest.php
RestResourceConfigValidationTest::setUp in core/modules/rest/tests/src/Kernel/Entity/RestResourceConfigValidationTest.php
RevisionRelationshipsTest::testNodeRevisionRelationship in core/modules/node/tests/src/Kernel/Views/RevisionRelationshipsTest.php
Create a node with revision and rest result count for both views.
RevisionUserTest::setUp in core/modules/media/tests/src/Kernel/Views/RevisionUserTest.php
RoleValidationTest::setUp in core/modules/user/tests/src/Kernel/RoleValidationTest.php
RoleValidationTest::setUp in core/modules/user/tests/src/Kernel/RoleValidationTest.php
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.
RowCountExceptionTest::providerTestExceptionMessage in core/tests/Drupal/Tests/Core/Database/RowCountExceptionTest.php
Data provider for ::testExceptionMessage()
RowEntityRenderersTest::setUp in core/modules/views/tests/src/Kernel/Entity/RowEntityRenderersTest.php
RowEntityRenderersTest::setUp in core/modules/views/tests/src/Kernel/Entity/RowEntityRenderersTest.php
SaveActionTest::testSaveAction in core/tests/Drupal/KernelTests/Core/Action/SaveActionTest.php
@covers \Drupal\Core\Action\Plugin\Action\SaveAction::execute
SchemaUniquePrefixedKeysIndexTestBase::testAddField in core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php
Tests adding a new field with UNIQUE key.
SearchBlockTest::testSearchFormBlock in core/modules/search/tests/src/Functional/SearchBlockTest.php
Tests 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.
SearchPageValidationTest::setUp in core/modules/search/tests/src/Kernel/SearchPageValidationTest.php
SearchPageValidationTest::setUp in core/modules/search/tests/src/Kernel/SearchPageValidationTest.php
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
Tests 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
Tests 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
Tests 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
Tests we can use a subquery with a relational operator in a WHERE clause.
SelectSubqueryTest::testConditionSubquerySelect3 in core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php
Tests we can use 2 subqueries with a relational operator in a WHERE clause.
SelectSubqueryTest::testConditionSubquerySelect4 in core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php
Tests 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.
SettingsTest::providerTestCredentialForm in core/modules/migrate_drupal_ui/tests/src/FunctionalJavascript/SettingsTest.php
Data provider for testCredentialForm.
SettingSummariesContentTypeTest::setUp in core/modules/node/tests/src/FunctionalJavascript/SettingSummariesContentTypeTest.php
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::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::testGetMetadata in core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php
Tests the getMetadata() method.
SharedTempStoreTest::testSet in core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php
Tests a successful set() call.
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::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::testSetWithNoLockAvailable in core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php
Tests the set() method with no lock available.
ShortcutSetValidationTest::setUp in core/modules/shortcut/tests/src/Kernel/ShortcutSetValidationTest.php
SmartDefaultSettingsTest::providerCandidates in core/modules/ckeditor5/tests/src/Unit/SmartDefaultSettingsTest.php
Data provider for testing getCandidates() and ::selectCandidate().
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.
SqlContentEntityStorageSchemaColumnTest::testColumnUpdateWithFlag in core/modules/field/tests/src/Kernel/Entity/Update/SqlContentEntityStorageSchemaColumnTest.php
Tests that schema changes are updated for fields with data with the flag.
SqlTest::setUp in core/modules/migrate/tests/src/Kernel/Plugin/id_map/SqlTest.php
SqlTest::testEnsureTables in core/modules/migrate/tests/src/Kernel/Plugin/id_map/SqlTest.php
Tests that ensureTables creates the migrate map table.
SqlTest::testFailEnsureTables in core/modules/migrate/tests/src/Kernel/Plugin/id_map/SqlTest.php
Tests exception is thrown in ensureTables fails.
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
StringFormatterTest::testLinkToContentForEntitiesWithNoCanonicalPath in core/modules/field/tests/src/Kernel/KernelString/StringFormatterTest.php
Test "link_to_entity" feature on fields which are added to config entity.
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
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 for "has at least one of these tags".
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.
tag_test_0.yml in core/modules/migrate/tests/modules/migrate_tag_test/migrations/tag_test_0.yml
core/modules/migrate/tests/modules/migrate_tag_test/migrations/tag_test_0.yml
tag_test_1.yml in core/modules/migrate/tests/modules/migrate_tag_test/migrations/tag_test_1.yml
core/modules/migrate/tests/modules/migrate_tag_test/migrations/tag_test_1.yml
TaxonomyRevisionDeleteTest::setUp in core/modules/taxonomy/tests/src/Functional/TaxonomyRevisionDeleteTest.php
TaxonomyRevisionDeleteTest::setUp in core/modules/taxonomy/tests/src/Functional/TaxonomyRevisionDeleteTest.php
TaxonomyRevisionRevertTest::setUp in core/modules/taxonomy/tests/src/Functional/TaxonomyRevisionRevertTest.php
TaxonomyRevisionRevertTest::setUp in core/modules/taxonomy/tests/src/Functional/TaxonomyRevisionRevertTest.php
TaxonomyRevisionVersionHistoryTest::setUp in core/modules/taxonomy/tests/src/Functional/TaxonomyRevisionVersionHistoryTest.php
TaxonomyRevisionVersionHistoryTest::setUp in core/modules/taxonomy/tests/src/Functional/TaxonomyRevisionVersionHistoryTest.php
TemporaryQueryTestBase::testTemporaryQuery in core/tests/Drupal/KernelTests/Core/Database/TemporaryQueryTestBase.php
Confirms that temporary tables work.
TermValidationTest::testValidation in core/modules/taxonomy/tests/src/Kernel/TermValidationTest.php
Tests the term validation constraints.
TestAttributesBlock::build in core/modules/layout_builder/tests/modules/layout_builder_test/src/Plugin/Block/TestAttributesBlock.php
Builds and returns the renderable array for this block plugin.
TestContextAwareUnsatisfiedBlock::build in core/modules/block/tests/modules/block_test/src/Plugin/Block/TestContextAwareUnsatisfiedBlock.php
Builds and returns the renderable array for this block plugin.
TestDatabase::__construct in core/lib/Drupal/Core/Test/TestDatabase.php
TestDatabase constructor.
TestDiscovery::getTestClasses in core/lib/Drupal/Core/Test/TestDiscovery.php
Discovers all available tests in all extensions.
TestDiscoveryTest::infoParserProvider in core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
TestDiscoveryTest::infoParserProvider in core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
TestKernel::setContainerWithKernel in core/lib/Drupal/Core/Test/TestKernel.php
Sets a container with a kernel service on the Drupal class.
TestPluginWithForm::getPluginId in core/tests/Drupal/Tests/Core/Theme/Icon/IconPackExtractorFormTest.php
Gets the plugin ID of the plugin instance.
TestSiteApplicationTest::getTestLockFile in core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php
Gets the lock file path.
TestSiteApplicationTest::getTestLockFile in core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php
Gets the lock file path.
TestSiteApplicationTest::testUserLogin in core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php
@coversNothing
TestSiteApplicationTest::testUserLogin in core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php
@coversNothing
TestToolkit::validateConfigurationForm in core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php
Form validation handler.
TestWorkspaceNegotiator::getActiveWorkspaceId in core/modules/workspaces/tests/modules/workspace_update_test/src/Negotiator/TestWorkspaceNegotiator.php
Performs workspace negotiation.
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::testDoGetBaseThemes in core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php
Tests getting the base themes for a set of defined themes.
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
Tests Image toolkit setup form.
ToolkitTest::testGetAvailableToolkits in core/tests/Drupal/KernelTests/Core/Image/ToolkitTest.php
Tests that the toolkit manager only returns available toolkits.
ToolkitTest::testLoad in core/tests/Drupal/KernelTests/Core/Image/ToolkitTest.php
Tests Image's methods.
ToolkitTestTrait::getImage in core/tests/Drupal/Tests/Traits/Core/Image/ToolkitTestTrait.php
Sets up an image with the custom toolkit.
TourValidationTest::setUp in core/modules/tour/tests/src/Kernel/TourValidationTest.php
TourValidationTest::setUp in core/modules/tour/tests/src/Kernel/TourValidationTest.php
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
TrustedMethods::attributeCallback in core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
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::providerTestRenderVarEarlyReturn in core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php
Data provider for ::testRenderVarEarlyReturn().
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.
TypedConfigTest::testTypedDataAPI in core/tests/Drupal/KernelTests/Config/TypedConfigTest.php
Verifies that the Typed Data API is implemented correctly.
TypedConfigTest::testTypedDataAPI in core/tests/Drupal/KernelTests/Config/TypedConfigTest.php
Verifies that the Typed Data API is implemented correctly.
TypedDataDefinitionEntityBundleTest::testEntityBundleDefinitions in core/tests/Drupal/KernelTests/Core/TypedData/TypedDataDefinitionEntityBundleTest.php
Tests that entity bundle definitions are derived correctly.
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
UpdateLobTest::testUpdateNullBlob in core/tests/Drupal/KernelTests/Core/Database/UpdateLobTest.php
Tests that we can update a blob column to null.
UpdatePathTest::testLogEntryWithBigId in core/modules/dblog/tests/src/Functional/UpdatePathTest.php
Tests that, after update 10101, the 'wid' column can be a 64-bit integer.
UpdatePathTestBase::testDatabaseLoaded in core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php
Tests that the database was properly loaded.
UpdatePathTestBaseFilledTest::testUpdatedSite in core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestBaseFilledTest.php
Tests that the content and configuration were properly updated.
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
Tests 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
UpsertTest::testUpsertNullBlob in core/tests/Drupal/KernelTests/Core/Database/UpsertTest.php
Tests that we can upsert a null into blob field.
UserAccountFormFieldsTest::testUserEditForm in core/modules/user/tests/src/Kernel/UserAccountFormFieldsTest.php
Tests the user edit form.
UserAccountFormPasswordResetTest::setUp in core/modules/user/tests/src/Kernel/UserAccountFormPasswordResetTest.php
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.
ViewListBuilderTest::testBuildRowEntityList in core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php
Tests the listing of displays on a views list builder.
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.
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.
ViewValidationTest::setUp in core/modules/views/tests/src/Kernel/Entity/ViewValidationTest.php
ViewValidationTest::setUp in core/modules/views/tests/src/Kernel/Entity/ViewValidationTest.php
VocabularyValidationTest::setUp in core/modules/taxonomy/tests/src/Kernel/VocabularyValidationTest.php
VocabularyValidationTest::setUp in core/modules/taxonomy/tests/src/Kernel/VocabularyValidationTest.php
WebDriverTestBaseTest::testCapabilities in core/tests/Drupal/Tests/Core/Test/WebDriverTestBaseTest.php
Tests W3C setting is added to goog:chromeOptions as expected.
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
Tests 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::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
Tests the sorting of states and transitions by weight and label.
WorkflowUiTest::testSorting in core/modules/workflows/tests/src/Functional/WorkflowUiTest.php
Tests the sorting of states and transitions by weight and label.
WorkflowUiTest::testWorkflowConfigurationForm in core/modules/workflows/tests/src/Functional/WorkflowUiTest.php
Tests the workflow configuration form.
WorkflowUiTest::testWorkflowConfigurationForm in core/modules/workflows/tests/src/Functional/WorkflowUiTest.php
Tests 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.
WorkflowValidationTest::setUp in core/modules/workflows/tests/src/Kernel/WorkflowValidationTest.php
WorkflowValidationTest::setUp in core/modules/workflows/tests/src/Kernel/WorkflowValidationTest.php
WorkspaceAssociationDeprecationTest::testPostPublishDeprecation in core/modules/workspaces/tests/src/Kernel/WorkspaceAssociationDeprecationTest.php
@covers ::postPublish
WorkspaceAssociationDeprecationTest::testPostPublishDeprecation in core/modules/workspaces/tests/src/Kernel/WorkspaceAssociationDeprecationTest.php
@covers ::postPublish
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
Tests editing a node in multiple workspaces.
WorkspaceConcurrentEditingTest::testConcurrentEditing in core/modules/workspaces/tests/src/Functional/WorkspaceConcurrentEditingTest.php
Tests 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
WorkspaceTest::testDeleteWorkspaceWithExistingContent in core/modules/workspaces/tests/src/Functional/WorkspaceTest.php
Verifies that a workspace with existing content may be deleted.
WorkspaceTest::testDeleteWorkspaceWithExistingContent in core/modules/workspaces/tests/src/Functional/WorkspaceTest.php
Verifies that a workspace with existing content may be deleted.
WorkspaceTest::testPublishWorkspace in core/modules/workspaces/tests/src/Functional/WorkspaceTest.php
Verifies that a workspace can be published.
WorkspaceTest::testPublishWorkspace in core/modules/workspaces/tests/src/Functional/WorkspaceTest.php
Verifies that a workspace can be published.
WorkspaceTest::testWorkspaceManagePage in core/modules/workspaces/tests/src/Functional/WorkspaceTest.php
Tests the manage workspace page.
WorkspaceTest::testWorkspaceManagePage in core/modules/workspaces/tests/src/Functional/WorkspaceTest.php
Tests the manage workspace page.
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

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