251 calls to RandomGeneratorTrait::randomMachineName()

BlockContentTestBase::createBlockContent in core/modules/block_content/tests/src/Functional/Views/BlockContentTestBase.php
Creates a custom block.
BlockContentTestBase::createBlockContentType in core/modules/block_content/tests/src/Functional/Views/BlockContentTestBase.php
Creates a custom block type (bundle).
BlockHookOperationTest::testBlockOperationAlter in core/modules/block/tests/src/Functional/BlockHookOperationTest.php
Tests the block list to see if the test_operation link is added.
BlockTest::testAddBlockFromLibraryWithWeight in core/modules/block/tests/src/Functional/BlockTest.php
Tests adding a block from the library page with a weight query string.
BlockTest::testBlock in core/modules/block/tests/src/Functional/BlockTest.php
Tests configuring and moving a module-define block to specific regions.
BlockTest::testBlockThemeSelector in core/modules/block/tests/src/Functional/BlockTest.php
Tests that the block form has a theme selector when not passed via the URL.
BlockTest::testBlockToggleVisibility in core/modules/block/tests/src/Functional/BlockTest.php
Tests that visibility can be properly toggled.
BlockTest::testBlockUserRoleDelete in core/modules/block/tests/src/Functional/BlockTest.php
Tests block_user_role_delete.
BlockTest::testBlockVisibility in core/modules/block/tests/src/Functional/BlockTest.php
Tests block visibility.
BlockTest::testBlockVisibilityListedEmpty in core/modules/block/tests/src/Functional/BlockTest.php
Tests block visibility when leaving "pages" textarea empty.
BlockTest::testHideBlockTitle in core/modules/block/tests/src/Functional/BlockTest.php
Tests block title display settings.
BooleanFieldTest::testBooleanField in core/modules/field/tests/src/Functional/Boolean/BooleanFieldTest.php
Tests boolean field.
BooleanFormatterSettingsTest::setUp in core/modules/field/tests/src/FunctionalJavascript/Boolean/BooleanFormatterSettingsTest.php
BooleanFormatterSettingsTest::setUp in core/modules/field/tests/src/FunctionalJavascript/Boolean/BooleanFormatterSettingsTest.php
BooleanFormatterSettingsTest::setUp in core/modules/field/tests/src/Functional/Boolean/BooleanFormatterSettingsTest.php
BooleanFormatterTest::setUp in core/modules/field/tests/src/Kernel/Boolean/BooleanFormatterTest.php
BooleanItemTest::testBooleanItem in core/modules/field/tests/src/Kernel/Boolean/BooleanItemTest.php
Tests using entity fields of the boolean field type.
ComputedFileUrlTest::testGetValue in core/modules/file/tests/src/Kernel/ComputedFileUrlTest.php
@covers ::getValue[[api-linebreak]]
ComputedFileUrlTest::testSetValue in core/modules/file/tests/src/Kernel/ComputedFileUrlTest.php
@covers ::setValue[[api-linebreak]]
ComputedFileUrlTest::testSetValueNoNotify in core/modules/file/tests/src/Kernel/ComputedFileUrlTest.php
@covers ::setValue[[api-linebreak]]
ConfigTranslationCacheTest::testFieldConfigTranslation in core/modules/config_translation/tests/src/Functional/ConfigTranslationCacheTest.php
Tests the translation of field and field storage configuration.
ConfigTranslationListUiTest::doBlockListTest in core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php
Tests the block listing for the translate operation.
ConfigTranslationListUiTest::doContactFormsListTest in core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php
Tests the contact forms listing for the translate operation.
ConfigTranslationListUiTest::doContentTypeListTest in core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php
Tests the content type listing for the translate operation.
ConfigTranslationListUiTest::doCustomContentTypeListTest in core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php
Tests the custom block listing for the translate operation.
ConfigTranslationListUiTest::doFieldListTest in core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php
Tests the field listing for the translate operation.
ConfigTranslationListUiTest::doFormatsListTest in core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php
Tests the formats listing for the translate operation.
ConfigTranslationListUiTest::doMenuListTest in core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php
Tests the menu listing for the translate operation.
ConfigTranslationListUiTest::doResponsiveImageListTest in core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php
Tests the responsive image mapping listing for the translate operation.
ConfigTranslationListUiTest::doShortcutListTest in core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php
Tests the shortcut listing for the translate operation.
ConfigTranslationListUiTest::doUserRoleListTest in core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php
Tests the role listing for the translate operation.
ConfigTranslationListUiTest::doVocabularyListTest in core/modules/config_translation/tests/src/Functional/ConfigTranslationListUiTest.php
Tests the vocabulary listing for the translate operation.
ConfigTranslationOverviewTest::testMapperListPage in core/modules/config_translation/tests/src/Functional/ConfigTranslationOverviewTest.php
Tests the config translation mapper page.
ConfigTranslationUiTest::testBooleanFieldConfigTranslation in core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php
Tests the translation of a boolean field settings.
ConfigTranslationUiTest::testFieldConfigTranslation in core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php
Tests the translation of field and field storage configuration.
ConfigTranslationUiTest::testLocaleDBStorage in core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTest.php
Tests translation storage in locale storage.
ConfigTranslationViewListUiTest::testTimestampFormatterTranslation in core/modules/config_translation/tests/src/Functional/ConfigTranslationViewListUiTest.php
Test to ensure that TimestampFormatter translation works.
ConfigurableLanguageManagerTest::testUserProfileTranslationWithPreferredAdminLanguage in core/modules/language/tests/src/Functional/ConfigurableLanguageManagerTest.php
Tests translation of the user profile edit form.
ConfigurableLanguageTest::testName in core/modules/language/tests/src/Kernel/ConfigurableLanguageTest.php
Tests configurable language name methods.
CopyTest::testExistingError in core/modules/file/tests/src/Kernel/CopyTest.php
Tests that copying over an existing file fails when instructed to do so.
CopyTest::testExistingRename in core/modules/file/tests/src/Kernel/CopyTest.php
Tests renaming when copying over a file that already exists.
CopyTest::testExistingReplace in core/modules/file/tests/src/Kernel/CopyTest.php
Tests replacement when copying over a file that already exists.
CopyTest::testNormal in core/modules/file/tests/src/Kernel/CopyTest.php
Tests file copying in the normal, base case.
DbLogTest::doUser in core/modules/dblog/tests/src/Functional/DbLogTest.php
Generates and then verifies some user events.
DbLogTest::getContent in core/modules/dblog/tests/src/Functional/DbLogTest.php
Creates random content based on node content type.
DbLogTest::getContentUpdate in core/modules/dblog/tests/src/Functional/DbLogTest.php
Creates random content as an update based on node content type.
DbLogTest::testFilter in core/modules/dblog/tests/src/Functional/DbLogTest.php
Tests the database log filter functionality at admin/reports/dblog.
DisplayApiTest::setUp in core/modules/field/tests/src/Kernel/DisplayApiTest.php
Set the default field storage backend for fields created during tests.
DisplayApiTest::testFieldEmpty in core/modules/field/tests/src/Kernel/DisplayApiTest.php
Tests that the prepareView() formatter method still fires for empty values.
DisplayApiTest::testFieldItemListView in core/modules/field/tests/src/Kernel/DisplayApiTest.php
Tests the FieldItemListInterface::view() method.
DisplayApiTest::testFieldItemView in core/modules/field/tests/src/Kernel/DisplayApiTest.php
Tests the FieldItemInterface::view() method.
DownloadTest::doPrivateFileTransferTest in core/modules/file/tests/src/Functional/DownloadTest.php
Tests the private file transfer system.
EmailFieldTest::testEmailField in core/modules/field/tests/src/Functional/Email/EmailFieldTest.php
Tests email field.
EmailItemTest::testEmailItem in core/modules/field/tests/src/Kernel/Email/EmailItemTest.php
Tests using entity fields of the email field type.
EntityReferenceAdminTest::createEntityReferenceField in core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAdminTest.php
Creates a new Entity Reference fields with a given target type.
EntityReferenceAdminTest::setUp in core/modules/field/tests/src/FunctionalJavascript/EntityReference/EntityReferenceAdminTest.php
EntityReferenceAdminTest::setUp in core/modules/field/tests/src/FunctionalJavascript/EntityReference/EntityReferenceAdminTest.php
EntityReferenceAdminTest::setUp in core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAdminTest.php
EntityReferenceAdminTest::testMultipleTargetBundles in core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAdminTest.php
Tests field settings for an entity reference field.
EntityReferenceAutoCreateTest::testAutoCreate in core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php
Tests the autocomplete input element and entity auto-creation.
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.
EntityReferenceFieldDefaultValueTest::testEntityReferenceDefaultConfigValue in core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldDefaultValueTest.php
Tests that dependencies due to default values can be removed.
EntityReferenceFieldDefaultValueTest::testEntityReferenceDefaultValue in core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldDefaultValueTest.php
Tests that default values are correctly translated to UUIDs in config.
EntityReferenceFieldTranslatedReferenceViewTest::createNotTranslatedReferencedEntity in core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php
Create the referenced entity.
EntityReferenceFieldTranslatedReferenceViewTest::createReferencedEntityWithTranslation in core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php
Create a referenced entity with a translation.
EntityReferenceFieldTranslatedReferenceViewTest::createReferrerEntity in core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php
Create the referrer entity.
EntityReferenceFieldTranslatedReferenceViewTest::setUp in core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php
EntityReferenceFileUploadTest::testFileUpload in core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFileUploadTest.php
Tests that the autocomplete input element does not cause ajax fatal.
EntityReferenceFormatterTest::buildRenderArray in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php
Sets field values and returns a render array.
EntityReferenceFormatterTest::setUp in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php
EntityReferenceFormatterTest::testAccess in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php
Assert inaccessible items don't change the data of the fields.
EntityReferenceFormatterTest::testEntityFormatterRecursiveRendering in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php
Tests the recursive rendering protection of the entity formatter.
EntityReferenceFormatterTest::testEntityReferenceRecursiveProtectionWithManyRenderedEntities in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php
Renders the same entity referenced from different places.
EntityReferenceFormatterTest::testLabelFormatter in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceFormatterTest.php
Tests the label formatter.
EntityReferenceIntegrationTest::getTestEntities in core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php
Creates two content and two config test entities.
EntityReferenceIntegrationTest::testSupportedEntityTypesAndWidgets in core/modules/field/tests/src/Functional/EntityReference/EntityReferenceIntegrationTest.php
Tests the entity reference field with all its supported field widgets.
EntityReferenceItemTest::setUp in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php
Sets up the test.
EntityReferenceItemTest::testAutocreateValidation in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php
Tests ValidReferenceConstraint with newly created and unsaved entities.
EntityReferenceItemTest::testConfigEntityReferenceItem in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php
Tests the entity reference field type for referencing config entities.
EntityReferenceItemTest::testContentEntityReferenceItem in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php
Tests the entity reference field type for referencing content entities.
EntityReferenceItemTest::testEntityAutoCreate in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php
Tests entity auto create.
EntityReferenceItemTest::testEntitySaveOrder in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php
Tests saving order sequence doesn't matter.
EntityReferenceItemTest::testSelectionHandlerSettings in core/modules/field/tests/src/Kernel/EntityReference/EntityReferenceItemTest.php
Tests that the 'handler' field setting stores the proper plugin ID.
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.
FieldAttachOtherTest::testEntityDisplayBuild in core/modules/field/tests/src/Kernel/FieldAttachOtherTest.php
Tests rendering fields with EntityDisplay build().
FieldAttachStorageTest::testEntityCreateBundle in core/modules/field/tests/src/Kernel/FieldAttachStorageTest.php
Tests entity_bundle_create().
FieldAttachStorageTest::testEntityDeleteBundle in core/modules/field/tests/src/Kernel/FieldAttachStorageTest.php
Tests entity_bundle_delete().
FieldCrudTest::setUp in core/modules/field/tests/src/Kernel/FieldCrudTest.php
Set the default field storage backend for fields created during tests.
FieldCrudTest::testCreateField in core/modules/field/tests/src/Kernel/FieldCrudTest.php
Tests the creation of a field.
FieldCrudTest::testCreateFieldCustomStorage in core/modules/field/tests/src/Kernel/FieldCrudTest.php
Tests creating a field with custom storage set.
FieldCrudTest::testUpdateField in core/modules/field/tests/src/Kernel/FieldCrudTest.php
Tests the update of a field.
FieldDataCountTest::testEntityCountAndHasData in core/modules/field/tests/src/Kernel/FieldDataCountTest.php
Tests entityCount() and hadData() methods.
FieldDisplayTest::setUp in core/modules/field/tests/src/Kernel/FieldDisplayTest.php
FieldDisplayTest::testFieldVisualHidden in core/modules/field/tests/src/Kernel/FieldDisplayTest.php
Tests that visually hidden works with core.
FieldFormatterTest::setUp in core/modules/field/tests/src/Kernel/FieldFormatterTest.php
FieldImportDeleteUninstallTest::testImportAlreadyDeletedUninstall in core/modules/field/tests/src/Kernel/FieldImportDeleteUninstallTest.php
Tests purging previously deleted fields and storages in config import.
FieldImportDeleteUninstallTest::testImportDeleteUninstall in core/modules/field/tests/src/Kernel/FieldImportDeleteUninstallTest.php
Tests deleting field storages and fields as part of config import.
FieldImportDeleteUninstallUiTest::testImportDeleteUninstall in core/modules/field/tests/src/Functional/FieldImportDeleteUninstallUiTest.php
Tests deleting field storages and fields as part of config import.
FieldItemSerializationTest::setUp in core/modules/hal/tests/src/Kernel/serialization/FieldItemSerializationTest.php
FieldKernelTestBase::createFieldWithStorage in core/modules/field/tests/src/Kernel/FieldKernelTestBase.php
Create a field and an associated field storage.
FieldSqlStorageTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php
FieldSqlStorageTest::testLongNames in core/tests/Drupal/KernelTests/Core/Entity/FieldSqlStorageTest.php
Tests that long entity type and field names do not break.
FieldUIDeleteTest::testDeleteField in core/modules/field_ui/tests/src/Functional/FieldUIDeleteTest.php
Tests that deletion removes field storages and fields as expected.
FileFieldDisplayTest::testDefaultFileFieldDisplay in core/modules/file/tests/src/Functional/FileFieldDisplayTest.php
Tests default display of File Field.
FileFieldDisplayTest::testDescriptionDefaultFileFieldDisplay in core/modules/file/tests/src/Functional/FileFieldDisplayTest.php
Tests description display of File Field.
FileFieldDisplayTest::testDescToggle in core/modules/file/tests/src/Functional/FileFieldDisplayTest.php
Tests description toggle for field instance configuration.
FileFieldDisplayTest::testNodeDisplay in core/modules/file/tests/src/Functional/FileFieldDisplayTest.php
Tests normal formatter display on node display.
FileFieldFormatterAccessTest::testFileAccessHandler in core/modules/file/tests/src/Functional/FileFieldFormatterAccessTest.php
Tests the custom access handler is invoked.
FileFieldPathTest::testUploadPath in core/modules/file/tests/src/Functional/FileFieldPathTest.php
Tests the normal formatter display on node display.
FileFieldRevisionTest::testRevisions in core/modules/file/tests/src/Functional/FileFieldRevisionTest.php
Tests creating multiple revisions of a node and managing attached files.
FileFieldRSSContentTest::testFileFieldRSSContent in core/modules/file/tests/src/Functional/FileFieldRSSContentTest.php
Tests RSS enclosure formatter display for RSS feeds.
FileFieldTestBase::uploadNodeFiles in core/modules/file/tests/src/Functional/FileFieldTestBase.php
Uploads multiple files to a node.
FileFieldValidateTest::testAjaxValidationMessage in core/modules/file/tests/src/FunctionalJavascript/FileFieldValidateTest.php
Tests the validation message is displayed only once for ajax uploads.
FileFieldValidateTest::testFileExtension in core/modules/file/tests/src/Functional/FileFieldValidateTest.php
Tests file extension checking.
FileFieldValidateTest::testFileMaxSize in core/modules/file/tests/src/Functional/FileFieldValidateTest.php
Tests the max file size validator.
FileFieldValidateTest::testRequired in core/modules/file/tests/src/Functional/FileFieldValidateTest.php
Tests the required property on file fields.
FileFieldWidgetTest::testFileExtensionsSetting in core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
Tests configuring file field's allowed file extensions setting.
FileFieldWidgetTest::testMaximumUploadFileSizeValidation in core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
Tests maximum upload file size validation.
FileFieldWidgetTest::testMultiValuedWidget in core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
Tests upload and remove buttons for multiple multi-valued File fields.
FileFieldWidgetTest::testPrivateFileComment in core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
Tests that download restrictions on private files work on comments.
FileFieldWidgetTest::testPrivateFileSetting in core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
Tests a file field with a "Private files" upload destination setting.
FileFieldWidgetTest::testSingleValuedWidget in core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
Tests upload and remove buttons for a single-valued File field.
FileFieldWidgetTest::testWidgetElement in core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
Tests file widget element.
FileFieldWidgetTest::testWidgetValidation in core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
Tests validation with the Upload button.
FileItemTest::setUp in core/modules/file/tests/src/Kernel/FileItemTest.php
Set the default field storage backend for fields created during tests.
FileItemTest::testFileItem in core/modules/file/tests/src/Kernel/FileItemTest.php
Tests using entity fields of the file field type.
FileListingTest::testFileListingUsageNoLink in core/modules/file/tests/src/Functional/FileListingTest.php
Tests file listing usage page for entities with no canonical link template.
FileManagedTestBase::createUri in core/modules/file/tests/src/Functional/FileManagedTestBase.php
Creates a file and returns its URI.
FileManagedUnitTestBase::createUri in core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php
Creates a file and returns its URI.
FileManagedUnitTestBase::setUp in core/modules/file/tests/src/Kernel/FileManagedUnitTestBase.php
FileMediaFormatterTestBase::createMediaField in core/modules/file/tests/src/Functional/Formatter/FileMediaFormatterTestBase.php
Creates a file field and set's the correct formatter.
FileOnTranslatedEntityTest::setUp in core/modules/file/tests/src/Functional/FileOnTranslatedEntityTest.php
FilePrivateTest::testPrivateFile in core/modules/file/tests/src/Functional/FilePrivateTest.php
Tests file access for file uploaded to a private node.
FileRepositoryTest::testExistingError in core/modules/file/tests/src/Kernel/FileRepositoryTest.php
Tests that writeData() fails overwriting an existing file.
FileRepositoryTest::testExistingRename in core/modules/file/tests/src/Kernel/FileRepositoryTest.php
Tests writeData() when renaming around an existing file.
FileRepositoryTest::testExistingReplace in core/modules/file/tests/src/Kernel/FileRepositoryTest.php
Tests writeData() when replacing an existing file.
FileRepositoryTest::testWithFilename in core/modules/file/tests/src/Kernel/FileRepositoryTest.php
Tests the writeData() method.
FileTokenReplaceTest::testFileTokenReplacement in core/modules/file/tests/src/Functional/FileTokenReplaceTest.php
Creates a file, then tests the tokens generated from it.
FileUploadHandlerTest::testFileSaveUploadSingleErrorFormSize in core/modules/file/tests/src/Kernel/FileUploadHandlerTest.php
Tests file size upload errors.
FilterAdminTest::testDisabledFormat in core/modules/filter/tests/src/Functional/FilterAdminTest.php
Tests whether a field using a disabled format is rendered.
FilterAdminTest::testFilterAdmin in core/modules/filter/tests/src/Functional/FilterAdminTest.php
Tests filter administration functionality.
FilterAdminTest::testFormatAdmin in core/modules/filter/tests/src/Functional/FilterAdminTest.php
Tests the format administration functionality.
FilterAdminTest::testUrlFilterAdmin in core/modules/filter/tests/src/Functional/FilterAdminTest.php
Tests the URL filter settings form is properly validated.
FormJSAddMoreTest::setUp in core/modules/field/tests/src/FunctionalJavascript/FormJSAddMoreTest.php
FormTest::setUp in core/modules/field/tests/src/Functional/FormTest.php
HandlerFieldFieldTest::testFieldRender in core/modules/field/tests/src/Kernel/Views/HandlerFieldFieldTest.php
Tests fields rendering in views.
JsonApiRegressionTest::testFilterByIdFromIssue3015759 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
Ensures that filtering by a sequential internal ID named 'id' is possible.
LanguageListTest::testLanguageList in core/modules/language/tests/src/Functional/LanguageListTest.php
Functional tests for adding, editing and deleting languages.
LanguageSwitchingTest::doTestLanguageBlock404 in core/modules/language/tests/src/Functional/LanguageSwitchingTest.php
Tests the language switcher block on 404 pages.
LanguageSwitchingTest::testLanguageBlock in core/modules/language/tests/src/Functional/LanguageSwitchingTest.php
Functional tests for the language switcher block.
LanguageSwitchingTest::testRestrictedPaths in core/modules/language/tests/src/Functional/LanguageSwitchingTest.php
Test that the language switching block does not expose restricted paths.
LanguageUILanguageNegotiationTest::testUILanguageNegotiation in core/modules/language/tests/src/Functional/LanguageUILanguageNegotiationTest.php
Tests for language switching by URL path.
LanguageUrlRewritingTest::checkUrl in core/modules/language/tests/src/Functional/LanguageUrlRewritingTest.php
Check URL rewriting for the given language.
LanguageUrlRewritingTest::testUrlRewritingEdgeCases in core/modules/language/tests/src/Functional/LanguageUrlRewritingTest.php
Check that non-installed languages are not considered.
LegacyFileTest::testCopy in core/modules/file/tests/src/Kernel/LegacyFileTest.php
Tests the file_copy deprecation and legacy behavior.
LegacyFileTest::testFileSaveUploadSingleErrorFormSize in core/modules/file/tests/src/Kernel/LegacyFileTest.php
Tests file size upload errors.
LegacyFileTest::testMove in core/modules/file/tests/src/Kernel/LegacyFileTest.php
Tests the file_copy deprecation and legacy behavior.
LegacyFileTest::testSaveData in core/modules/file/tests/src/Kernel/LegacyFileTest.php
Tests file_save_data deprecation and that it works without a destination.
LinkItemSerializationTest::testLinkDeserialization in core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php
Tests the deserialization.
LinkItemSerializationTest::testLinkSerialization in core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php
Tests the serialization.
LocaleConfigManagerTest::testGetDefaultConfigLangcode in core/modules/locale/tests/src/Kernel/LocaleConfigManagerTest.php
Tests getDefaultConfigLangcode().
LocaleConfigTranslationTest::setUp in core/modules/locale/tests/src/Functional/LocaleConfigTranslationTest.php
LocaleConfigTranslationTest::testConfigTranslation in core/modules/locale/tests/src/Functional/LocaleConfigTranslationTest.php
Tests basic configuration translation.
LocaleConfigurableLanguageManagerTest::testGetLanguages in core/modules/locale/tests/src/Kernel/LocaleConfigurableLanguageManagerTest.php
LocaleConfigurableLanguageManagerTest::testGetLanguages in core/modules/locale/tests/src/Kernel/LocaleConfigurableLanguageManagerTest.php
LocaleContentTest::testContentTypeLanguageConfiguration in core/modules/locale/tests/src/Functional/LocaleContentTest.php
Tests if a content type can be set to multilingual and language is present.
LocaleImportFunctionalTest::testConfigPoFile in core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php
Tests .po file import with configuration translation.
LocaleImportFunctionalTest::testStandalonePoFile in core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php
Tests import of standalone .po files.
LocaleJavascriptTranslationTest::testLocaleTranslationJsDependencies in core/modules/locale/tests/src/Functional/LocaleJavascriptTranslationTest.php
Assert translations JS is added before drupal.js, because it depends on it.
LocalePathTest::testPathLanguageConfiguration in core/modules/locale/tests/src/Functional/LocalePathTest.php
Tests if a language can be associated with a path alias.
LocaleStringTest::buildSourceString in core/modules/locale/tests/src/Kernel/LocaleStringTest.php
Creates random source string object.
LocaleStringTest::testStringSearchApi in core/modules/locale/tests/src/Kernel/LocaleStringTest.php
Tests Search API loading multiple objects.
LocaleTranslationUiTest::testJavaScriptTranslation in core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php
Tests the rebuilding of JavaScript translation files on deletion.
LocaleTranslationUiTest::testStringSearch in core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php
Tests translation search form.
LocaleTranslationUiTest::testStringTranslation in core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php
Adds a language and tests string translation by users with the appropriate permissions.
LocaleTranslationUiTest::testStringValidation in core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php
Tests the validation of the translation input.
LocaleTranslationUiTest::testUICustomizedStrings in core/modules/locale/tests/src/Functional/LocaleTranslationUiTest.php
Tests that only changed strings are saved customized when edited.
LocaleUpdateTest::testEnableCustomLanguage in core/modules/locale/tests/src/Functional/LocaleUpdateTest.php
Tests automatic translation import when a custom language is added.
MediaDisplayTest::testMediaDisplay in core/modules/media/tests/src/FunctionalJavascript/MediaDisplayTest.php
Tests basic media display.
MediaLibraryAccessTest::testEditorOpenerAccess in core/modules/media_library/tests/src/Kernel/MediaLibraryAccessTest.php
@covers \Drupal\media_library\MediaLibraryEditorOpener::checkAccess[[api-linebreak]]
MediaRevisionTest::createMediaRevision in core/modules/media/tests/src/Functional/MediaRevisionTest.php
Creates a new revision for a given media item.
MediaRevisionTest::testRevisions in core/modules/media/tests/src/Functional/MediaRevisionTest.php
Checks media revision operations.
MediaSourceFileTest::testMediaFileSource in core/modules/media/tests/src/FunctionalJavascript/MediaSourceFileTest.php
Tests the file media source.
MediaStandardProfileTest::audioTest in core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php
Tests the standard profile configuration for media type 'audio'.
MediaStandardProfileTest::documentTest in core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php
Tests the standard profile configuration for media type 'document'.
MediaStandardProfileTest::videoTest in core/modules/media/tests/src/FunctionalJavascript/MediaStandardProfileTest.php
Tests the standard profile configuration for media type 'video'.
MediaThumbnailFormatterTest::testRender in core/modules/media/tests/src/Functional/FieldFormatter/MediaThumbnailFormatterTest.php
Tests the media thumbnail field formatter.
MediaTranslationUITest::getNewEntityValues in core/modules/media/tests/src/Functional/MediaTranslationUITest.php
Returns an array of entity field values to be tested.
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::testMediaWithMultipleMediaTypes in core/modules/media/tests/src/Functional/MediaUiFunctionalTest.php
Tests the "media/add" page.
MediaUiFunctionalTest::testMediaWithOnlyOneMediaType in core/modules/media/tests/src/Functional/MediaUiFunctionalTest.php
Tests the media actions (add/edit/delete).
MediaUiJavascriptTest::testMediaTypes in core/modules/media/tests/src/FunctionalJavascript/MediaUiJavascriptTest.php
Tests a media type administration.
MediaViewsWizardTest::testMediaRevisionWizard in core/modules/media/tests/src/FunctionalJavascript/MediaViewsWizardTest.php
Tests adding a view of media revisions.
MediaViewsWizardTest::testMediaWizard in core/modules/media/tests/src/FunctionalJavascript/MediaViewsWizardTest.php
Tests adding a view of media.
MoveTest::testExistingError in core/modules/file/tests/src/Kernel/MoveTest.php
Tests that moving onto an existing file fails when instructed to do so.
MoveTest::testExistingRename in core/modules/file/tests/src/Kernel/MoveTest.php
Tests renaming when moving onto a file that already exists.
MoveTest::testExistingReplace in core/modules/file/tests/src/Kernel/MoveTest.php
Tests replacement when moving onto a file that already exists.
MoveTest::testExistingReplaceSelf in core/modules/file/tests/src/Kernel/MoveTest.php
Tests replacement when moving onto itself.
MoveTest::testNormal in core/modules/file/tests/src/Kernel/MoveTest.php
Move a normal file.
NestedFormTest::setUp in core/modules/field/tests/src/Functional/NestedFormTest.php
NodeEntityViewModeAlterTest::testNodeViewModeChange in core/modules/node/tests/src/Functional/NodeEntityViewModeAlterTest.php
Create a "Basic page" node and verify its consistency in the database.
NumberFieldTest::testCreateNumberDecimalField in core/modules/field/tests/src/Functional/Number/NumberFieldTest.php
Tests setting the minimum value of a decimal field through the interface.
NumberFieldTest::testCreateNumberFloatField in core/modules/field/tests/src/Functional/Number/NumberFieldTest.php
Tests setting the minimum value of a float field through the interface.
NumberFieldTest::testNumberDecimalField in core/modules/field/tests/src/Functional/Number/NumberFieldTest.php
Tests decimal field.
NumberFieldTest::testNumberFloatField in core/modules/field/tests/src/Functional/Number/NumberFieldTest.php
Tests float field.
NumberFieldTest::testNumberFormatter in core/modules/field/tests/src/FunctionalJavascript/Number/NumberFieldTest.php
Tests default formatter behavior.
NumberFieldTest::testNumberIntegerField in core/modules/field/tests/src/Functional/Number/NumberFieldTest.php
Tests integer field.
NumberItemTest::testNumberItem in core/modules/field/tests/src/Kernel/Number/NumberItemTest.php
Tests using entity fields of the number field type.
PageCacheTest::testPageCacheAnonymous403404 in core/modules/page_cache/tests/src/Functional/PageCacheTest.php
Tests the 4xx-response cache tag is added and invalidated.
PrivateFileOnTranslatedEntityTest::setUp in core/modules/file/tests/src/Functional/PrivateFileOnTranslatedEntityTest.php
PrivateFileOnTranslatedEntityTest::testPrivateLanguageFile in core/modules/file/tests/src/Functional/PrivateFileOnTranslatedEntityTest.php
Tests private file fields on translated nodes.
RawStringFormatterTest::setUp in core/modules/field/tests/src/Kernel/String/RawStringFormatterTest.php
ReEnableModuleFieldTest::testReEnabledField in core/modules/field/tests/src/Functional/ReEnableModuleFieldTest.php
Tests the behavior of a field module after being disabled and re-enabled.
RelationshipNormalizerTest::setUp in core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php
ResourceObjectNormalizerCacherTest::testLinkNormalizationCacheability in core/modules/jsonapi/tests/src/Kernel/EventSubscriber/ResourceObjectNormalizerCacherTest.php
Tests that link normalization cache information is not lost.
ResourceTestBase::testPostIndividual in core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php
Tests POSTing an individual resource, plus edge cases to ensure good DX.
ResponsiveImageFieldDisplayTest::assertResponsiveImageFieldFormattersLink in core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php
Tests responsive image formatters linked to the file or node.
ResponsiveImageFieldDisplayTest::doTestResponsiveImageFieldFormatters in core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php
Tests responsive image formatters on node display.
ResponsiveImageFieldDisplayTest::testResponsiveImageFieldFormattersEmptyMediaQuery in core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php
Tests responsive image formatter on node display with an empty media query.
ResponsiveImageFieldDisplayTest::testResponsiveImageFieldFormattersOneSource in core/modules/responsive_image/tests/src/Functional/ResponsiveImageFieldDisplayTest.php
Tests responsive image formatter on node display with one source.
ResponsiveImageFieldUiTest::setUp in core/modules/responsive_image/tests/src/FunctionalJavascript/ResponsiveImageFieldUiTest.php
ResponsiveImageFieldUiTest::setUp in core/modules/responsive_image/tests/src/FunctionalJavascript/ResponsiveImageFieldUiTest.php
SaveUploadFormTest::testNormal in core/modules/file/tests/src/Functional/SaveUploadFormTest.php
Tests the _file_save_upload_from_form() function.
SaveUploadTest::testNormal in core/modules/file/tests/src/Functional/SaveUploadTest.php
Tests the file_save_upload() function.
SearchBlockTest::testSearchFormBlock in core/modules/search/tests/src/Functional/SearchBlockTest.php
Tests that the search form block can be placed and works.
SelectionTest::setUp in core/modules/field/tests/src/Kernel/EntityReference/Views/SelectionTest.php
ShapeItemTest::testShapeItem in core/modules/field/tests/src/Kernel/ShapeItemTest.php
Tests using entity fields of the shape field type.
SpaceUsedTest::createFileWithSize in core/modules/file/tests/src/Kernel/SpaceUsedTest.php
Creates a file with a given size.
SqlContentEntityStorageSchemaColumnTest::setUp in core/modules/field/tests/src/Kernel/Entity/Update/SqlContentEntityStorageSchemaColumnTest.php
StreamWrapperTest::testFileFunctions in core/tests/Drupal/KernelTests/Core/File/StreamWrapperTest.php
Tests some file handle functions.
StringFieldTest::_testTextfieldWidgets in core/modules/field/tests/src/Functional/String/StringFieldTest.php
Helper function for testTextfieldWidgets().
StringFormatterTest::setUp in core/modules/field/tests/src/Kernel/String/StringFormatterTest.php
StringFormatterTest::testLinkToContentForEntitiesWithNoCanonicalPath in core/modules/field/tests/src/Kernel/String/StringFormatterTest.php
Test "link_to_entity" feature on fields which are added to config entity.
StringFormatterTest::testStringFormatter in core/modules/field/tests/src/Kernel/String/StringFormatterTest.php
Tests string formatter output.
TelephoneFieldTest::testTelephoneFormatter in core/modules/telephone/tests/src/Functional/TelephoneFieldTest.php
Tests the telephone formatter.
TelephoneItemTest::testTestItem in core/modules/telephone/tests/src/Kernel/TelephoneItemTest.php
Tests using entity fields of the telephone field type.
TestItemTest::testTestItem in core/modules/field/tests/src/Kernel/TestItemTest.php
Tests using entity fields of the test field type.
TimestampFormatterTest::setUp in core/modules/field/tests/src/Kernel/Timestamp/TimestampFormatterTest.php
TimestampItemTest::testDateTime in core/modules/field/tests/src/Kernel/Timestamp/TimestampItemTest.php
Tests using entity fields of the datetime field type.
TranslationTest::setUp in core/modules/field/tests/src/Kernel/TranslationTest.php
Set the default field storage backend for fields created during tests.
TranslationTest::testTranslatableFieldSaveLoad in core/modules/field/tests/src/Kernel/TranslationTest.php
Tests translatable fields storage/retrieval.
TranslationWebTest::setUp in core/modules/field/tests/src/Functional/TranslationWebTest.php
UriItemTest::testUriField in core/modules/field/tests/src/Kernel/Uri/UriItemTest.php
Tests URI field.
UserLanguageCreationTest::testLocalUserCreation in core/modules/user/tests/src/Functional/UserLanguageCreationTest.php
Functional test for language handling during user creation.
UserTest::getModifiedEntityForPostTesting in core/modules/jsonapi/tests/src/Functional/UserTest.php
Gets the normalized POST entity with random values for its unique fields.
ViewsIntegrationTest::createLogEntries in core/modules/dblog/tests/src/Kernel/Views/ViewsIntegrationTest.php
Create a set of log entries.
WidgetAccessTest::testRequiredFieldNoAccess in core/modules/media_library/tests/src/FunctionalJavascript/WidgetAccessTest.php
Tests the widget with a required field that the user can't access.

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