Drupal 8  8.0.2
UnitTestCase Class Reference

Inherits PHPUnit_Framework_TestCase.

Inherited by AcceptHeaderMatcherTest, AggregatorPluginSettingsBaseTest, BanMiddlewareTest, BlockConfigEntityUnitTest, BlockFormTest, BlockRepositoryTest, CategoryAutocompleteTest, BlockPageVariantTest, BlockRegionTest, BookManagerTest, BookUninstallValidatorTest, BreakpointTest, CommentLinkBuilderTest, CommentManagerTest, CommentStatisticsUnitTest, CommentLockTest, ZfExtensionManagerSfContainerTest, DateTimePlusTest, YamlDiscoveryTest, DrupalComponentTest, FileCacheFactoryTest, FileCacheTest, PoHeaderTest, GraphTest, SecuredRedirectResponseTest, PhpStorageTestBase, ContextTest, DefaultFactoryTest, DiscoveryCachedTraitTest, DiscoveryTraitTest, StaticDiscoveryDecoratorTest, ReflectionFactoryTest, PluginBaseTest, PluginManagerBaseTest, ProxyBuilderTest, FormattableMarkupTest, HtmlEscapedTextTest, PlainTextOutputTest, JsonTest, YamlTest, PhpTransliterationTest, ArgumentsResolverTest, BytesTest, ColorTest, CryptTest, EnvironmentTest, HtmlTest, ImageTest, NestedArrayTest, NumberTest, RandomTest, SafeMarkupTest, SortArrayTest, TimerTest, UnicodeTest, UrlHelperTest, UserAgentTest, VariableTest, XssTest, UuidTest, ComposerIntegrationTest, ConfigEntityMapperTest, ConfigFieldMapperTest, ConfigMapperManagerTest, ConfigNamesMapperTest, MailHandlerTest, ContentTranslationManageAccessCheckTest, AccessManagerTest, AccessResultTest, CsrfAccessCheckTest, CsrfTokenGeneratorTest, CustomAccessCheckTest, DefaultAccessCheckTest, RouteProcessorCsrfTest, AjaxCommandsTest, AjaxResponseTest, TranslationTest, AssetResolverTest, CssCollectionGrouperUnitTest, CssCollectionRendererUnitTest, CssOptimizerUnitTest, JsOptimizerUnitTest, LibraryDependencyResolverTest, LibraryDiscoveryCollectorTest, LibraryDiscoveryParserTest, LibraryDiscoveryTest, AuthenticationCollectorTest, AuthenticationManagerTest, PercentagesTest, BlockBaseTest, BreadcrumbManagerTest, BreadcrumbTest, BackendChainImplementationUnitTest, CacheableMetadataTest, CacheCollectorTest, CacheFactoryTest, CacheTagsInvalidatorTest, CacheTest, ChainedFastBackendTest, CacheContextsManagerTest, NullBackendTest, AttributesTest, DiffArrayTest, TagsTest, ConditionAccessResolverTraitTest, CachedStorageTest, ConfigFactoryTest, ConfigTest, ConfigDependencyManagerTest, ConfigEntityBaseUnitTest, ConfigEntityDependencyTest, ConfigEntityStorageTest, ConfigEntityTypeTest, EntityDisplayBaseTest, EntityDisplayModeBaseUnitTest, QueryFactoryTest, ImmutableConfigTest, StorageComparerTest, AjaxRendererTest, ControllerBaseTest, ControllerResolverTest, TitleResolverTest, ConditionTest, ConnectionTest, PostgresqlConnectionTest, PostgresqlSchemaTest, EmptyStatementTest, OrderByTest, DateHelperTest, DateTest, BackendCompilerPassTest, ProxyServicesPassTest, StackedKernelPassTest, TaggedHandlersPassTest, ContainerBuilderTest, ContainerTest, DependencySerializationTest, DisplayVariantTest, DiscoverServiceProvidersTest, DrupalKernelTest, ValidateHostnameTest, DrupalTest, ParamConversionEnhancerTest, BaseFieldDefinitionTest, ContentEntityBaseUnitTest, EntityRouteEnhancerTest, EntityAccessCheckTest, EntityConstraintViolationListTest, EntityCreateAccessCheckTest, EntityFieldManagerTest, EntityFormBuilderTest, EntityFormTest, EntityLinkTest, EntityListBuilderTest, EntityManagerTest, EntityRepositoryTest, EntityResolverManagerTest, EntityTypeBundleInfoTest, EntityTypeManagerTest, EntityTypeRepositoryTest, EntityTypeTest, EntityUnitTest, EntityUrlTest, KeyValueEntityStorageTest, QueryTest, DefaultHtmlRouteProviderTest, DefaultTableMappingTest, SqlContentEntityStorageSchemaTest, SqlContentEntityStorageTest, EntityAdapterUnitTest, ActiveLinkResponseFilterTest, CustomPageExceptionHtmlSubscriberTest, ModuleRouteSubscriberTest, PathRootsSubscriberTest, PsrResponseSubscriberTest, RedirectResponseSubscriberTest, SpecialAttributesRouteSubscriberTest, DefaultConfigTest, InfoParserUnitTest, ModuleHandlerTest, RequiredModuleUninstallValidatorTest, ThemeHandlerTest, BaseFieldDefinitionTestBase, FieldDefinitionListenerTest, FieldFilteredMarkupTest, FieldItemListTest, FileSystemTest, MimeTypeGuesserTest, ConfigFormBaseTraitTest, ConfirmFormHelperTest, FormAjaxSubscriberTest, FormAjaxResponseBuilderTest, FormCacheTest, FormElementHelperTest, FormErrorHandlerTest, FormHelperTest, FormStateTest, FormSubmitterTest, FormTestBase, FormValidatorTest, OptGroupTest, ClientFactoryTest, TrustedHostsRequestFactoryTest, ImageTest, LanguageUnitTest, LockBackendAbstractTest, LoggerChannelFactoryTest, LoggerChannelTest, LogMessageParserTest, MailFormatHelperTest, MailManagerTest, ContextualLinkDefaultTest, ContextualLinkManagerTest, DefaultMenuLinkTreeManipulatorsTest, LocalActionDefaultTest, LocalActionManagerTest, LocalTaskDefaultTest, LocalTaskIntegrationTestBase, LocalTaskManagerTest, MenuActiveTrailTest, MenuLinkDefaultTest, MenuLinkTreeElementTest, MenuTreeParametersTest, StaticMenuLinkOverridesTest, ChainRequestPolicyTest, ChainResponsePolicyTest, CommandLineOrUnsafeMethodTest, NoSessionOpenTest, EntityConverterTest, ParamConverterManagerTest, PasswordHashingTest, AliasManagerTest, PathMatcherTest, PathValidatorTest, PathProcessorAliasTest, PathProcessorFrontTest, PathProcessorTest, CategorizingPluginManagerTraitTest, ContextDefinitionTest, ContextTest, ContextTypedDataTest, LazyContextRepositoryTest, ContextHandlerTest, DefaultPluginManagerTest, ContainerDerivativeDiscoveryDecoratorTest, DerivativeDiscoveryDecoratorTest, HookDiscoveryTest, YamlDiscoveryDecoratorTest, YamlDiscoveryTest, LazyPluginCollectionTestBase, PrivateKeyTest, ProxyBuilderTest, BubbleableMetadataTest, HtmlTagTest, MachineNameTest, PasswordConfirmTest, PasswordTest, RenderElementTest, TableSelectTest, TextareaTest, TextfieldTest, TokenTest, ElementInfoManagerTest, ElementTest, ChainedPlaceholderStrategyTest, RendererTestBase, RoleAccessCheckTest, RouteProcessorManagerTest, AccessAwareRouterTest, ContentTypeHeaderMatcherTest, RedirectDestinationTest, RequestFormatRouteFilterTest, RouteBuilderTest, RouteCompilerTest, RouteMatchTestBase, RoutePreloaderTest, TrustedRedirectResponseTest, UrlGeneratorTest, UrlGeneratorTraitTest, AnonymousUserSessionTest, PermissionsHashGeneratorTest, SessionConfigurationTest, UserSessionTest, WriteSafeSessionHandlerTest, SettingsTest, NegotiationMiddlewareTest, ReverseProxyMiddlewareTest, StringTranslationTraitTest, TranslatableMarkupTest, TranslationManagerTest, AttributeTest, TwigExtensionTest, TwigSandboxTest, RegistryTest, ThemeNegotiatorTest, PhpTransliterationTest, RecursiveContextualValidatorTest, UnroutedUrlTest, UpdateRegistryTest, UrlTest, ErrorTest, LinkGeneratorTest, TokenTest, UnroutedUrlAssemblerTest, PrimitiveTypeConstraintValidatorTest, EditorConfigEntityUnitTest, StandardTest, FieldConfigEntityUnitTest, FieldStorageConfigEntityUnitTest, FieldUninstallValidatorTest, FieldSettingsTest, FieldUiTest, CckFileTest, FilterHtmlTest, FilterUninstallValidatorTest, ForumBreadcrumbBuilderBaseTest, ForumListingBreadcrumbBuilderTest, ForumNodeBreadcrumbBuilderTest, ForumManagerTest, ForumUninstallValidatorTest, NormalizerDenormalizeExceptionsUnitTestBase, ImageStyleTest, DenyPrivateImageStyleDownloadTest, FormErrorHandlerTest, LanguageConfigOverrideTest, ConfigurableLanguageUnitTest, ContentLanguageSettingsUnitTest, LanguageNegotiationUrlTest, LinkAccessConstraintValidatorTest, LinkExternalProtocolsConstraintValidatorTest, LinkNotExistingInternalConstraintValidatorTest, LocaleLookupTest, LocaleTranslationTest, StringBaseTest, ConfigTest, EntityRevisionTest, MigrationTest, RequirementsExceptionTest, MigrateTestCase, MigrationStorageTest, MigrationTest, EntityContentBaseTest, RowTest, SqlBaseTest, DenyNodePreviewTest, NodeBulkFormTest, EditEntityFieldAccessCheckTest, RdfMappingConfigEntityUnitTest, ResponsiveImageStyleConfigEntityUnitTest, CollectRoutesTest, SearchPageRepositoryTest, SearchPluginCollectionTest, JsonEncoderTest, XmlEncoderTest, ChainEntityResolverTest, UuidResolverTest, ComplexDataNormalizerTest, ConfigEntityNormalizerTest, ContentEntityNormalizerTest, EntityNormalizerTest, EntityReferenceFieldItemNormalizerTest, ListNormalizerTest, NormalizerBaseTest, NullNormalizerTest, TypedDataNormalizerTest, AssertContentTraitTest, AssertHelperTraitTest, PhpUnitAutoloaderTest, PhpUnitErrorTest, SimpletestPhpunitRunCommandTest, SimpletestPhpunitRunCommandTestWillDie, TestBaseTest, TestInfoParsingTest, WebTestBaseTest, PathBasedBreadcrumbBuilderTest, InstallTranslationFilePatternTest, MenuLinkTreeTest, SystemRequirementsTest, MachineNameControllerTest, TextFieldTest, AllowToolbarPathTest, TourTest, UpdateFetcherTest, PermissionAccessCheckTest, PermissionHandlerTest, RoleUserTestBase, ProtectedUserFieldConstraintValidatorTest, UserBulkFormTest, PrivateTempStoreTest, SharedTempStoreTest, UserAccessControlHandlerTest, UserAuthTest, RolesRidTest, ViewAjaxControllerTest, EntityViewsDataTest, RouteSubscriberTest, EntityTest, MessagesTest, ResultTest, ViewTest, QueryParameterTest, RawTest, EntityTest, ViewsBlockTest, ViewsLocalTaskTest, PageTest, PathPluginBaseTest, CounterTest, FieldPluginBaseTest, FieldTest, HandlerBaseTest, PagerPluginBaseTest, SqlTest, BlockTest, EntityOperationsUnitTest, PluginBaseTest, PluginTypeListTest, ViewPageControllerTest, ViewExecutableFactoryTest, ViewExecutableTest, ViewsDataHelperTest, ViewsDataTest, ViewsHandlerManagerTest, ViewsTest, WizardPluginBaseTest, RearrangeFilterTest, ViewListBuilderTest, and ViewUIObjectTest.

