You are here

94 calls to UnitTestCase::randomMachineName() in Drupal 10

AttributeTest::testPrint in core/tests/Drupal/Tests/Core/Template/AttributeTest.php
Tests printing of an attribute.
AuthenticationCollectorTest::testAuthenticationCollector in core/tests/Drupal/Tests/Core/Authentication/AuthenticationCollectorTest.php
Tests adding, getting, and order of priorities.
BaseFieldDefinitionTest::setUp in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
BaseFieldDefinitionTest::testFieldDefaultValue in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
Tests field default value.
BaseFieldDefinitionTest::testFieldDescription in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
Tests field description methods.
BaseFieldDefinitionTest::testFieldInitialValue in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
Tests field initial value.
BaseFieldDefinitionTest::testFieldLabel in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
Tests field label methods.
BaseFieldDefinitionTest::testFieldName in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
Tests field name methods.
BaseFieldDefinitionTest::testFieldProvider in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
Tests provider.
BaseFieldDefinitionTest::testFieldSettings in core/tests/Drupal/Tests/Core/Entity/BaseFieldDefinitionTest.php
Tests field settings methods.
BigPipeResponseAttachmentsProcessorTest::attachmentsProvider in core/modules/big_pipe/tests/src/Unit/Render/BigPipeResponseAttachmentsProcessorTest.php
BlockPluginHasSettingsTrayFormAccessCheckTest::providerTestAccess in core/modules/settings_tray/tests/src/Unit/Access/BlockPluginHasSettingsTrayFormAccessCheckTest.php
Provides test data for ::testAccess().
CachedStorageTest::testListAllStaticCache in core/tests/Drupal/Tests/Core/Config/CachedStorageTest.php
Tests listAll static cache.
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.
ConfigFactoryTest::testRename in core/tests/Drupal/Tests/Core/Config/ConfigFactoryTest.php
@covers ::rename
ContentEntityBaseUnitTest::setUp in core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php
ContentEntityBaseUnitTest::testAccess in core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php
@covers ::access
CronTest::setUp in core/tests/Drupal/Tests/Core/CronTest.php
CsrfTokenGeneratorTest::setUp in core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php
CsrfTokenGeneratorTest::testGet in core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php
Tests CsrfTokenGenerator::get().
DateTimeIso8601NormalizerTest::testNormalize in core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php
@covers ::normalize @dataProvider providerTestNormalize
DateTimeNormalizerTest::testNormalize in core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php
@covers ::normalize
DefaultLazyPluginCollectionTest::testHas in core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php
@covers ::has
DefaultPluginManagerTest::testCacheClearWithTags in core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php
Tests the plugin manager cache clear with tags.
DefaultPluginManagerTest::testDefaultPluginManagerNoCache in core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php
Tests the plugin manager with caching disabled.
DefaultPluginManagerTest::testDefaultPluginManagerWithAlter in core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php
Tests the plugin manager with no cache and altering.
DefaultPluginManagerTest::testDefaultPluginManagerWithEmptyCache in core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php
Tests the plugin manager with caching and altering.
DefaultPluginManagerTest::testDefaultPluginManagerWithFilledCache in core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php
Tests the plugin manager with caching and altering.
DisplayVariantTest::testSubmitConfigurationForm in core/tests/Drupal/Tests/Core/Display/DisplayVariantTest.php
Tests the submitConfigurationForm() method.
EntityListBuilderTest::testGetOperations in core/tests/Drupal/Tests/Core/Entity/EntityListBuilderTest.php
@covers ::getOperations
EntityOperationsUnitTest::setUp in core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php
@covers ::__construct
EntityOperationsUnitTest::testRenderWithDestination in core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php
@covers ::render
EntityOperationsUnitTest::testRenderWithoutDestination in core/modules/views/tests/src/Unit/Plugin/views/field/EntityOperationsUnitTest.php
@covers ::render
EntityTypeTest::testGetGroupLabel in core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php
@covers ::getGroupLabel
EntityTypeTest::testGetLabel in core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php
@covers ::getLabel
EntityTypeTest::testgetOriginalClassChanged in core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php
@covers ::setClass @covers ::getOriginalClass
EntityTypeTest::testgetOriginalClassUnchanged in core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php
@covers ::getOriginalClass
EntityTypeTest::testId in core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php
@covers ::id
EntityTypeTest::testIdExceedsMaxLength in core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php
@covers ::__construct
EntityTypeTest::testSetLinkTemplateWithInvalidPath in core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php
@covers ::setLinkTemplate
EntityUnitTest::setUp in core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php
EntityUnitTest::testAccess in core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php
@covers ::access
EntityUnitTest::testDelete in core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php
@covers ::delete
EntityUnitTest::testLabel in core/tests/Drupal/Tests/Core/Entity/EntityUnitTest.php
@covers ::label
ExtensionInstallStorageTest::testCreateCollection in core/tests/Drupal/Tests/Core/Config/ExtensionInstallStorageTest.php
@covers ::createCollection
ExtensionListTest::testGetNameWithNonExistingExtension in core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php
@covers ::getName
ExtensionListTest::testGetWithNonExistingExtension in core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php
@covers ::get
FieldDefinitionTest::setUp in core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php
FieldDefinitionTest::testBundle in core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php
@covers ::setTargetBundle @covers ::getTargetBundle @dataProvider factoryTypeProvider
FieldDefinitionTest::testFieldDefaultValue in core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php
@covers ::getDefaultValue @covers ::setDefaultValue @dataProvider factoryTypeProvider
FieldDefinitionTest::testFieldDescription in core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php
@covers ::getDescription @dataProvider factoryTypeProvider
FieldDefinitionTest::testFieldLabel in core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php
@covers ::getLabel @dataProvider factoryTypeProvider
FieldDefinitionTest::testFieldSettings in core/tests/Drupal/Tests/Core/Entity/FieldDefinitionTest.php
@covers ::getSetting @covers ::setSetting @covers ::getSettings @dataProvider factoryTypeProvider
FormBuilderTest::testFormCacheDeletionCached in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
Tests that a cached form is deleted after submit.
FormBuilderTest::testFormCacheDeletionUncached in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
Tests that an uncached form does not trigger cache set or delete.
FormStateValuesTraitTest::testSetValueForElement in core/tests/Drupal/Tests/Core/Form/FormStateValuesTraitTest.php
Tests that setting the value for an element adds to the values.
FormValidatorTest::providerTestPerformRequiredValidation in core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php
InfoParserUnitTest::testLifecycleLink in core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php
Tests an info file's lifecycle_link values.
LanguageTest::setUp in core/modules/ckeditor/tests/src/Unit/Plugin/CKEditorPlugin/LanguageTest.php
LanguageUnitTest::testConstruct in core/tests/Drupal/Tests/Core/Language/LanguageUnitTest.php
@covers ::__construct
LanguageUnitTest::testGetDirection in core/tests/Drupal/Tests/Core/Language/LanguageUnitTest.php
@covers ::getDirection
LanguageUnitTest::testGetLangcode in core/tests/Drupal/Tests/Core/Language/LanguageUnitTest.php
@covers ::getId
LanguageUnitTest::testGetName in core/tests/Drupal/Tests/Core/Language/LanguageUnitTest.php
@covers ::getName
LanguageUnitTest::testIsDefault in core/tests/Drupal/Tests/Core/Language/LanguageUnitTest.php
@covers ::isDefault
MailFormatHelperTest::testWrapMail in core/tests/Drupal/Tests/Core/Mail/MailFormatHelperTest.php
@covers ::wrapMail
MakeUniqueEntityFieldTest::testMakeUniqueEntityField in core/modules/migrate/tests/src/Unit/process/MakeUniqueEntityFieldTest.php
Tests making an entity field value unique.
ManyPlaceholderTest::testManyNoJsPlaceHolders in core/modules/big_pipe/tests/src/Unit/Render/ManyPlaceholderTest.php
@covers \Drupal\big_pipe\Render\BigPipe::sendNoJsPlaceholders
MenuActiveTrailTest::provider in core/tests/Drupal/Tests/Core/Menu/MenuActiveTrailTest.php
Provides test data for all test methods.
ModuleRequiredByThemesUninstallValidatorTest::testValidateNoThemeDependency in core/tests/Drupal/Tests/Core/Extension/ModuleRequiredByThemesUninstallValidatorTest.php
@covers ::validate
NullBackendTest::testNullBackend in core/tests/Drupal/Tests/Core/Cache/NullBackendTest.php
Tests that the NullBackend does not actually store variables.
PasswordHashingTest::setUp in core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php
PluralTranslationTest::providerTestGet in core/tests/Drupal/Tests/Core/Annotation/PluralTranslationTest.php
Provides data to self::testGet().
PrivateKeyTest::testSet in core/tests/Drupal/Tests/Core/PrivateKeyTest.php
Tests PrivateKey::setPrivateKey().
ReadOnlyStorageTest::testCollections in core/tests/Drupal/Tests/Core/Config/ReadOnlyStorageTest.php
@covers ::getAllCollectionNames @covers ::getCollectionName @covers ::createCollection
ReadOnlyStorageTest::writeMethodsProvider in core/tests/Drupal/Tests/Core/Config/ReadOnlyStorageTest.php
Provide the methods that throw an exception.
RendererBubblingTest::testContextBubblingCustomCacheBin in core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php
Tests cache context bubbling with a custom cache bin.
RendererTest::testRenderSorting in core/tests/Drupal/Tests/Core/Render/RendererTest.php
@covers ::render @covers ::doRender
RendererTest::testRenderSortingWithSetHashSorted in core/tests/Drupal/Tests/Core/Render/RendererTest.php
@covers ::render @covers ::doRender
RendererTest::testRenderWithThemeArguments in core/tests/Drupal/Tests/Core/Render/RendererTest.php
@covers ::render @covers ::doRender
RequiredModuleUninstallValidatorTest::testValidateNoModule in core/tests/Drupal/Tests/Core/Extension/RequiredModuleUninstallValidatorTest.php
@covers ::validate
RequiredModuleUninstallValidatorTest::testValidateNotRequired in core/tests/Drupal/Tests/Core/Extension/RequiredModuleUninstallValidatorTest.php
@covers ::validate
RequiredModuleUninstallValidatorTest::testValidateRequired in core/tests/Drupal/Tests/Core/Extension/RequiredModuleUninstallValidatorTest.php
@covers ::validate
ResourceResponseSubscriberTest::testOnResponseWithCacheableResponse in core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php
@covers ::onResponse @covers ::getResponseFormat @covers ::renderResponseBody @covers ::flattenResponse
ResourceResponseSubscriberTest::testOnResponseWithUncacheableResponse in core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php
@covers ::onResponse @covers ::getResponseFormat @covers ::renderResponseBody @covers ::flattenResponse
ResourceResponseSubscriberTest::testResponseFormat in core/modules/rest/tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php
@covers ::getResponseFormat
SettingsTest::setUp in core/tests/Drupal/Tests/Core/Site/SettingsTest.php
@covers ::__construct
StorageCopyTraitTest::generateRandomData in core/tests/Drupal/Tests/Core/Config/StorageCopyTraitTest.php
Generate random data in a config storage.
TimestampItemNormalizerTest::testDenormalize in core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php
@covers ::denormalize
TimestampItemNormalizerTest::testNormalize in core/modules/serialization/tests/src/Unit/Normalizer/TimestampItemNormalizerTest.php
@covers ::normalize
TimestampNormalizerTest::testNormalize in core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php
@covers ::normalize
TokenTest::testGetInfo in core/tests/Drupal/Tests/Core/Utility/TokenTest.php
@covers ::getInfo
TranslationTest::providerTestGet in core/tests/Drupal/Tests/Core/Annotation/TranslationTest.php
Provides data to self::testGet().
ViewsBlockTest::testBuild in core/modules/views/tests/src/Unit/Plugin/Block/ViewsBlockTest.php
Tests the build method.