62 calls to RandomGeneratorTrait::randomString()

ConfigTranslationCacheTest::testFieldConfigTranslation in core/modules/config_translation/tests/src/Functional/ConfigTranslationCacheTest.php
Tests the translation of field and field storage configuration.
ConfigTranslationListUiTest::doShortcutListTest in core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php
Tests the shortcut listing for the translate operation.
ConfigTranslationOverviewTest::testMapperListPage in core/modules/config_translation/tests/src/Functional/ConfigTranslationOverviewTest.php
Tests the config translation mapper page.
ConfigTranslationUiTest::testFieldConfigTranslation in core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php
Tests the translation of field and field storage configuration.
EditorMediaDialogTest::testBuildForm in core/modules/media/tests/src/Kernel/EditorMediaDialogTest.php
Tests that the form builds successfully.
EmbeddedFormWidgetTest::testInsertionAndReselection in core/modules/media_library/tests/src/FunctionalJavascript/EmbeddedFormWidgetTest.php
Tests media inside another widget that validates too enthusiastically.
EntityDefaultLanguageTest::createNode in core/modules/language/tests/src/Kernel/EntityDefaultLanguageTest.php
Creates a new node of given type and language using Entity API.
EntityReferenceAdminTest::testFieldAdminHandler in core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAdminTest.php
Tests the Entity Reference Admin UI.
EntityReferenceAdminTest::testMultipleTargetBundles in core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAdminTest.php
Tests field settings for an entity reference field.
EntityReferenceAutoCreateTest::testMultipleTargetBundles in core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php
Tests multiple target bundles.
EntityReferenceAutoCreateTest::testNoBundles in core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php
Tests autocreation for an entity that has no bundles.
EntityReferenceItemTest::testAutocreateValidation in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php
Tests ValidReferenceConstraint with newly created and unsaved entities.
EntityReferenceItemTest::testContentEntityReferenceItem in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php
Tests the entity reference field type for referencing content entities.
EntityReferenceSettingsTest::setUp in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceSettingsTest.php
EntityReferenceSettingsTest::testConfigTargetBundleDeletion in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceSettingsTest.php
Tests that config bundle deletions are mirrored in field config settings.
EntityReferenceSettingsTest::testCustomTargetBundleDeletion in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceSettingsTest.php
Tests that deletions of custom bundles are mirrored in field settings.
EntityReferenceXSSTest::testEntityReferenceXSS in core/modules/field/tests/src/Functional/EntityReference/EntityReferenceXSSTest.php
Tests markup is escaped in the entity reference select and label formatter.
FieldCrudTest::testCreateFieldCustomStorage in core/modules/field/tests/src/Kernel/FieldCrudTest.php
Tests creating a field with custom storage set.
FieldDefaultValueCallbackTest::testDefaultValueCallbackForm in core/modules/field/tests/src/Functional/FieldDefaultValueCallbackTest.php
FieldFormatterTest::testThirdPartySettings in core/modules/field/tests/src/Kernel/FieldFormatterTest.php
Tests availability of third party settings in field render arrays.
FileFieldDisplayTest::testDescToggle in core/modules/file/tests/src/Functional/FileFieldDisplayTest.php
Tests description toggle for field instance configuration.
FileFieldWidgetTest::testSingleValuedWidget in core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php
Tests uploading and remove buttons for a single-valued File field.
FileManagedFileElementTest::testFileNameTrim in core/modules/file/tests/src/Functional/FileManagedFileElementTest.php
Tests file names have leading . removed.
FileManagedFileElementTest::testManagedFile in core/modules/file/tests/src/FunctionalJavascript/FileManagedFileElementTest.php
Tests the managed_file element type.
FileUploadTest::testFileUploadLargerFileSize in core/modules/jsonapi/tests/src/Functional/FileUploadTest.php
Tests using the file upload route with a file size larger than allowed.
FilterAdminTest::testDisabledFormat in core/modules/filter/tests/src/Functional/FilterAdminTest.php
Tests whether a field using a disabled format is rendered.
InternalEntitiesTest::setUp in core/modules/jsonapi/tests/src/Functional/InternalEntitiesTest.php
LanguageSelectWidgetTest::testWithIncludedLockedLanguage in core/modules/language/tests/src/Kernel/LanguageSelectWidgetTest.php
Tests the widget with the locked languages.
LanguageSelectWidgetTest::testWithoutIncludedLockedLanguage in core/modules/language/tests/src/Kernel/LanguageSelectWidgetTest.php
Tests the widget without the locked languages.
LocaleStringTest::testStringCrudApi in core/modules/locale/tests/src/Kernel/LocaleStringTest.php
Tests CRUD API.
MediaLibraryAccessTest::testEditorOpenerAccess in core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php
@covers \Drupal\media_library\MediaLibraryEditorOpener::checkAccess[[api-linebreak]]
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.
MediaRevisionTest::testFileMediaRevision in core/modules/media/tests/src/Functional/MediaRevisionTest.php
Tests creating revisions of a File media item.
MediaSourceTest::testSave in core/modules/media/tests/src/Kernel/MediaSourceTest.php
Tests that metadata is correctly mapped irrespective of how media is saved.
MediaTranslationTest::testTranslatableFieldSaveLoad in core/modules/media/tests/src/Kernel/MediaTranslationTest.php
Tests translatable fields storage/retrieval.
MediaTypeCreationTest::testMediaTypeCreationForm in core/modules/media/tests/src/Functional/MediaTypeCreationTest.php
Tests the media type creation form with only the mandatory options.
MediaUiFunctionalTest::testMediaCreateRedirect in core/modules/media/tests/src/Functional/MediaUiFunctionalTest.php
Tests the redirect URL after creating a media item.
MediaUiFunctionalTest::testMediaWithOnlyOneMediaType in core/modules/media/tests/src/Functional/MediaUiFunctionalTest.php
Tests the media actions (add/edit/delete).
OEmbedIframeControllerTest::providerBadHashParameter in core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php
Data provider for testBadHashParameter().
OEmbedSourceTest::testThumbnailUri in core/modules/media/tests/src/Kernel/OEmbedSourceTest.php
Tests that remote thumbnails are downloaded correctly.
PageCacheTest::testPageCacheAnonymous403404 in core/modules/page_cache/tests/src/Functional/PageCacheTest.php
Tests the 4xx-response cache tag is added and invalidated.
PasswordItemTest::testPreSaveExistingEmptyString in core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php
@covers ::preSave[[api-linebreak]]
PasswordItemTest::testPreSaveExistingMultipleSpacesString in core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php
@covers ::preSave[[api-linebreak]]
PasswordItemTest::testPreSaveExistingNull in core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php
@covers ::preSave[[api-linebreak]]
PasswordItemTest::testPreSaveNewEmptyString in core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php
@covers ::preSave[[api-linebreak]]
PasswordItemTest::testPreSaveNewMultipleSpacesString in core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php
@covers ::preSave[[api-linebreak]]
PasswordItemTest::testPreSaveNewNull in core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php
@covers ::preSave[[api-linebreak]]
PasswordItemTest::testPreSavePreHashed in core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php
@covers ::preSave[[api-linebreak]]
RawStringFormatterTest::testStringFormatter in core/modules/field/tests/src/Kernel/String/RawStringFormatterTest.php
Tests string formatter output.
ResourceObjectNormalizerCacherTest::testLinkNormalizationCacheability in core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php
Tests that link normalization cache information is not lost.
ResourceTestBase::testPatchIndividual in core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
Tests PATCHing an individual resource, plus edge cases to ensure good DX.
ResourceTestBase::testPostIndividual in core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
Tests POSTing an individual resource, plus edge cases to ensure good DX.
RevisionUserTest::testRevisionUser in core/modules/media/tests/src/Kernel/Views/RevisionUserTest.php
Tests the media_revision_user relationship.
SelectionTest::setUp in core/modules/field/tests/src/Functional/EntityReference/Views/SelectionTest.php
SelectionTest::setUp in core/modules/field/tests/src/Kernel/EntityReference/Views/SelectionTest.php
SerializerTest::setUp in core/modules/jsonapi/tests/src/Kernel/Serializer/SerializerTest.php
SqlContentEntityStorageSchemaColumnTest::setUp in core/modules/field/tests/src/Kernel/Entity/Update/SqlContentEntityStorageSchemaColumnTest.php
StringFormatterTest::testStringFormatter in core/modules/field/tests/src/Kernel/String/StringFormatterTest.php
Tests string formatter output.
UserTest::testPatchDxForSecuritySensitiveBaseFields in core/modules/jsonapi/tests/src/Functional/UserTest.php
Tests PATCHing security-sensitive base fields of the logged in account.
WidgetUploadTest::testWidgetUpload in core/modules/media_library/tests/src/FunctionalJavascript/WidgetUploadTest.php
Tests that uploads in the Media library's widget works as expected.
WidgetUploadTest::testWidgetUploadAdvancedUi in core/modules/media_library/tests/src/FunctionalJavascript/WidgetUploadTest.php
Tests that uploads in the widget's advanced UI works as expected.

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