Public Member Functions

 randomMachineName ($length=8)
 
 getConfigFactoryStub (array $configs=array())
 
 getConfigStorageStub (array $configs)
 
 getStringTranslationStub ()
 

Protected Member Functions

 setUp ()
 
 getRandomGenerator ()
 
 assertArrayEquals (array $expected, array $actual, $message=NULL)
 
 getBlockMockWithMachineName ($machine_name)
 
 getContainerWithCacheTagsInvalidator (CacheTagsInvalidatorInterface $cache_tags_validator)
 
 getClassResolverStub ()
 

Protected Attributes

 $randomGenerator
 
 $root
 

Detailed Description

Provides a base class and helpers for Drupal unit tests.

Member Function Documentation

getBlockMockWithMachineName (   $machine_name)
protected

Mocks a block with a block plugin.

Parameters
string$machine_nameThe machine name of the block plugin.
Returns
| The mocked block.

Referenced by BlockFormTest\testGetUniqueMachineName().

Here is the caller graph for this function:

getClassResolverStub ( )
protected

Returns a stub class resolver.

Returns
| The class resolver stub.

Referenced by EntityResolverManagerTest\setUp(), EntityTypeManagerTest\setUp(), and FormTestBase\setUp().

Here is the caller graph for this function:

getConfigFactoryStub ( array  $configs = array())

