You are here

202 calls to Drupal::setContainer() in Drupal 8

AccessManagerTest::setUp in core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php
AccessResultTest::setUp in core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
ActiveWorkspaceCheckTest::setUp in core/modules/workspaces/tests/src/Unit/ActiveWorkspaceCheckTest.php
AjaxRendererTest::testConstructorRendererArgument in core/tests/Drupal/Tests/Core/Controller/AjaxRendererTest.php
@group legacy @expectedDeprecation The renderer service must be passed to Drupal\Core\Render\MainContent\AjaxRenderer::__construct and will be required before Drupal 9.0.0. See https://www.drupal.org/node/3009400
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
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
@covers ::addCacheableDependency @dataProvider providerTestMerge
BubbleableMetadataTest::testMerge in core/tests/Drupal/Tests/Core/Render/BubbleableMetadataTest.php
@covers ::merge @dataProvider providerTestMerge
CacheableMetadataTest::testAddCacheableDependency in core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php
@covers ::addCacheableDependency @dataProvider providerTestMerge
CacheableMetadataTest::testMerge in core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php
@covers ::merge @dataProvider providerTestMerge
CckFileTest::testTransformAltTitle in core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/CckFileTest.php
Tests that alt and title attributes are included in transformed values.
ClassLoaderTest::setUp in core/tests/Drupal/Tests/Core/ClassLoader/ClassLoaderTest.php
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
Test the lock behavior.
ConfigEntityBaseUnitTest::setUp in core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php
ConfigEntityBaseUnitTest::testSleepWithPluginCollections in core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php
@covers ::__sleep
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
@covers ::buildCancelLink
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
ContentLanguageSettingsUnitTest::setUp in core/modules/language/tests/src/Unit/ContentLanguageSettingsUnitTest.php
ContentTranslationManageAccessCheckTest::setUp in core/modules/content_translation/tests/src/Unit/Access/ContentTranslationManageAccessCheckTest.php
ContextAwarePluginBaseTest::testSetContextValue in core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginBaseTest.php
@covers ::setContextValue @group legacy
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.
CustomPageExceptionHtmlSubscriberTest::setUp in core/tests/Drupal/Tests/Core/EventSubscriber/CustomPageExceptionHtmlSubscriberTest.php
DatabaseTest::setUp in core/tests/Drupal/Tests/Core/Database/DatabaseTest.php
DateFormatAccessControlHandlerTest::testAccessProvider in core/modules/system/tests/src/Kernel/DateFormatAccessControlHandlerTest.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::testThirdPartySettings in core/modules/layout_builder/tests/src/Unit/DefaultsSectionStorageTest.php
@covers ::getThirdPartySetting @covers ::setThirdPartySetting
DependencySerializationTest::testSerialization in core/tests/Drupal/Tests/Core/DependencyInjection/DependencySerializationTest.php
@covers ::__sleep @covers ::__wakeup
DependencySerializationTest::testSerializationWithMissingService in core/tests/Drupal/Tests/Core/DependencyInjection/DependencySerializationTest.php
@covers ::__sleep @covers ::__wakeup
DeprecatedClassesTest::setUp in core/modules/path_alias/tests/src/Unit/DeprecatedClassesTest.php
DialogRendererTest::testConstructorRendererArgument in core/tests/Drupal/Tests/Core/Controller/DialogRendererTest.php
@group legacy @expectedDeprecation The renderer service must be passed to Drupal\Core\Render\MainContent\DialogRenderer::__construct and will be required before Drupal 9.0.0. See https://www.drupal.org/node/3009400
DrupalGetProfileLegacyTest::testDrupalGetProfileLegacyInstallState in core/tests/Drupal/Tests/Core/Bootstrap/DrupalGetProfileLegacyTest.php
Tests drupal_get_profile() deprecation.
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
EntityBundleAccessCheckTest::setUp in core/tests/Drupal/Tests/Core/Entity/EntityBundleAccessCheckTest.php
EntityConditionTest::setUp in core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php
EntityContextDefinitionDeprecationTest::setUp in core/tests/Drupal/Tests/Core/Plugin/Context/EntityContextDefinitionDeprecationTest.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
EntityFormTest::testGet in core/tests/Drupal/Tests/Core/Entity/EntityFormTest.php
Tests that __get triggers proper deprecation errors.
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.
EntityViewsDataTest::setUp in core/modules/views/tests/src/Unit/EntityViewsDataTest.php
ExtensionInstallStorageTest::testProfileDeprecation in core/tests/Drupal/Tests/Core/Config/ExtensionInstallStorageTest.php
@covers ::__construct @group legacy @dataProvider providerTestProfileDeprecation @expectedDeprecation All \Drupal\Core\Config\ExtensionInstallStorage::__construct() arguments will be required in drupal:9.0.0. See https://www.drupal.org/node/2538996
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
FieldFileTest::testLegacyTransformAltTitle in core/modules/file/tests/src/Unit/Plugin/migrate/process/d6/FieldFileTest.php
Tests that alt and title attributes are included in transformed values.
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
FieldUiTest::setUp in core/modules/field_ui/tests/src/Unit/FieldUiTest.php
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_topics/tests/src/Unit/HelpTopicDiscoveryTest.php
@covers ::findAll
HttpExceptionNormalizerTest::testNormalize in core/modules/jsonapi/tests/src/Unit/Normalizer/HttpExceptionNormalizerTest.php
@covers ::normalize
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::setUp in core/modules/simpletest/src/InstallerTestBase.php
Sets up a Drupal site for running functional and integration tests.
InstallerTestBase::setUp in core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php
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
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
LayoutPluginManagerTest::setUp in core/tests/Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php
LegacyBlockPluginIdTest::setUp in core/modules/block/tests/src/Unit/Plugin/migrate/process/LegacyBlockPluginIdTest.php
LegacyBlockVisibilityTest::setUp in core/modules/block/tests/src/Unit/Plugin/migrate/process/LegacyBlockVisibilityTest.php
LegacyFileTest::setUp in core/modules/file/tests/src/Unit/LegacyFileTest.php
LinkGeneratorTest::testGenerateUrlWithQuotes in core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php
Tests the generate() method with a url containing double quotes.
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
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.
MenuAccessControlHandlerTest::testAccessProvider in core/modules/system/tests/src/Kernel/MenuAccessControlHandlerTest.php
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
MessengerLegacyTest::testMessages in core/tests/Drupal/KernelTests/Core/Messenger/MessengerLegacyTest.php
@covers \Drupal::messenger @covers ::getMessengerService @covers ::all @covers ::addMessage @covers ::addError @covers ::addStatus @covers ::addWarning
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
Test that the source count is correct.
MigrateSourceTest::testCountCacheKey in core/modules/migrate/tests/src/Unit/MigrateSourceTest.php
Test that the key can be set for the count cache.
MigrateSqlSourceTestCase::setUp in core/modules/migrate/tests/src/Unit/MigrateSqlSourceTestCase.php
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
Handles a Request to convert it to a Response.
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.
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
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
QuickEditEntityFieldAccessCheckTest::setUp in core/modules/quickedit/tests/src/Unit/Access/QuickEditEntityFieldAccessCheckTest.php
RdfMappingConfigEntityUnitTest::setUp in core/modules/rdf/tests/src/Unit/RdfMappingConfigEntityUnitTest.php
RecursiveContextualValidatorTest::setUp in core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php
RedirectResponseSubscriberTest::setUp in core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php
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
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
SectionStorageManagerTest::testConstructNoContextHandler in core/modules/layout_builder/tests/src/Unit/SectionStorageManagerTest.php
@covers ::__construct
SelectProfileFormTest::setUp in core/tests/Drupal/FunctionalJavascriptTests/Core/Installer/Form/SelectProfileFormTest.php
SharedTempStoreTest::testSerialization in core/tests/Drupal/Tests/Core/TempStore/SharedTempStoreTest.php
Tests the serialization of a shared temp store.
SimpletestPhpunitRunCommandTest::setUp in core/modules/simpletest/tests/src/Unit/SimpletestPhpunitRunCommandTest.php
SortTest::setUp in core/modules/jsonapi/tests/src/Unit/Query/SortTest.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.
TestBase::restoreEnvironment in core/modules/simpletest/src/TestBase.php
Cleans up the test environment and restores the original environment.
TestDiscoveryTest::testGetTestsInProfiles in core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
@covers ::getTestClasses
TestDiscoveryTest::testGetTestsInProfiles in core/modules/simpletest/tests/src/Unit/TestDiscoveryTest.php
@covers ::getTestClasses
ThemeHandlerTest::setUp in core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.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.
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
UpdatePathTestBase::runDbTasks in core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php
Runs the install database tasks for the driver used by the test runner.
UpdatePathTestBase::runDbTasks in core/modules/system/src/Tests/Update/UpdatePathTestBase.php
Runs the install database tasks for the driver used by the test runner.
UpdateTestBase::setUp in core/modules/update/src/Tests/UpdateTestBase.php
Sets up a Drupal site for running functional and integration tests.
UpdateTestBase::setUp in core/modules/update/tests/src/Functional/UpdateTestBase.php
UrlConversionTest::setUp in core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php
UrlGeneratorTest::setUp in core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php
UrlRewritingTest::testRelativeFileURL in core/tests/Drupal/KernelTests/Core/File/UrlRewritingTest.php
Test file_url_transform_relative().
UrlTest::setUp in core/tests/Drupal/Tests/Core/UrlTest.php
UserAccessControlHandlerTest::setUp in core/modules/user/tests/src/Unit/UserAccessControlHandlerTest.php
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.
UserSessionTest::setUp in core/tests/Drupal/Tests/Core/Session/UserSessionTest.php
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
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.
ViewUIObjectTest::testIsLockedLegacy in core/modules/views_ui/tests/src/Unit/ViewUIObjectTest.php
Tests the isLocked method.
ViewUIObjectTest::testSerialization in core/modules/views_ui/tests/src/Unit/ViewUIObjectTest.php
Tests serialization of the ViewUI object.
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