217 calls to Drupal::setContainer()

AccessManagerTest::setUp in core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php
AccessPolicyProcessorTest::setUp in core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php
AccessResultTest::setUp in core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
ActiveWorkspaceCheckTest::setUp in core/modules/workspaces/tests/src/Unit/ActiveWorkspaceCheckTest.php
BaseFieldDefinitionTest::setUp in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
BaseFieldDefinitionTestBase::setUp in core/tests/Drupal/Tests/Core/Field/BaseFieldDefinitionTestBase.php
BlockComponentRenderArrayTest::setUp in core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php
BlockConfigEntityUnitTest::setUp in core/modules/block/tests/src/Unit/BlockConfigEntityUnitTest.php
BlockContentLocalTasksTest::setUp in core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php
BlockLocalTasksTest::setUp in core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php
BlockManagerTest::setUp in core/tests/Drupal/Tests/Core/Block/BlockManagerTest.php
BlockPageVariantTest::setUpDisplayVariant in core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php
Sets up a display variant plugin for testing.
BreadcrumbManagerTest::setUp in core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbManagerTest.php
BubbleableMetadataTest::testAddCacheableDependency in core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php
Tests addCacheableDependency().
BubbleableMetadataTest::testMerge in core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php
Tests merge().
BulkFormTest::tearDown in core/modules/views/tests/src/Unit/Plugin/views/field/BulkFormTest.php
BulkFormTest::testViewsForm in core/modules/views/tests/src/Unit/Plugin/views/field/BulkFormTest.php
@covers ::viewsForm
CacheableMetadataTest::testAddCacheableDependency in core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php
Tests addCacheableDependency().
CacheableMetadataTest::testMerge in core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php
Tests merge().
CacheTest::testMergeCacheContexts in core/tests/Drupal/Tests/Core/Cache/CacheTest.php
@covers ::mergeContexts
CollectRoutesTest::setUp in core/modules/rest/tests/src/Unit/CollectRoutesTest.php
CommentBulkFormTest::tearDown in core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php
CommentBulkFormTest::testConstructor in core/modules/comment/tests/src/Unit/Plugin/views/field/CommentBulkFormTest.php
Tests the constructor assignment of actions.
CommentLockTest::testLocks in core/modules/comment/tests/src/Unit/Entity/CommentLockTest.php
Tests the lock behavior.
ConfigEntityBaseUnitTest::setUp in core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php
ConfigEntityStorageTest::setUp in core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php
@covers ::__construct
ConfigEntityTypeTest::setUp in core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php
ConfigFactoryTest::setUp in core/tests/Drupal/Tests/Core/Config/ConfigFactoryTest.php
ConfigNamesMapperTest::setUp in core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php
ConfigTest::setUp in core/tests/Drupal/Tests/Core/Config/ConfigTest.php
ConfirmFormHelperTest::testCancelLinkDestination in core/tests/Drupal/Tests/Core/Form/ConfirmFormHelperTest.php
Tests a cancel link provided by the destination.
ContactLinkTest::setUp in core/modules/contact/tests/src/Unit/ContactLinkTest.php
ContainerDerivativeDiscoveryDecoratorTest::testGetDefinitions in core/tests/Drupal/Tests/Core/Plugin/Discovery/ContainerDerivativeDiscoveryDecoratorTest.php
@covers ::getDefinitions
ContentEntityBaseUnitTest::setUp in core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php
ContentEntityBaseUnitTest::testTypedData in core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php
Tests each condition in EntityBase::getTypedData().
ContentLanguageSettingsUnitTest::setUp in core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php
ContentTranslationManageAccessCheckTest::setUp in core/modules/content_translation/tests/src/Unit/Access/ContentTranslationManageAccessCheckTest.php
ContextAwarePluginTraitTest::testSetContextValue in core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php
@covers ::setContextValue
ContextDefinitionIsSatisfiedTest::setUp in core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionIsSatisfiedTest.php
ContextHandlerTest::setUp in core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php
ContextTest::testSetContextValueCacheableDependency in core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php
@covers ::setContextValue
ControllerBaseTest::testGetConfig in core/tests/Drupal/Tests/Core/Controller/ControllerBaseTest.php
Tests the config method.
CronSuspendQueueDelayTest::setUp in core/tests/Drupal/Tests/Core/Cron/CronSuspendQueueDelayTest.php
CronTest::setUp in core/tests/Drupal/Tests/Core/CronTest.php
CustomPageExceptionHtmlSubscriberTest::setUp in core/tests/Drupal/Tests/Core/EventSubscriber/CustomPageExceptionHtmlSubscriberTest.php
DateFormatAccessControlHandlerTest::testAccessProvider in core/modules/system/tests/src/Kernel/DateFormatAccessControlHandlerTest.php
DateHelperTest::setUp in core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php
DateHelperTest::testWeekDaysOrdered in core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php
@covers ::weekDaysOrdered @dataProvider providerTestWeekDaysOrdered
DateTest::setUp in core/tests/Drupal/Tests/Core/Datetime/DateTest.php
DefaultMenuLinkTreeManipulatorsTest::setUp in core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php
DefaultsSectionStorageTest::testBuildRoutes in core/modules/layout_builder/tests/src/Unit/DefaultsSectionStorageTest.php
@covers ::buildRoutes @covers ::getEntityTypes @covers \Drupal\layout_builder\Routing\LayoutBuilderRoutesTrait::buildLayoutRoutes
DefaultsSectionStorageTest::testBuildRoutesNoFieldUi in core/modules/layout_builder/tests/src/Unit/DefaultsSectionStorageTest.php
@covers ::buildRoutes
DefaultsSectionStorageTest::testThirdPartySettings in core/modules/layout_builder/tests/src/Unit/DefaultsSectionStorageTest.php
@covers ::getThirdPartySetting @covers ::setThirdPartySetting
DriverModuleMissingDependenciesTest::testDetermineDriversAutoloadingFailingOnMissingDependency in core/tests/Drupal/Tests/Core/Database/DriverModuleMissingDependenciesTest.php
@covers ::get
DrupalDateTimeTest::testRfc2822DateFormat in core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php
Tests that an RFC2822 formatted date always returns an English string.
DrupalKernel::initializeContainer in core/lib/Drupal/Core/DrupalKernel.php
Initializes the service container.
DrupalTest::setMockContainerService in core/tests/Drupal/Tests/Core/DrupalTest.php
Sets up a mock expectation for the container get() method.
DrupalTest::testSetContainer in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the get/setContainer() method.
EditorConfigEntityUnitTest::setUp in core/modules/editor/tests/src/Unit/EditorConfigEntityUnitTest.php
EntityAccessCheckTest::setUp in core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php
EntityAdapterUnitTest::setUp in core/tests/Drupal/Tests/Core/Entity/TypedData/EntityAdapterUnitTest.php
EntityConditionTest::setUp in core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php
EntityContextDefinitionIsSatisfiedTest::setUp in core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionIsSatisfiedTest.php
EntityConverterTest::setUpMocks in core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php
Sets up mock services and class instances.
EntityCreateAccessCheckTest::setUp in core/tests/Drupal/Tests/Core/Entity/EntityCreateAccessCheckTest.php
EntityDisplayModeBaseUnitTest::setUp in core/tests/Drupal/Tests/Core/Config/Entity/EntityDisplayModeBaseUnitTest.php
EntityFieldManagerTest::setUp in core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php
EntityFormDisplayAccessControlHandlerTest::setUp in core/tests/Drupal/Tests/Core/Entity/Access/EntityFormDisplayAccessControlHandlerTest.php
EntityLinkTest::setUp in core/tests/Drupal/Tests/Core/Entity/EntityLinkTest.php
EntityListBuilderTest::setUp in core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php
EntityTest::setUp in core/modules/views/tests/src/Unit/Plugin/area/EntityTest.php
EntityTypeBundleInfoTest::setUp in core/tests/Drupal/Tests/Core/Entity/EntityTypeBundleInfoTest.php
EntityUnitTest::setUp in core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php
EntityUnitTest::testCacheContexts in core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php
@covers ::getCacheContexts @covers ::addCacheContexts
EntityUrlTest::testUriRelationships in core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php
Tests the uriRelationships() method.
ExtensionSerializationTest::testPublicProperties in core/tests/Drupal/Tests/Core/Extension/ExtensionSerializationTest.php
Tests dynamically assigned public properties kept when serialized.
ExtensionSerializationTest::testServiceAppRouteUsage in core/tests/Drupal/Tests/Core/Extension/ExtensionSerializationTest.php
Tests that the Extension class unserialize method uses the preferred root.
FieldConfigEntityUnitTest::setUp in core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php
FieldDefinitionTest::setUp in core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php
FieldEntityTest::testGetEntityNullEntityOptionalRelationship in core/modules/views/tests/src/Functional/Entity/FieldEntityTest.php
Tests the getEntity method returning NULL for an optional relationship.
FieldEntityTest::testGetEntityNullEntityOptionalRelationship in core/modules/views/tests/src/Kernel/Entity/FieldEntityTest.php
Tests the getEntity method returning NULL for an optional relationship.
FieldItemListTest::testEquals in core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php
@covers ::equals
FieldItemListTest::testEqualsEmptyItems in core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php
@covers ::equals
FieldItemListTest::testHasAffectingChanges in core/tests/Drupal/Tests/Core/Field/FieldItemListTest.php
Tests identical behavior of ::hasAffectingChanges with ::equals.
FieldPluginBaseTest::setUp in core/modules/views/tests/src/Unit/Plugin/field/FieldPluginBaseTest.php
FieldStorageConfigAccessControlHandlerTest::setUp in core/modules/field/tests/src/Unit/FieldStorageConfigAccessControlHandlerTest.php
FieldStorageConfigEntityUnitTest::setUp in core/modules/field/tests/src/Unit/FieldStorageConfigEntityUnitTest.php
FieldTest::setUp in core/modules/views/tests/src/Unit/Plugin/field/FieldTest.php
FieldTypePluginManagerTest::setUp in core/tests/Drupal/Tests/Core/Field/FieldTypePluginManagerTest.php
FieldUiTest::setUp in core/modules/field_ui/tests/src/Unit/FieldUiTest.php
FileUrlGeneratorTest::testGenerateURI in core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php
@covers ::generate
FileUrlGeneratorTest::testGenerateURIWithSchema in core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php
@covers ::generate
FileUrlGeneratorTest::testRelativeFileURL in core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php
Tests generate absolute string with relative URL.
FormAjaxSubscriberTest::testOnExceptionBrokenPostRequest in core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php
@covers ::onException
FormBuilderTest::setUp in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
FormBuilderTest::testFormTokenCacheability in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
@covers ::prepareForm
FormBuilderTest::testGetFormIdWithInjectedClassName in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
Tests the getFormId() method with an injected class name form ID.
FormSubmitterTest::testRedirectWithoutResult in core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php
Tests the redirectForm() method when no redirect is expected.
FormSubmitterTest::testRedirectWithUrl in core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php
Tests redirectForm() when a redirect is a Url object.
ForumBreadcrumbBuilderBaseTest::setUp in core/modules/forum/tests/src/Unit/Breadcrumb/ForumBreadcrumbBuilderBaseTest.php
ForumListingBreadcrumbBuilderTest::setUp in core/modules/forum/tests/src/Unit/Breadcrumb/ForumListingBreadcrumbBuilderTest.php
ForumNodeBreadcrumbBuilderTest::setUp in core/modules/forum/tests/src/Unit/Breadcrumb/ForumNodeBreadcrumbBuilderTest.php
FunctionalTestSetupTrait::getDatabaseTypes in core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php
Returns all supported database driver installer objects.
HelpTopicDiscoveryTest::testHelpTopicsDefinition in core/modules/help/tests/src/Unit/HelpTopicDiscoveryTest.php
@covers ::findAll
HttpExceptionNormalizerTest::testNormalize in core/modules/jsonapi/tests/src/Unit/Normalizer/HttpExceptionNormalizerTest.php
@covers ::normalize
ImageStyleTest::testFlush in core/modules/image/tests/src/Unit/ImageStyleTest.php
@covers ::flush
ImageTest::testChmodFails in core/tests/Drupal/Tests/Core/Image/ImageTest.php
Tests \Drupal\Core\Image\Image::save().
ImageTest::testSave in core/tests/Drupal/Tests/Core/Image/ImageTest.php
Tests \Drupal\Core\Image\Image::save().
InstallerTestBase::installDrupal in core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php
We are testing the installer, so set up a minimal environment for that.
install_begin_request in core/includes/install.core.inc
Begins an installation request, modifying the installation state as needed.
KeyValueEntityStorageTest::setUpKeyValueEntityStorage in core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php
Prepares the key value entity storage.
LanguageConfigOverrideTest::setUp in core/modules/language/tests/src/Unit/Config/LanguageConfigOverrideTest.php
LanguageNegotiationContentEntityTest::setUp in core/modules/language/tests/src/Unit/Plugin/LanguageNegotiation/LanguageNegotiationContentEntityTest.php
LanguageNegotiationUrlTest::setUp in core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php
LanguageUnitTest::testIsDefault in core/tests/Drupal/Tests/Core/Language/LanguageUnitTest.php
@covers ::isDefault
LatestRevisionCheckTest::setUp in core/modules/content_moderation/tests/src/Unit/LatestRevisionCheckTest.php
LayoutBuilderIsActiveCacheContextTest::testGetContext in core/modules/layout_builder/tests/src/Unit/LayoutBuilderIsActiveCacheContextTest.php
@covers ::getContext @covers ::getDisplay
LayoutPluginManagerTest::setUp in core/tests/Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php
LinkApproveTest::setUp in core/modules/comment/tests/src/Unit/Plugin/views/field/LinkApproveTest.php
LinkBaseTest::setUp in core/modules/views/tests/src/Unit/Plugin/views/field/LinkBaseTest.php
LinkFormatterTest::testFormatterLinkItem in core/modules/link/tests/src/Unit/LinkFormatterTest.php
Tests when LinkItem::getUrl returns a functional URL.
LinkFormatterTest::testFormatterLinkItemUrlMalformed in core/modules/link/tests/src/Unit/LinkFormatterTest.php
Tests when LinkItem::getUrl with malformed URL renders empty link.
LinkFormatterTest::testFormatterLinkItemUrlUnexpectedException in core/modules/link/tests/src/Unit/LinkFormatterTest.php
Tests when LinkItem::getUrl throws an unexpected exception.
LinkGeneratorTest::testGenerateUrlWithQuotes in core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php
Tests the generate() method with a URL containing double quotes.
LinkReplyTest::setUp in core/modules/comment/tests/src/Unit/Plugin/views/field/LinkReplyTest.php
LinkTest::mockUrlAssembler in core/modules/jsonapi/tests/src/Unit/JsonApiResource/LinkTest.php
Mocks the unrouted URL assembler.
ListNormalizerTest::setUp in core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php
LocalActionManagerTest::getActionsForRouteProvider in core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php
LocalActionManagerTest::setUp in core/tests/Drupal/Tests/Core/Menu/LocalActionManagerTest.php
LocaleLookupTest::setUp in core/modules/locale/tests/src/Unit/LocaleLookupTest.php
LocaleLookupTest::testGetCid in core/modules/locale/tests/src/Unit/LocaleLookupTest.php
@covers ::getCid
LocalTaskIntegrationTestBase::setUp in core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTestBase.php
LocalTaskManagerTest::setupNullCacheabilityMetadataValidation in core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php
MachineNameTest::testProcessMachineName in core/tests/Drupal/Tests/Core/Render/Element/MachineNameTest.php
@covers ::processMachineName
MailManagerTest::setUpMailManager in core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php
Sets up the mail manager for testing.
MediaLibrarySelectFormTest::tearDown in core/modules/media_library/tests/src/Unit/MediaLibrarySelectFormTest.php
MediaLibrarySelectFormTest::testViewsForm in core/modules/media_library/tests/src/Unit/MediaLibrarySelectFormTest.php
@covers ::viewsForm
MenuActiveTrailTest::setUp in core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php
MenuLinkParentTest::setUp in core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php
MenuLinkTreeTest::setUp in core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php
MigrateSourceTest::getSource in core/modules/migrate/tests/src/Unit/MigrateSourceTest.php
Gets the source plugin to test.
MigrateSourceTest::testCount in core/modules/migrate/tests/src/Unit/MigrateSourceTest.php
Tests that the source count is correct.
MigrateSourceTest::testCountCacheKey in core/modules/migrate/tests/src/Unit/MigrateSourceTest.php
Tests that the key can be set for the count cache.
MigrateTestBase::setTestLogger in core/modules/migrate/tests/src/Kernel/MigrateTestBase.php
Injects the test logger into the container.
MigrateTestCase::getDatabase in core/modules/migrate/tests/src/Unit/MigrateTestCase.php
Gets an SQLite database connection object for use in tests.
MigrationLookupTestCase::prepareContainer in core/modules/migrate/tests/src/Unit/process/MigrationLookupTestCase.php
Prepares and sets the container.
MonkeysInTheControlRoom::handle in core/modules/system/tests/modules/error_service_test/src/MonkeysInTheControlRoom.php
NodeBulkFormTest::tearDown in core/modules/node/tests/src/Unit/Plugin/views/field/NodeBulkFormTest.php
NodeBulkFormTest::testConstructor in core/modules/node/tests/src/Unit/Plugin/views/field/NodeBulkFormTest.php
Tests the constructor assignment of actions.
NodeOperationAccessTest::setUp in core/modules/node/tests/src/Unit/NodeOperationAccessTest.php
OffsetPageTest::setUp in core/modules/jsonapi/tests/src/Unit/Query/OffsetPageTest.php
PathBasedBreadcrumbBuilderTest::setUp in core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php
@covers ::__construct
PathPluginBaseTest::setupContainer in core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php
Setup access plugin manager and config factory in the Drupal class.
PermissionAccessCheckTest::setUp in core/modules/user/tests/src/Unit/PermissionAccessCheckTest.php
PermissionsTest::setUp in core/modules/user/tests/src/Unit/Plugin/views/field/PermissionsTest.php
PhpMailTest::setUp in core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php
PluralTranslatableMarkupTest::testPluralTranslatableMarkupSerialization in core/tests/Drupal/Tests/Core/StringTranslation/PluralTranslatableMarkupTest.php
Tests serialization of PluralTranslatableMarkup().
PreprocessPagerTest::setUp in core/modules/system/tests/src/Unit/Pager/PreprocessPagerTest.php
QueryTest::setUp in core/tests/Drupal/Tests/Core/Entity/Query/Sql/QueryTest.php
RecursiveContextualValidatorTest::setUp in core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php
RedirectResponseSubscriberTest::setUp in core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php
RefinableCalculatedPermissionsTest::testMerge in core/tests/Drupal/Tests/Core/Session/RefinableCalculatedPermissionsTest.php
Tests merging in another CalculatedPermissions object.
RenderElementTest::setUp in core/tests/Drupal/Tests/Core/Render/Element/RenderElementTest.php
RendererTestBase::setUp in core/tests/Drupal/Tests/Core/Render/RendererTestBase.php
RequestFormatRouteFilterTest::testNoRouteFound in core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php
@covers ::filter
RequestFormatRouteFilterTest::testNoRouteFoundWhenNoRequestFormatAndSingleRouteWithMultipleFormats in core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php
@covers ::filter
ResponsiveImageStyleConfigEntityUnitTest::setUp in core/modules/responsive_image/tests/src/Unit/ResponsiveImageStyleConfigEntityUnitTest.php
RevisionLinkDeleteTest::setUp in core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkDeleteTest.php
RevisionLinkRevertTest::setUp in core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkRevertTest.php
RevisionLinkTest::setUp in core/modules/node/tests/src/Unit/Plugin/views/field/RevisionLinkTest.php
RoleAccessCheckTest::testRoleAccess in core/tests/Drupal/Tests/Core/Route/RoleAccessCheckTest.php
Tests role requirements on routes.
RolesRidTest::testTitleQuery in core/modules/user/tests/src/Unit/Views/Argument/RolesRidTest.php
Tests the titleQuery method.
SectionComponentTest::testToRenderArray in core/modules/layout_builder/tests/src/Unit/SectionComponentTest.php
@covers ::toRenderArray
SectionRenderTest::setUp in core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php
SectionTest::testGetLayout in core/modules/layout_builder/tests/src/Unit/SectionTest.php
@covers ::getLayout @dataProvider providerTestGetLayout
SharedTempStoreTest::testSerialization in core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php
Tests the serialization of a shared temp store.
SortTest::setUp in core/modules/jsonapi/tests/src/Unit/Query/SortTest.php
SqlBaseTest::setUp in core/modules/views/tests/src/Unit/Plugin/pager/SqlBaseTest.php
SqlContentEntityStorageTest::setUp in core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php
SqlTest::setupEntityTypeManager in core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php
Sets up the entity type manager in the container.
SqlTest::setupViewsData in core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php
Sets up the views data in the container.
StateTransitionValidationTest::setUp in core/modules/content_moderation/tests/src/Unit/StateTransitionValidationTest.php
StorageCopyTraitTest::testWithInvalidConfiguration in core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php
Tests replaceStorageContents() with config with an invalid configuration.
SuperUserAccessPolicyTest::setUp in core/tests/Drupal/Tests/Core/Session/SuperUserAccessPolicyTest.php
TestDiscoveryTest::testGetTestsInProfiles in core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
@covers ::getTestClasses
TestKernel::setContainerWithKernel in core/lib/Drupal/Core/Test/TestKernel.php
Sets a container with a kernel service on the Drupal class.
ThemeHandlerTest::setUp in core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php
TimeZoneFormHelperTest::setUp in core/tests/Drupal/Tests/Core/Datetime/TimeZoneFormHelperTest.php
TokenTest::setUp in core/tests/Drupal/Tests/Core/Utility/TokenTest.php
TranslationTest::testGet in core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php
@covers ::get
TrustedRedirectResponseTest::testSetTargetUrlWithUntrustedUrl in core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php
@covers ::setTargetUrl
TwigEnvironmentTest::testInlineTemplate in core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php
Tests inline templates.
TwigEnvironmentTest::testTwigFilePrefixChange in core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php
Test twig file prefix change.
UnitTestCase::getContainerWithCacheTagsInvalidator in core/tests/Drupal/Tests/UnitTestCase.php
Sets up a container with a cache tags invalidator.
UnroutedUrlTest::setUp in core/tests/Drupal/Tests/Core/UnroutedUrlTest.php
UpdateMailTest::setUp in core/modules/update/tests/src/Unit/UpdateMailTest.php
UpdateMailTest::testUpdateEmail in core/modules/update/tests/src/Unit/UpdateMailTest.php
Test the subject and body of update text.
UpdatePathTestBase::runDbTasks in core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php
Runs the install database tasks for the driver used by the test runner.
UrlGeneratorTest::setUp in core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php
UrlTest::setUp in core/tests/Drupal/Tests/Core/UrlTest.php
UserAccessControlHandlerTest::setUp in core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php
UserAuthTest::testAddCheckToUrlForTrustedRedirectResponse in core/modules/user/tests/src/Unit/UserAuthTest.php
Tests the auth that ends in a redirect from subdomain to TLD.
UserAuthTest::testAddCheckToUrlForTrustedRedirectResponseWithFragment in core/modules/user/tests/src/Unit/UserAuthTest.php
Tests the auth that ends in a redirect from subdomain with a fragment to TLD.
UserBulkFormTest::tearDown in core/modules/user/tests/src/Unit/Plugin/views/field/UserBulkFormTest.php
UserBulkFormTest::testConstructor in core/modules/user/tests/src/Unit/Plugin/views/field/UserBulkFormTest.php
Tests the constructor assignment of actions.
UserMailRequiredValidatorTest::createValidator in core/modules/user/tests/src/Unit/Plugin/Validation/Constraint/UserMailRequiredValidatorTest.php
Creates a validator instance.
UserRolesAccessPolicyTest::setUp in core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php
UserSessionTest::testHasPermission in core/tests/Drupal/Tests/Core/Session/UserSessionTest.php
Tests the has permission method.
ViewAjaxControllerTest::setUp in core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php
ViewExecutableTest::setUp in core/modules/views/tests/src/Unit/ViewExecutableTest.php
ViewListBuilderTest::testBuildRowEntityList in core/modules/views_ui/tests/src/Unit/ViewListBuilderTest.php
Tests the listing of displays on a views list builder.
ViewsBlockTest::setUp in core/modules/views/tests/src/Unit/Plugin/Block/ViewsBlockTest.php
ViewsLoggerTestTrait::setUpMockLoggerWithMissingEntity in core/modules/views/tests/src/Traits/ViewsLoggerTestTrait.php
Sets up a mock logger for when views can't load an entity.
ViewsTest::setUp in core/modules/views/tests/src/Unit/ViewsTest.php
ViewUIObjectTest::testIsLocked in core/modules/views_ui/tests/src/Unit/ViewUIObjectTest.php
Tests the isLocked method.
WorkflowAccessControlHandlerTest::checkAccessProvider in core/modules/workflows/tests/src/Kernel/WorkflowAccessControlHandlerTest.php
Data provider for ::testCheckAccess.
WorkflowTest::setUp in core/modules/workflows/tests/src/Unit/WorkflowTest.php

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