Returns a stub config factory that behaves according to the passed in array.

Use this to generate a config factory that will return the desired values for the given config names.

Parameters
array$configsAn associative array of configuration settings whose keys are configuration object names and whose values are key => value arrays for the configuration object in question. Defaults to an empty array.
Returns
A MockBuilder object for the ConfigFactory with the desired return values.

Referenced by PathMatcherTest\setUp(), UpdateFetcherTest\setUp(), AggregatorPluginSettingsBaseTest\setUp(), ConfigFieldMapperTest\setUp(), LocalTaskIntegrationTestBase\setUp(), BookManagerTest\setUp(), ViewsDataTest\setUp(), ThemeHandlerTest\setUp(), LocaleLookupTest\setUp(), CustomPageExceptionHtmlSubscriberTest\setUp(), PathBasedBreadcrumbBuilderTest\setUp(), PathPluginBaseTest\setupContainer(), MailManagerTest\setUpMailManager(), ForumListingBreadcrumbBuilderTest\testApplies(), ForumNodeBreadcrumbBuilderTest\testApplies(), ForumBreadcrumbBuilderBaseTest\testBuild(), ForumListingBreadcrumbBuilderTest\testBuild(), ForumNodeBreadcrumbBuilderTest\testBuild(), ConfigFormBaseTraitTest\testConfig(), StaticMenuLinkOverridesTest\testConstruct(), ForumBreadcrumbBuilderBaseTest\testConstructor(), LocaleTranslationTest\testDestruct(), LanguageNegotiationUrlTest\testDomain(), ControllerBaseTest\testGetConfig(), ConfigNamesMapperTest\testGetConfigData(), ConfigNamesMapperTest\testGetLangcode(), StaticMenuLinkOverridesTest\testLoadMultipleOverrides(), StaticMenuLinkOverridesTest\testLoadOverride(), LanguageNegotiationUrlTest\testPathPrefix(), PathProcessorTest\testProcessInbound(), LocaleLookupTest\testResolveCacheMissWithPersist(), and DateHelperTest\testWeekDaysOrdered().

