You are here

272 calls to RandomGeneratorTrait::randomString() in Drupal 9

AreaTextTest::testAreaText in core/modules/views/tests/src/Kernel/Handler/AreaTextTest.php
ArgumentValidatorTest::testArgumentValidateNumeric in core/modules/views/tests/src/Kernel/Plugin/ArgumentValidatorTest.php
AssertMailTraitTest::testAssertMailTrait in core/tests/Drupal/KernelTests/Core/Test/AssertMailTraitTest.php
Tests that the maintenance theme initializes the theme and its base themes.
BlockLanguageCacheTest::setUp in core/modules/block/tests/src/Functional/BlockLanguageCacheTest.php
BlockTest::testBlockUserRoleDelete in core/modules/block/tests/src/Functional/BlockTest.php
Tests block_user_role_delete.
BookContentModerationTest::testBookWithPendingRevisions in core/modules/book/tests/src/Functional/BookContentModerationTest.php
Tests that book drafts can not modify the book outline.
BookMultilingualTest::setUp in core/modules/book/tests/src/Kernel/BookMultilingualTest.php
BookPendingRevisionTest::testBookWithPendingRevisions in core/modules/book/tests/src/Kernel/BookPendingRevisionTest.php
Tests pending revision handling for books.
BookUninstallTest::testBookUninstall in core/modules/book/tests/src/Kernel/BookUninstallTest.php
Tests the book_system_info_alter() method.
CacheCollectorTest::providerTestInvalidCharacters in core/tests/Drupal/KernelTests/Core/Cache/CacheCollectorTest.php
Data provider for ::testCacheCollector().
CKEditorIntegrationTest::testEmbedPreviewAccess in core/modules/media/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php
Tests preview route access.
CKEditorStylesComboAdminTest::setUp in core/modules/ckeditor/tests/src/Functional/CKEditorStylesComboAdminTest.php
CKEditorStylesComboTranslationTest::setUp in core/modules/ckeditor/tests/src/Functional/CKEditorStylesComboTranslationTest.php
CommentActionsTest::setUp in core/modules/comment/tests/src/Kernel/CommentActionsTest.php
CommentDepthTest::testCommentDepth in core/modules/comment/tests/src/Kernel/Views/CommentDepthTest.php
Test the comment depth.
CommentItemTest::testCommentAuthorName in core/modules/comment/tests/src/Kernel/CommentItemTest.php
Tests comment author name.
CommentLinksTest::testLinkApprove in core/modules/comment/tests/src/Kernel/Views/CommentLinksTest.php
Tests the comment approve link.
CommentLinksTest::testLinkReply in core/modules/comment/tests/src/Kernel/Views/CommentLinksTest.php
Tests the comment reply link.
CommentUserNameTest::setUp in core/modules/comment/tests/src/Kernel/Views/CommentUserNameTest.php
CommentValidationTest::testValidation in core/modules/comment/tests/src/Kernel/CommentValidationTest.php
Tests the comment validation constraints.
CommentViewsFieldAccessTest::testCommentFields in core/modules/comment/tests/src/Kernel/Views/CommentViewsFieldAccessTest.php
Check access for comment fields.
ConfigDependencyTest::testDependencyManagement in core/tests/Drupal/KernelTests/Core/Config/ConfigDependencyTest.php
Tests creating dependencies on configuration entities.
ConfigEntityImportTest::checkSinglePluginConfigSync in core/modules/system/tests/src/Kernel/Entity/ConfigEntityImportTest.php
Tests that a single set of plugin config stays in sync.
ConfigEntityTest::testCRUD in core/modules/config/tests/src/Functional/ConfigEntityTest.php
Tests CRUD operations.
ConfigEntityTest::testCRUDUI in core/modules/config/tests/src/Functional/ConfigEntityTest.php
Tests CRUD operations through the UI.
ConfigEntityUnitTest::testStorageMethods in core/tests/Drupal/KernelTests/Core/Config/ConfigEntityUnitTest.php
Tests storage methods.
ConfigExportImportUITest::testExportImport in core/modules/config/tests/src/Functional/ConfigExportImportUITest.php
Tests a simple site export import case.
ConfigImportUITest::testBatchErrors in core/modules/config/tests/src/Functional/ConfigImportUITest.php
Tests that errors set in the batch and on the ConfigImporter are merged.
ConfigImportUITest::testImport in core/modules/config/tests/src/Functional/ConfigImportUITest.php
Tests importing configuration.
ConfigImportUITest::testImportLock in core/modules/config/tests/src/Functional/ConfigImportUITest.php
Tests concurrent importing of configuration.
ConfigImportUITest::testImportValidation in core/modules/config/tests/src/Functional/ConfigImportUITest.php
Tests that multiple validation errors are listed on the page.
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.
ContactPersonalTest::checkContactAccess in core/modules/contact/tests/src/Functional/ContactPersonalTest.php
Creates a user and then checks contact form access.
ContactSitewideTest::testAutoReply in core/modules/contact/tests/src/Functional/ContactSitewideTest.php
Tests auto-reply on the site-wide contact form.
ContentEntityChangedTest::testChanged in core/tests/Drupal/KernelTests/Core/Entity/ContentEntityChangedTest.php
Tests basic EntityChangedInterface functionality.
ContentEntityChangedTest::testRevisionChanged in core/tests/Drupal/KernelTests/Core/Entity/ContentEntityChangedTest.php
Tests revisionable EntityChangedInterface functionality.
ContentEntityCloneTest::testClonedEntityFields in core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php
Tests if the entity fields are properly cloned.
ContentEntityCloneTest::testEnforceIsNewOnClonedEntityTranslation in core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php
Tests that the flag for enforcing a new entity is not shared.
ContentEntityCloneTest::testFieldEntityReferenceAfterClone in core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php
Tests if entity references on fields are still correct after cloning.
ContentEntityCloneTest::testNewRevisionOnCloneEntityTranslation in core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php
Tests that the flag for enforcing a new revision is not shared.
ContentEntityFieldMethodInvocationOrderTest::testFieldMethodInvocationOrder in core/tests/Drupal/KernelTests/Core/Entity/ContentEntityFieldMethodInvocationOrderTest.php
Tests correct field method invocation order.
ContentEntityHasChangesTest::testHasTranslationChanges in core/tests/Drupal/KernelTests/Core/Entity/ContentEntityHasChangesTest.php
Tests the correct functionality of the hasTranslationChanges() function.
ContentEntityNonRevisionableFieldTest::testMulNonRevisionableField in core/tests/Drupal/KernelTests/Core/Entity/ContentEntityNonRevisionableFieldTest.php
Tests non-revisionable fields on revisionable and translatable entities.
ContentEntityNonRevisionableFieldTest::testMultiColumnNonRevisionableBaseField in core/tests/Drupal/KernelTests/Core/Entity/ContentEntityNonRevisionableFieldTest.php
Tests multi column non revisionable base field for revisionable entity.
ContentEntityNonRevisionableFieldTest::testNonRevisionableField in core/tests/Drupal/KernelTests/Core/Entity/ContentEntityNonRevisionableFieldTest.php
Tests non-revisionable fields on revisionable entities.
ContentModerationStateTest::createEntity in core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php
Creates an entity.
ContentModerationStateTest::testContentModerationStateTranslationDataRemoval in core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php
Tests removal of content moderation state translations.
ContentTranslationContextualLinksTest::testContentTranslationContextualLinks in core/modules/content_translation/tests/src/Functional/ContentTranslationContextualLinksTest.php
Tests that a contextual link is available for translating a node.
ContentTranslationLinkTagTest::createTranslatableEntity in core/modules/content_translation/tests/src/Functional/ContentTranslationLinkTagTest.php
Create a test entity with translations.
ContentTranslationMetadataFieldsTest::testSetTranslatable in core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php
Tests setting translatable metadata fields.
ContentTranslationMetadataFieldsTest::testSkipUntranslatable in core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php
Tests skipping setting non translatable metadata fields.
ContentTranslationUITestBase::doTestTranslationChanged in core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php
Tests the basic translation workflow.
ContentTranslationUntranslatableFieldsTest::testHiddenWidgets in core/modules/content_translation/tests/src/Functional/ContentTranslationUntranslatableFieldsTest.php
Tests that hiding untranslatable field widgets works correctly.
CreateSampleEntityTest::testSampleValueContentEntity in core/tests/Drupal/KernelTests/Core/Entity/CreateSampleEntityTest.php
Tests sample value content entity creation of all types.
DateRangeFieldTest::testDateStorageSettings in core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php
Tests that 'Date' field storage setting form is disabled if field has data.
DateRangeItemTest::testDateOnly in core/modules/datetime_range/tests/src/Kernel/DateRangeItemTest.php
Tests the field configured for date-only.
DateTimeFieldTest::testDateStorageSettings in core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php
Tests that 'Date' field storage setting form is disabled if field has data.
DisplayBlockTest::testBlockCategory in core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php
Tests default and custom block categories.
DisplayPathTest::testMenuOptions in core/modules/views_ui/tests/src/Functional/DisplayPathTest.php
Tests the menu and tab option form.
DisplayTest::testDisplayPlugin in core/modules/views/tests/src/Functional/Plugin/DisplayTest.php
Tests the display test plugin.
EditorAdminTest::testDisableFormatWithEditor in core/modules/editor/tests/src/Functional/EditorAdminTest.php
Tests format disabling.
EditorFilterIntegrationTest::testTextFormatIntegration in core/modules/editor/tests/src/Kernel/EditorFilterIntegrationTest.php
Tests text format removal or disabling.
EditorMediaDialogTest::testBuildForm in core/modules/media/tests/src/Kernel/EditorMediaDialogTest.php
Tests that the form builds successfully.
EditorPrivateFileReferenceFilterTest::testEditorPrivateFileReferenceFilter in core/modules/editor/tests/src/Functional/EditorPrivateFileReferenceFilterTest.php
Tests the editor file reference filter with private files.
EmbeddedFormWidgetTest::testInsertionAndReselection in core/modules/media_library/tests/src/FunctionalJavascript/EmbeddedFormWidgetTest.php
Tests media inside another widget that validates too enthusiastically.
EndOfTransactionQueriesTest::setUp in core/tests/Drupal/KernelTests/Core/Cache/EndOfTransactionQueriesTest.php
EndOfTransactionQueriesTest::testEntitySave in core/tests/Drupal/KernelTests/Core/Cache/EndOfTransactionQueriesTest.php
EntityAutocompleteTest::testSelectionSettingsHandling in core/tests/Drupal/KernelTests/Core/Entity/EntityAutocompleteTest.php
Tests that missing or invalid selection setting key are handled correctly.
EntityConverterTest::testRouteParamWithBundleDefinition in core/tests/Drupal/KernelTests/Core/ParamConverter/EntityConverterTest.php
Tests an entity route parameter having 'bundle' definition property.
EntityDecoupledTranslationRevisionsTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/EntityDecoupledTranslationRevisionsTest.php
EntityDefaultLanguageTest::createNode in core/modules/language/tests/src/Kernel/EntityDefaultLanguageTest.php
Creates a new node of given type and language using Entity API.
EntityDefinitionUpdateTest::testBaseFieldCreateDeleteWithExistingEntities in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Tests creating and deleting a base field if entities exist.
EntityDefinitionUpdateTest::testBaseFieldEntityKeyUpdateWithExistingData in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Tests updating a base field when it has existing data.
EntityDefinitionUpdateTest::testBundleFieldCreateDeleteWithExistingEntities in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Tests creating and deleting a bundle field if entities exist.
EntityDefinitionUpdateTest::testCreateIndexUsingEntityStorageSchemaWithData in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Ensures that a new entity level index is created when data exists.
EntityDefinitionUpdateTest::testEntityIndexCreateWithData in core/tests/Drupal/KernelTests/Core/Entity/EntityDefinitionUpdateTest.php
Tests creating a multi-field index when there are existing entities.
EntityDisplayModeTest::testEntityFormModeUI in core/modules/field_ui/tests/src/Functional/EntityDisplayModeTest.php
Tests the EntityFormMode user interface.
EntityDisplayModeTest::testEntityViewModeUI in core/modules/field_ui/tests/src/Functional/EntityDisplayModeTest.php
Tests the EntityViewMode user interface.
EntityDisplayTest::testComponentDependencies in core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php
Tests components dependencies additions.
EntityDisplayTest::testFieldComponent in core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php
Tests the behavior of a field component within an entity display object.
EntityExistsTest::testEntityExists in core/modules/migrate/tests/src/Kernel/Plugin/EntityExistsTest.php
Tests the EntityExists plugin.
EntityFieldTest::testComputedFields in core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php
Tests all the interaction points of a computed field.
EntityFieldTest::testEntityConstraintValidation in core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php
Tests validation constraints provided by the Entity API.
EntityFormDisplayTest::testFieldComponent in core/modules/field_ui/tests/src/Kernel/EntityFormDisplayTest.php
Tests the behavior of a field component within an EntityFormDisplay object.
EntityFormTest::testEntityFormModeAlter in core/modules/system/tests/src/Functional/Entity/EntityFormTest.php
Tests hook_entity_form_mode_alter().
EntityLanguageTestBase::setUp in core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php
EntityOperationsTest::testArchive in core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php
Verifies that an unpublished state may be made the default revision.
EntityQueryAccessTest::testBlockContentEntityQueryAccess in core/modules/views/tests/src/Functional/Entity/EntityQueryAccessTest.php
Tests that the 'block_content_access' query tag is respected by Views.
EntityQueryAccessTest::testMediaEntityQueryAccess in core/modules/views/tests/src/Functional/Entity/EntityQueryAccessTest.php
Tests that the 'media_access' query tag is respected by Views.
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 when the field has multiple target bundles and is set to auto-create the target entity.
EntityReferenceAutoCreateTest::testMultipleTargetBundles in core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php
Tests if an entity reference field having multiple target bundles is storing the auto-created entity in the right destination.
EntityReferenceAutoCreateTest::testNoBundles in core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php
Tests autocreation for an entity that has no bundles.
EntityReferenceFieldTest::assertUserAutocreate in core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php
Asserts that the setter callback performs autocreation for users.
EntityReferenceFieldTest::assertUserRoleAutocreate in core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php
Asserts that the setter callback performs autocreation for user roles.
EntityReferenceFieldTest::testAutocreateApi in core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php
Tests all the possible ways to autocreate an entity via the API.
EntityReferenceFieldTest::testReferencedEntitiesMultipleLoad in core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php
Tests the multiple target entities loader.
EntityReferenceFieldTest::testReferencedEntitiesStringId in core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php
Tests referencing entities with string IDs.
EntityReferenceFieldTest::testTargetEntityNoLoad in core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php
Tests that the target entity is not unnecessarily loaded.
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.
EntityReferenceSelectionReferenceableTest::setUp in core/modules/system/tests/src/Kernel/Entity/EntityReferenceSelectionReferenceableTest.php
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.
EntityRepositoryTest::doTestLanguageFallback in core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php
Check that language fallback is applied.
EntityRepositoryTest::testGetActive in core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php
Tests retrieving active variants.
EntityRepositoryTest::testGetCanonical in core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php
Tests retrieving canonical variants.
EntityResourceTestBase::testPatch in core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php
Tests a PATCH request for an entity, plus edge cases to ensure good DX.
EntityResourceTestBase::testPost in core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php
Tests a POST request for an entity, plus edge cases to ensure good DX.
EntityRevisionsTest::testIsLatestAffectedRevisionTranslation in core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionsTest.php
Tests that latest affected revisions are working as expected.
EntityRevisionTranslationTest::testNewRevisionAfterTranslation in core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionTranslationTest.php
Tests if the translation object has the right revision id after new revision.
EntityRevisionTranslationTest::testRevertRevisionAfterTranslation in core/tests/Drupal/KernelTests/Core/Entity/EntityRevisionTranslationTest.php
Tests if the translation object has the right revision id after new revision.
EntityTestTextItemNormalizerTest::testGetWithFormat in core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestTextItemNormalizerTest.php
Tests GETting an entity with the test text field set to a specific format.
EntityTranslationFormTest::setUp in core/modules/system/tests/src/Functional/Entity/EntityTranslationFormTest.php
EntityTranslationFormTest::testEntityFormLanguage in core/modules/system/tests/src/Functional/Entity/EntityTranslationFormTest.php
Tests entity form language.
EntityTranslationNormalizeTest::testNodeTranslation in core/modules/hal/tests/src/Kernel/EntityTranslationNormalizeTest.php
Tests the normalization of node translations.
EntityTranslationTest::doTestMultilingualProperties in core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php
Executes the multilingual property tests for the given entity type.
EntityTranslationTest::testDeleteEntityTranslation in core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php
Tests if entity translation statuses are correct after removing two translation.
EntityTranslationTest::testEntityAdapter in core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php
Tests how entity adapters work with translations.
EntityTranslationTest::testTranslationStatus in core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php
Tests the getTranslationStatus method.
EntityTypedDataDefinitionTest::testEntityDefinitionIsInternal in core/tests/Drupal/KernelTests/Core/Entity/EntityTypedDataDefinitionTest.php
Tests that an entity annotation can mark the data definition as internal.
EntityValidationTest::checkValidation in core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php
Executes the validation test set for a defined entity type.
EntityValidationTest::testEntityChangedConstraintOnConcurrentMultilingualEditing in core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php
Tests the EntityChangedConstraintValidator with multiple translations.
ExposedFormUITest::testExposedAdminUi in core/modules/views_ui/tests/src/Functional/ExposedFormUITest.php
Tests the admin interface of exposed filter and sort items.
FeedLanguageTest::setUp in core/modules/aggregator/tests/src/Functional/FeedLanguageTest.php
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
FieldEntityOperationsTest::testEntityOperations in core/modules/views/tests/src/Functional/Handler/FieldEntityOperationsTest.php
Tests entity operations field.
FieldEntityTest::testGetEntity in core/modules/views/tests/src/Functional/Entity/FieldEntityTest.php
Tests the getEntity method.
FieldFieldTest::setUp in core/modules/views/tests/src/Kernel/Handler/FieldFieldTest.php
FieldFieldTest::testMissingBundleFieldRender in core/modules/views/tests/src/Kernel/Handler/FieldFieldTest.php
Tests that a field not available for every bundle is rendered as empty.
FieldFormatterTest::testThirdPartySettings in core/modules/field/tests/src/Kernel/FieldFormatterTest.php
Tests availability of third party settings in field render arrays.
FieldItemTest::testSaveWorkflow in core/tests/Drupal/KernelTests/Core/Field/FieldItemTest.php
Tests the field item save workflow.
FieldMissingTypeTest::testFieldMissingType in core/tests/Drupal/KernelTests/Core/Field/FieldMissingTypeTest.php
Tests the exception thrown when missing a field type in fields.
FieldMissingTypeTest::testFieldStorageMissingType in core/tests/Drupal/KernelTests/Core/Field/FieldMissingTypeTest.php
Tests the exception thrown when missing a field type in field storages.
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.
FileUploadResourceTestBase::testFileUploadLargerFileSize in core/modules/rest/tests/src/Functional/FileUploadResourceTestBase.php
Tests using the file upload route with a file size larger than allowed.
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.
FilterDateTest::_testUiValidation in core/modules/views/tests/src/Functional/Handler/FilterDateTest.php
Make sure the validation callbacks works.
FilterEntityBundleTest::testFilterEntity in core/modules/views/tests/src/Kernel/Entity/FilterEntityBundleTest.php
Tests the generic bundle filter.
FormErrorHandlerFileUploadTest::testFileUploadErrors in core/modules/inline_form_errors/tests/src/Functional/FormErrorHandlerFileUploadTest.php
Tests that the required field error is displayed as inline error message.
FormObjectTest::setUp in core/modules/system/tests/src/Kernel/Form/FormObjectTest.php
FormTest::testInputWithInvalidToken in core/modules/system/tests/src/Functional/Form/FormTest.php
Tests that input is retained for safe elements even with an invalid token.
FormTest::testRequiredCheckboxesRadio in core/modules/system/tests/src/Functional/Form/FormTest.php
Tests validation for required checkbox, select, and radio elements.
FormTest::testRequiredTextfieldNoTitle in core/modules/system/tests/src/Functional/Form/FormTest.php
Tests validation for required textfield element without title.
ForumBlockTest::testActiveForumTopicsBlock in core/modules/forum/tests/src/Functional/ForumBlockTest.php
Tests the "Active forum topics" block.
GlossaryTest::testGlossaryView in core/modules/views/tests/src/Functional/GlossaryTest.php
Tests the default glossary view.
ImageAdminStylesTest::testAjaxEnabledEffectForm in core/modules/image/tests/src/FunctionalJavascript/ImageAdminStylesTest.php
Tests editing Ajax-enabled image effect forms.
ImageAdminStylesTest::testConfigImport in core/modules/image/tests/src/Functional/ImageAdminStylesTest.php
Tests image style configuration import that does a delete.
ImageAdminStylesTest::testFlushUserInterface in core/modules/image/tests/src/Functional/ImageAdminStylesTest.php
Tests flush user interface.
ImageAdminStylesTest::testImageStyleAccess in core/modules/image/tests/src/Functional/ImageAdminStylesTest.php
Tests access for the image style listing.
ImageAdminStylesTest::testNumericStyleName in core/modules/image/tests/src/Functional/ImageAdminStylesTest.php
Tests creating an image style with a numeric name.
ImageAdminStylesTest::testStyle in core/modules/image/tests/src/Functional/ImageAdminStylesTest.php
General test to add a style, add/remove/edit effects to it, then delete it.
ImageAdminStylesTest::testStyleReplacement in core/modules/image/tests/src/Functional/ImageAdminStylesTest.php
Tests deleting a style and choosing a replacement style.
ImageFieldDisplayTest::testImageFieldDefaultImage in core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php
Tests use of a default image with an image field.
ImageStyleFlushTest::testFlush in core/modules/image/tests/src/Functional/ImageStyleFlushTest.php
General test to flush a style.
ImageStylesPathAndUrlTest::doImageStyleUrlAndPathTests in core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php
Tests building an image style URL.
ImageStylesPathAndUrlTest::setUp in core/modules/image/tests/src/Functional/ImageStylesPathAndUrlTest.php
IntegrationTest::testAggregatorItemView in core/modules/aggregator/tests/src/Kernel/Views/IntegrationTest.php
Tests basic aggregator_item view.
InternalEntitiesTest::setUp in core/modules/jsonapi/tests/src/Functional/InternalEntitiesTest.php
KeyValueContentEntityStorageTest::testCRUD in core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php
Tests CRUD operations.
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.
MailCaptureTest::testMailSend in core/tests/Drupal/FunctionalTests/MailCaptureTest.php
Tests to see if the wrapper function is executed correctly.
ManageFieldsFunctionalTest::addPersistentFieldStorage in core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php
Tests that persistent field storage appears in the field UI.
ManageFieldsFunctionalTest::testFieldPrefix in core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php
Tests that the 'field_prefix' setting works on Field UI.
MediaLibraryAccessTest::testEditorOpenerAccess in core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php
@covers \Drupal\media_library\MediaLibraryEditorOpener::checkAccess
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).
MenuUiLanguageTest::testMenuLanguage in core/modules/menu_ui/tests/src/Functional/MenuUiLanguageTest.php
Tests menu language settings and the defaults for menu link items.
MenuUiNodeTest::testMenuNodeFormWidget in core/modules/menu_ui/tests/src/Functional/MenuUiNodeTest.php
Tests creating, editing, deleting menu links via node form widget.
MenuUiTest::doMenuTests in core/modules/menu_ui/tests/src/Functional/MenuUiTest.php
Tests menu functionality.
MigrateEntityContentValidationTest::test1 in core/modules/migrate/tests/src/Kernel/MigrateEntityContentValidationTest.php
Tests an import with invalid data and checks error messages.
MigrateEntityContentValidationTest::test2 in core/modules/migrate/tests/src/Kernel/MigrateEntityContentValidationTest.php
Tests an import with invalid data and checks error messages.
MigrateNodeTest::rerunMigration in core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeTest.php
Execute the migration a second time.
ModerationActionsTest::testNodeStatusActions in core/modules/content_moderation/tests/src/Functional/ModerationActionsTest.php
Tests the node status actions report moderation status to users correctly.
ModuleHandlerTest::testUninstallContentDependency in core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php
Tests uninstalling a module that has content.
ModuleTest::testViewsFetchPluginNames in core/modules/views/tests/src/Kernel/ModuleTest.php
Tests the \Drupal\views\Views::fetchPluginNames() method.
MultiStepNodeFormBasicOptionsTest::testMultiStepNodeFormBasicOptions in core/modules/node/tests/src/Functional/MultiStepNodeFormBasicOptionsTest.php
Tests changing the default values of basic options to ensure they persist.
NewViewConfigSchemaTest::testNewViews in core/modules/views_ui/tests/src/Functional/NewViewConfigSchemaTest.php
Tests creating brand new views.
NodeAccessLanguageAwareCombinationTest::setUp in core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareCombinationTest.php
NodeAccessLanguageAwareTest::setUp in core/modules/node/tests/src/Kernel/NodeAccessLanguageAwareTest.php
NodeAccessLanguageFallbackTest::testNodeAccessLanguageFallback in core/modules/node/tests/src/Functional/NodeAccessLanguageFallbackTest.php
Tests node access fallback handling with multiple node languages.
NodeAccessMenuLinkTest::testNodeAccessMenuLink in core/modules/node/tests/src/Functional/NodeAccessMenuLinkTest.php
SA-CORE-2015-003: Tests menu links to nodes when node access is restricted.
NodeOwnerTest::testOwner in core/modules/node/tests/src/Kernel/NodeOwnerTest.php
Tests node owner functionality.
NodeRevisionsTest::createRevisions in core/modules/node/tests/src/Functional/NodeRevisionsTest.php
Creates a series of revisions for the specified node.
NodeRevisionsTest::setUp in core/modules/node/tests/src/Functional/NodeRevisionsTest.php
NodeRevisionsUiTest::testNodeRevisionsTabWithDefaultRevision in core/modules/node/tests/src/Functional/NodeRevisionsUiTest.php
Checks the Revisions tab.
NodeRevisionWizardTest::testViewAdd in core/modules/node/tests/src/Functional/Views/Wizard/NodeRevisionWizardTest.php
Tests creating a node revision view.
NodeTypeTranslationTest::testNodeTypeTitleLabelTranslation in core/modules/node/tests/src/Functional/NodeTypeTranslationTest.php
Tests the node type title label translation.
NodeTypeTranslationTest::testNodeTypeTranslation in core/modules/node/tests/src/Functional/NodeTypeTranslationTest.php
Tests the node type translation.
NodeValidationTest::testValidation in core/modules/node/tests/src/Kernel/NodeValidationTest.php
Tests the node validation constraints.
NodeViewBuilderTest::testPendingRevisionLinks in core/modules/node/tests/src/Kernel/NodeViewBuilderTest.php
Tests that node links are displayed correctly in pending revisions.
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.
OptionsTestBase::setUp in core/modules/options/tests/src/Kernel/Views/OptionsTestBase.php
PageCacheTest::testPageCacheAnonymous403404 in core/modules/page_cache/tests/src/Functional/PageCacheTest.php
Tests the 4xx-response cache tag is added and invalidated.
PagePreviewTest::testPagePreviewWithRevisions in core/modules/node/tests/src/Functional/PagePreviewTest.php
Checks the node preview functionality, when using revisions.
PagerTest::setUp in core/modules/system/tests/src/Functional/Pager/PagerTest.php
PagerTest::testPagerEllipsis in core/modules/system/tests/src/Functional/Pager/PagerTest.php
Tests proper functioning of the ellipsis.
PathItemTest::testPathItem in core/modules/path/tests/src/Kernel/PathItemTest.php
Tests creating, loading, updating and deleting aliases through PathItem.
PhpStorageFactoryTest::setSettings in core/modules/system/tests/src/Kernel/PhpStorage/PhpStorageFactoryTest.php
Sets the Settings() singleton.
QueryBatchTest::queryDataProvider in core/modules/migrate/tests/src/Kernel/QueryBatchTest.php
QuickEditLoadingTest::setUp in core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditLoadingTest.php
RawStringFormatterTest::testStringFormatter in core/modules/field/tests/src/Kernel/String/RawStringFormatterTest.php
Tests string formatter output.
RebuildTest::testPreserveFormActionAfterAJAX in core/modules/system/tests/src/FunctionalJavascript/Form/RebuildTest.php
Tests that a form's action is retained after an Ajax submission.
ResourceObjectNormalizerCacherTest::testLinkNormalizationCacheability in core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php
Tests that link normalization cache information is not lost.
ResourceTest::setUp in core/modules/rest/tests/src/Functional/ResourceTest.php
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.
ResponseTest::testFormResponse in core/modules/system/tests/src/Functional/Form/ResponseTest.php
Tests that enforced responses propagate through subscribers and middleware.
RestExportTest::testBuildResponse in core/modules/rest/tests/src/Kernel/Views/RestExportTest.php
@covers ::buildResponse
RevisionUidTest::testRevisionUid in core/modules/node/tests/src/Kernel/Views/RevisionUidTest.php
Tests the node_revision_uid relationship.
RevisionUserTest::testRevisionUser in core/modules/media/tests/src/Kernel/Views/RevisionUserTest.php
Tests the media_revision_user relationship.
RevisionUserTest::testRevisionUser in core/modules/block_content/tests/src/Kernel/Views/RevisionUserTest.php
Tests the block_content_revision_user relationship.
RoleResourceTestBase::createEntity in core/modules/user/tests/src/Functional/Rest/RoleResourceTestBase.php
Creates the entity to be tested.
RoleTest::createEntity in core/modules/jsonapi/tests/src/Functional/RoleTest.php
Creates the entity to be tested.
SearchConfigSettingsFormTest::testMultipleSearchPages in core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php
Tests multiple search pages of the same type.
SearchDeprecationTest::testInvokePreprocess in core/modules/search/tests/src/Kernel/SearchDeprecationTest.php
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
SeparatorTranslationTest::testSeparatorTranslation in core/modules/datetime_range/tests/src/Kernel/SeparatorTranslationTest.php
Tests the translation of the range separator.
SerializerTest::setUp in core/modules/jsonapi/tests/src/Kernel/Serializer/SerializerTest.php
ShortcutSetsTest::testShortcutSetSwitchCreate in core/modules/shortcut/tests/src/Functional/ShortcutSetsTest.php
Tests switching a user's shortcut set and creating one at the same time.
ShortcutTestBase::generateShortcutSet in core/modules/shortcut/tests/src/Functional/ShortcutTestBase.php
Creates a generic shortcut set.
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.
TaxonomyFieldVidTest::setUp in core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyFieldVidTest.php
TermValidationTest::testValidation in core/modules/taxonomy/tests/src/Kernel/TermValidationTest.php
Tests the term validation constraints.
TextSummaryTest::testInvalidFilterFormat in core/modules/text/tests/src/Kernel/TextSummaryTest.php
Tests text_summary() returns an empty string without any error when called with an invalid format.
TrustedHostsTest::testShortcut in core/modules/system/tests/src/Functional/System/TrustedHostsTest.php
Tests that shortcut module works together with host verification.
TypedDataTest::testGetAndSet in core/tests/Drupal/KernelTests/Core/TypedData/TypedDataTest.php
Tests the basics around constructing and working with typed data objects.
UninstallTest::testUninstallPage in core/modules/system/tests/src/Functional/Module/UninstallTest.php
Tests the Uninstall page and Uninstall confirmation page.
UniqueFieldConstraintTest::testEntityWithStringId in core/tests/Drupal/KernelTests/Core/Validation/UniqueFieldConstraintTest.php
Tests cases where the validation passes for entities with string IDs.
UniqueFieldConstraintTest::testEntityWithStringIdWithViolation in core/tests/Drupal/KernelTests/Core/Validation/UniqueFieldConstraintTest.php
Tests cases when validation raises violations for entities with string IDs.
UserAdminSettingsFormTest::setUp in core/modules/user/tests/src/Kernel/UserAdminSettingsFormTest.php
UserCreateFailMailTest::testUserAdd in core/modules/user/tests/src/Functional/UserCreateFailMailTest.php
Tests the create user administration page.
UserCreateTest::testUserAdd in core/modules/user/tests/src/Functional/UserCreateTest.php
Create a user through the administration interface and ensure that it displays in the user list.
UserKernelTestBase::setupPermissionTestData in core/modules/user/tests/src/Kernel/Views/UserKernelTestBase.php
Set some test data for permission related tests.
UserPictureTest::testPictureOnNodeComment in core/modules/user/tests/src/Functional/UserPictureTest.php
Tests embedded users on node pages.
UserRegistrationTest::testUniqueFields in core/modules/user/tests/src/Functional/UserRegistrationTest.php
Tests username and email field constraints on user registration.
UserResourceTestBase::testPatchDxForSecuritySensitiveBaseFields in core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php
Tests PATCHing security-sensitive base fields of the logged in account.
UserRoleConditionTest::setUp in core/modules/user/tests/src/Kernel/Condition/UserRoleConditionTest.php
UserRoleDeleteTest::testDependenciesRemoval in core/modules/user/tests/src/Kernel/UserRoleDeleteTest.php
Tests the removal of user role dependencies.
UserRoleDeleteTest::testRoleDeleteUserRoleReferenceDelete in core/modules/user/tests/src/Kernel/UserRoleDeleteTest.php
Tests removal of role references on role entity delete.
UserRolesAssignmentTest::testCreateUserWithRole in core/modules/user/tests/src/Functional/UserRolesAssignmentTest.php
Tests that when creating a user the role can be assigned. And that it can be removed again.
UserSubAdminTest::testSubAdmin in core/modules/user/tests/src/Functional/UserSubAdminTest.php
Tests create and cancel forms as 'sub-admin'.
UserTest::testPatchDxForSecuritySensitiveBaseFields in core/modules/jsonapi/tests/src/Functional/UserTest.php
Tests PATCHing security-sensitive base fields of the logged in account.
UserValidationTest::testValidation in core/modules/user/tests/src/Kernel/UserValidationTest.php
Runs entity validation checks.
ValidationTest::testCustomRequiredError in core/modules/system/tests/src/Functional/Form/ValidationTest.php
Tests #required with custom validation errors.
ValidReferenceConstraintValidatorTest::testPreExistingItemsValidation in core/tests/Drupal/KernelTests/Core/Entity/ValidReferenceConstraintValidatorTest.php
Tests the validation of pre-existing items in an entity reference field.
ViewEntityDependenciesTest::setUp in core/modules/views/tests/src/Kernel/Entity/ViewEntityDependenciesTest.php
ViewExecutableTest::testPropertyMethods in core/modules/views/tests/src/Kernel/ViewExecutableTest.php
Tests the setting/getting of properties.
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.
WorkflowAccessControlHandlerTest::testCheckAccess in core/modules/workflows/tests/src/Kernel/WorkflowAccessControlHandlerTest.php
@covers ::checkAccess @dataProvider checkAccessProvider