Here is the caller graph for this function:

getConfigStorageStub ( array  $configs)

Returns a stub config storage that returns the supplied configuration.

Parameters
array$configsAn associative array of configuration settings whose keys are configuration object names and whose values are key => value arrays for the configuration object in question.
Returns
A mocked config storage.
getContainerWithCacheTagsInvalidator ( CacheTagsInvalidatorInterface  $cache_tags_validator)
protected

Sets up a container with a cache tags invalidator.

Parameters
\Drupal\Core\Cache\CacheTagsInvalidatorInterface$cache_tags_validatorThe cache tags invalidator.
Returns
| The container with the cache tags invalidator service.

References Drupal\setContainer().

Referenced by CacheCollectorTest\setUp(), ViewsDataTest\setUp(), ThemeHandlerTest\setUp(), and DefaultPluginManagerTest\testCacheClearWithTags().

Here is the call graph for this function:

Here is the caller graph for this function:

getStringTranslationStub ( )

Returns a stub translation manager that just returns the passed string.

Returns
A MockBuilder of

References TranslatableMarkup\getUntranslatedString().

Referenced by FilterHtmlTest\setUp(), BookUninstallValidatorTest\setUp(), FieldUninstallValidatorTest\setUp(), FilterUninstallValidatorTest\setUp(), ForumUninstallValidatorTest\setUp(), RequiredModuleUninstallValidatorTest\setUp(), BaseFieldDefinitionTestBase\setUp(), TranslationTest\setUp(), CategorizingPluginManagerTraitTest\setUp(), StringTranslationTraitTest\setUp(), AggregatorPluginSettingsBaseTest\setUp(), ConfigFieldMapperTest\setUp(), FormAjaxSubscriberTest\setUp(), MigrateExecutableTest\setUp(), MigrateExecutableMemoryExceededTest\setUp(), BookManagerTest\setUp(), CommentLinkBuilderTest\setUp(), MailHandlerTest\setUp(), MigrateSqlSourceTestCase\setUp(), EntityViewsDataTest\setUp(), ViewExecutableTest\setUp(), PathBasedBreadcrumbBuilderTest\setUp(), FormTestBase\setUp(), MailManagerTest\setUpMailManager(), ForumBreadcrumbBuilderBaseTest\testBuild(), ForumListingBreadcrumbBuilderTest\testBuild(), ForumNodeBreadcrumbBuilderTest\testBuild(), ViewListBuilderTest\testBuildRowEntityList(), NodeBulkFormTest\testConstructor(), UserBulkFormTest\testConstructor(), FormErrorHandlerTest\testDisplayErrorMessagesInline(), FormValidatorTest\testElementValidate(), FormValidatorTest\testExecuteValidateHandlers(), FormValidatorTest\testHandleErrorsWithLimitedValidation(), TranslatableMarkupTest\testIsStringAssertion(), TranslatableMarkupTest\testIsStringAssertionWithFormattableMarkup(), FormValidatorTest\testMustValidate(), FormAjaxSubscriberTest\testOnExceptionBrokenPostRequest(), FormValidatorTest\testPerformRequiredValidation(), FormValidatorTest\testPreventDuplicateValidation(), FormValidatorTest\testRequiredErrorMessage(), FormErrorHandlerTest\testSetElementErrorsFromFormState(), FormValidatorTest\testValidateInvalidFormToken(), FormValidatorTest\testValidateValidFormToken(), and FormValidatorTest\testValidationComplete().

Here is the call graph for this function:

Here is the caller graph for this function:

randomMachineName (   $length = 8)

Generates a unique random string containing letters and numbers.

Parameters
int$lengthLength of random string to generate.
Returns
string Randomly generated unique string.
See Also
::name()

References UnitTestCase\getRandomGenerator().

Referenced by PhpStorageTestBase\assertCRUD(), MenuActiveTrailTest\provider(), ConfigEntityBaseUnitTest\providerCalculateDependenciesWithPluginCollections(), TranslationTest\providerTestGet(), UserAgentTest\providerTestGetBestMatchingLangcode(), SettingsTest\setUp(), MTimeProtectedFileStorageBase\setUp(), BaseFieldDefinitionTest\setUp(), BlockRepositoryTest\setUp(), EntityOperationsUnitTest\setUp(), CsrfTokenGeneratorTest\setUp(), RdfMappingConfigEntityUnitTest\setUp(), BlockConfigEntityUnitTest\setUp(), EntityDisplayModeBaseUnitTest\setUp(), CacheCollectorTest\setUp(), PasswordHashingTest\setUp(), EditorConfigEntityUnitTest\setUp(), ContentLanguageSettingsUnitTest\setUp(), FieldConfigEntityUnitTest\setUp(), EntityUnitTest\setUp(), ImageStyleTest\setUp(), ConfigEntityBaseUnitTest\setUp(), ContentEntityBaseUnitTest\setUp(), EntityAdapterUnitTest\setUp(), EntityUnitTest\testAccess(), ContentEntityBaseUnitTest\testAccess(), ViewAjaxControllerTest\testAjaxViewWithPager(), AuthenticationCollectorTest\testAuthenticationCollector(), ViewsBlockTest\testBuild(), ImageStyleTest\testBuildUri(), ViewsDataTest\testCacheCallsWithWarmCacheAndInvalidTable(), ViewsDataTest\testCacheCallsWithWarmCacheForInvalidTable(), DefaultPluginManagerTest\testCacheClearWithTags(), FieldStorageConfigEntityUnitTest\testCalculateDependencies(), RdfMappingConfigEntityUnitTest\testCalculateDependencies(), BlockConfigEntityUnitTest\testCalculateDependencies(), EntityDisplayModeBaseUnitTest\testCalculateDependencies(), RdfMappingConfigEntityUnitTest\testCalculateDependenciesWithEntityBundle(), ConfigEntityBaseUnitTest\testCalculateDependenciesWithPluginCollections(), ConfigEntityTypeTest\testConfigPrefixLengthExceeds(), ConfigEntityTypeTest\testConfigPrefixLengthValid(), LanguageUnitTest\testConstruct(), RendererBubblingTest\testContextBubblingCustomCacheBin(), DedupeEntityTest\testDedupe(), DefaultPluginManagerTest\testDefaultPluginManagerNoCache(), DefaultPluginManagerTest\testDefaultPluginManagerWithAlter(), DefaultPluginManagerTest\testDefaultPluginManagerWithEmptyCache(), DefaultPluginManagerTest\testDefaultPluginManagerWithFilledCache(), CacheCollectorTest\testDelete(), EntityUnitTest\testDelete(), FileStorageTest\testDeleteAll(), FileStorageReadOnlyTest\testDeleteAll(), BaseFieldDefinitionTest\testFieldDefaultValue(), BaseFieldDefinitionTest\testFieldDescription(), BaseFieldDefinitionTest\testFieldLabel(), BaseFieldDefinitionTest\testFieldName(), BaseFieldDefinitionTest\testFieldProvider(), BaseFieldDefinitionTest\testFieldSettings(), FormBuilderTest\testFormCacheDeletionCached(), FormBuilderTest\testFormCacheDeletionUncached(), ViewsDataTest\testFullAndTableGetCache(), CsrfTokenGeneratorTest\testGet(), ConfigEntityBaseUnitTest\testGet(), AliasManagerTest\testGetAliasByPathCachedMatch(), AliasManagerTest\testGetAliasByPathCachedMissLanguage(), AliasManagerTest\testGetAliasByPathCachedMissNoAlias(), AliasManagerTest\testGetAliasByPathMatch(), AliasManagerTest\testGetAliasByPathNoMatch(), AliasManagerTest\testGetAliasByPathUncachedMissNoAlias(), AliasManagerTest\testGetAliasByPathUncachedMissWithAlias(), AliasManagerTest\testGetAliasByPathWhitelist(), ImageStyleTest\testGetDerivativeExtension(), LanguageUnitTest\testGetDirection(), EntityFieldManagerTest\testGetExtraFields(), CacheCollectorTest\testGetFromCache(), EntityTypeTest\testGetGroupLabel(), TokenTest\testGetInfo(), EntityTypeTest\testGetLabel(), LanguageUnitTest\testGetLangcode(), LanguageUnitTest\testGetName(), EntityListBuilderTest\testGetOperations(), EntityTypeTest\testgetOriginalClassChanged(), EntityTypeTest\testgetOriginalClassUnchanged(), ConfigEntityBaseUnitTest\testGetOriginalId(), AliasManagerTest\testGetPathByAliasLangcode(), AliasManagerTest\testGetPathByAliasNatch(), AliasManagerTest\testGetPathByAliasNoMatch(), ImageStyleTest\testGetPathToken(), FileCacheFactoryTest\testGetSetPrefix(), RowTest\testHashing(), EntityTypeTest\testId(), EntityTypeTest\testIdExceedsMaxLength(), LanguageUnitTest\testIsDefault(), EntityUnitTest\testLabel(), ContentEntityBaseUnitTest\testLabel(), CachedStorageTest\testListAllStaticCache(), LoggerChannelTest\testLog(), ViewsDataTest\testNonExistingTableGetCache(), NullBackendTest\testNullBackend(), AttributeTest\testPrint(), FileStorageReadOnlyTest\testReadOnly(), ConfigFactoryTest\testRename(), RendererTest\testRenderSorting(), RendererTest\testRenderSortingWithSetHashSorted(), EntityOperationsUnitTest\testRenderWithDestination(), EntityOperationsUnitTest\testRenderWithoutDestination(), RendererTest\testRenderWithThemeArguments(), CacheCollectorTest\testResolveCacheMiss(), PrivateKeyTest\testSet(), CacheCollectorTest\testSetAndGet(), CacheCollectorTest\testSetAndGetNull(), EntityAdapterUnitTest\testSetContext(), EntityTypeTest\testSetLinkTemplateWithInvalidPath(), FormStateTest\testSetValueForElement(), LoggerChannelTest\testSortLoggers(), DisplayVariantTest\testSubmitConfigurationForm(), CacheCollectorTest\testUpdateCache(), CacheCollectorTest\testUpdateCacheClear(), CacheCollectorTest\testUpdateCacheClearTags(), CacheCollectorTest\testUpdateCacheDelete(), CacheCollectorTest\testUpdateCacheInvalidatedConflict(), CacheCollectorTest\testUpdateCacheLockFail(), CacheCollectorTest\testUpdateCacheMerge(), CacheCollectorTest\testUpdateCacheReset(), FieldUninstallValidatorTest\testValidateDeleted(), FieldUninstallValidatorTest\testValidateNoDeleted(), FilterUninstallValidatorTest\testValidateNoFormats(), FilterUninstallValidatorTest\testValidateNoMatchingFormats(), RequiredModuleUninstallValidatorTest\testValidateNoModule(), FilterUninstallValidatorTest\testValidateNoPlugins(), FieldUninstallValidatorTest\testValidateNoStorages(), RequiredModuleUninstallValidatorTest\testValidateNotRequired(), RequiredModuleUninstallValidatorTest\testValidateRequired(), and MailFormatHelperTest\testWrapMail().

Here is the call graph for this function:

setUp ( )
protected

{}

References Drupal\root(), FileCacheFactory\setConfiguration(), and Drupal\unsetContainer().

Here is the call graph for this function:


The documentation for this class was generated from the following file: