You are here
901 calls to RandomGeneratorTrait::randomMachineName() in Drupal 9
- ActionTest::testOperations in core/modules/system/tests/src/Kernel/Action/ActionTest.php
- Tests the functionality of test actions.
- AddFeedTest::testBasicFeedAddNoTitle in core/modules/system/tests/src/Kernel/Common/AddFeedTest.php
- Tests attaching feeds with paths, URLs, and titles.
- AggregatorTestBase::createSampleNodes in core/modules/aggregator/tests/src/Functional/AggregatorTestBase.php
- Creates sample article nodes.
- AggregatorTestBase::getFeedEditArray in core/modules/aggregator/tests/src/Functional/AggregatorTestBase.php
- Returns a randomly generated feed edit array.
- AggregatorTestBase::getFeedEditObject in core/modules/aggregator/tests/src/Functional/AggregatorTestBase.php
- Returns a randomly generated feed edit object.
- AliasTest::testWhitelist in core/modules/path_alias/tests/src/Kernel/AliasTest.php
- Tests the alias whitelist.
- AliasTest::testWhitelistCacheDeletionMidRequest in core/modules/path_alias/tests/src/Kernel/AliasTest.php
- Tests situation where the whitelist cache is deleted mid-request.
- AreaEmptyTest::testRenderEmptyHeaderFooter in core/modules/views/tests/src/Kernel/Handler/AreaEmptyTest.php
- Tests that the header and footer areas are not rendered if empty.
- AreaEntityTest::testEntityArea in core/modules/views/tests/src/Kernel/Handler/AreaEntityTest.php
- Tests the area handler.
- AreaTest::testRenderArea in core/modules/views/tests/src/Functional/Handler/AreaTest.php
- Tests the rendering of an area.
- AreaTest::testUI in core/modules/views/tests/src/Functional/Handler/AreaTest.php
- Tests the generic UI of an area handler.
- AreaTextTest::testAreaText in core/modules/views/tests/src/Kernel/Handler/AreaTextTest.php
- ArgumentDateTimeTest::setUp in core/modules/datetime/tests/src/Kernel/Views/ArgumentDateTimeTest.php
- ArgumentDefaultTest::testArgumentDefaultFixed in core/modules/views/tests/src/Functional/Plugin/ArgumentDefaultTest.php
- Tests fixed default argument.
- ArgumentTransformTermTest::termArgumentTransformationProvider in core/modules/taxonomy/tests/src/Kernel/Views/ArgumentTransformTermTest.php
- Provides data for testTermArgumentTransformation().
- ArgumentUidRevisionTest::testArgument in core/modules/node/tests/src/Kernel/Views/ArgumentUidRevisionTest.php
- Tests the node_uid_revision argument.
- ArgumentValidateTest::testArgumentValidateUserName in core/modules/user/tests/src/Kernel/Views/ArgumentValidateTest.php
- Tests the UserName argument validator.
- ArgumentValidatorTest::testArgumentValidatorPlugin in core/modules/views/tests/src/Kernel/Plugin/ArgumentValidatorTest.php
- Tests the argument validator test plugin.
- AssertMailTraitTest::testAssertMailTrait in core/tests/Drupal/KernelTests/Core/Test/AssertMailTraitTest.php
- Tests that the maintenance theme initializes the theme and its base themes.
- BasicAuthTest::testBasicAuth in core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php
- Tests http basic authentication.
- BasicAuthTest::testUnauthorizedErrorMessage in core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php
- Tests if a comprehensive message is displayed when the route is denied.
- BasicTest::testViewsWizardAndListing in core/modules/views/tests/src/Functional/Wizard/BasicTest.php
- BasicTest::testWizardDefaultValues in core/modules/views/tests/src/Functional/Wizard/BasicTest.php
- Tests default plugin values are populated from the wizard form.
- BigPipeRegressionTest::testCommentForm_2698811 in core/modules/big_pipe/tests/src/FunctionalJavascript/BigPipeRegressionTest.php
- Ensure comment form works with history and big_pipe modules.
- BlockCacheTest::testCachePermissions in core/modules/block/tests/src/Functional/BlockCacheTest.php
- Tests a cacheable block without any additional cache context.
- BlockCacheTest::testCachePerPage in core/modules/block/tests/src/Functional/BlockCacheTest.php
- Tests "url" cache context.
- BlockCacheTest::testCachePerRole in core/modules/block/tests/src/Functional/BlockCacheTest.php
- Tests "user.roles" cache context.
- BlockCacheTest::testCachePerUser in core/modules/block/tests/src/Functional/BlockCacheTest.php
- Tests "user" cache context.
- BlockCacheTest::testNoCache in core/modules/block/tests/src/Functional/BlockCacheTest.php
- Tests non-cacheable block.
- BlockConfigSchemaTest::testBlockConfigSchema in core/modules/block/tests/src/Kernel/BlockConfigSchemaTest.php
- Tests the block config schema for block plugins.
- BlockContentCreationTest::testBlockContentCreation in core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php
- Creates a "Basic page" block and verifies its consistency in the database.
- BlockContentCreationTest::testBlockContentCreationMultipleViewModes in core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php
- Creates a "Basic page" block with multiple view modes.
- BlockContentCreationTest::testBlockDelete in core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php
- Tests deleting a block.
- BlockContentCreationTest::testDefaultBlockContentCreation in core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php
- Create a default custom block.
- BlockContentListTest::testListing in core/modules/block_content/tests/src/Functional/BlockContentListTest.php
- Tests the custom block listing page.
- BlockContentListViewsTest::testListing in core/modules/block_content/tests/src/Functional/BlockContentListViewsTest.php
- Tests the custom block listing page.
- BlockContentRedirectTest::testRedirectDestination in core/modules/block_content/tests/src/Functional/Views/BlockContentRedirectTest.php
- Tests the redirect destination when editing block content.
- BlockContentRevisionsTest::setUp in core/modules/block_content/tests/src/Functional/BlockContentRevisionsTest.php
- Sets the test up.
- BlockContentRevisionsTest::testRevisions in core/modules/block_content/tests/src/Functional/BlockContentRevisionsTest.php
- Checks block revision related operations.
- BlockContentSaveTest::testImport in core/modules/block_content/tests/src/Functional/BlockContentSaveTest.php
- Checks whether custom block IDs are saved properly during an import.
- BlockContentTestBase::createBlockContent in core/modules/block_content/tests/src/Functional/BlockContentTestBase.php
- Creates a custom block.
- 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/BlockContentTestBase.php
- Creates a custom block type (bundle).
- BlockContentTestBase::createBlockContentType in core/modules/block_content/tests/src/Functional/Views/BlockContentTestBase.php
- Creates a custom block type (bundle).
- BlockContentTranslationUITest::getNewEntityValues in core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php
- Returns an array of entity field values to be tested.
- BlockContentTypeTest::testsBlockContentAddTypes in core/modules/block_content/tests/src/Functional/BlockContentTypeTest.php
- Tests that redirects work as expected when multiple block types exist.
- BlockContentValidationTest::testValidation in core/modules/block_content/tests/src/Functional/BlockContentValidationTest.php
- Tests the block content validation constraints.
- BlockContentWizardTest::testViewAddBlockContent in core/modules/block_content/tests/src/Functional/Views/BlockContentWizardTest.php
- Tests creating a 'block_content' entity view.
- BlockDependenciesTest::createBlock in core/modules/views/tests/src/Kernel/Plugin/BlockDependenciesTest.php
- Creates a block instance based on default settings.
- BlockHookOperationTest::testBlockOperationAlter in core/modules/block/tests/src/Functional/BlockHookOperationTest.php
- Tests the block list to see if the test_operation link is added.
- BlockHtmlTest::setUp in core/modules/block/tests/src/Functional/BlockHtmlTest.php
- BlockLanguageCacheTest::testBlockLinks in core/modules/block/tests/src/Functional/BlockLanguageCacheTest.php
- Creates a block in a language, check blocks page in all languages.
- BlockLanguageTest::testLanguageBlockVisibility in core/modules/block/tests/src/Functional/BlockLanguageTest.php
- Tests the visibility settings for the blocks based on language.
- BlockLanguageTest::testMultipleLanguageTypes in core/modules/block/tests/src/Functional/BlockLanguageTest.php
- Tests block language visibility with different language types.
- 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.
- BlockUiTest::testBlockPlacementIndicator in core/modules/block/tests/src/Functional/BlockUiTest.php
- Tests the block placement indicator.
- BlockViewBuilderTest::testBlockViewBuilderBuildAlter in core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php
- Tests block build altering.
- BlockXssTest::doViewTest in core/modules/block/tests/src/Functional/BlockXssTest.php
- Tests XSS coming from View block labels.
- BlockXssTest::testXssInTitle in core/modules/block/tests/src/Functional/BlockXssTest.php
- Tests XSS in title.
- BookBreadcrumbTest::createBookNode in core/modules/book/tests/src/Functional/BookBreadcrumbTest.php
- Creates a book node.
- 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.
- BookRelationshipTest::createBookNode in core/modules/book/tests/src/Functional/Views/BookRelationshipTest.php
- Creates a book node.
- BookUninstallTest::testBookUninstall in core/modules/book/tests/src/Kernel/BookUninstallTest.php
- Tests the book_system_info_alter() method.
- BooleanFieldTest::testBooleanField in core/modules/field/tests/src/Functional/Boolean/BooleanFieldTest.php
- Tests boolean field.
- BooleanFormatterSettingsTest::setUp in core/modules/field/tests/src/Functional/Boolean/BooleanFormatterSettingsTest.php
- BooleanFormatterSettingsTest::setUp in core/modules/field/tests/src/FunctionalJavascript/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.
- BreadcrumbFrontCacheContextsTest::setUp in core/modules/system/tests/src/Functional/Menu/BreadcrumbFrontCacheContextsTest.php
- BreadcrumbTest::testBreadCrumbs in core/modules/system/tests/src/Functional/Menu/BreadcrumbTest.php
- Tests breadcrumbs on node and administrative paths.
- BulkFormTest::setUp in core/modules/node/tests/src/Functional/Views/BulkFormTest.php
- 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
- ClearTest::setUp in core/modules/system/tests/src/Functional/Cache/ClearTest.php
- CollapsedSummariesTest::setUp in core/modules/node/tests/src/FunctionalJavascript/CollapsedSummariesTest.php
- CommentActionsTest::setUp in core/modules/comment/tests/src/Kernel/CommentActionsTest.php
- CommentActionsTest::testCommentUnpublishByKeyword in core/modules/comment/tests/src/Kernel/CommentActionsTest.php
- Tests the unpublish comment by keyword action.
- CommentAdminTest::testApprovalAdminInterface in core/modules/comment/tests/src/Functional/CommentAdminTest.php
- Tests comment approval functionality through admin/content/comment.
- CommentAdminTest::testApprovalAdminInterface in core/modules/comment/tests/src/Functional/Views/CommentAdminTest.php
- Tests comment approval functionality through admin/content/comment.
- CommentAdminTest::testApprovalNodeInterface in core/modules/comment/tests/src/Functional/CommentAdminTest.php
- Tests comment approval functionality through the node interface.
- CommentAdminTest::testCommentedEntityLabel in core/modules/comment/tests/src/Functional/Views/CommentAdminTest.php
- Tests commented entity label of admin view.
- CommentAdminTest::testCommentedTranslationDeletion in core/modules/comment/tests/src/Functional/CommentAdminTest.php
- Tests commented translation deletion admin view.
- CommentAdminTest::testEditComment in core/modules/comment/tests/src/Functional/CommentAdminTest.php
- Tests editing a comment as an admin.
- CommentAdminViewTest::setUp in core/modules/comment/tests/src/Kernel/Views/CommentAdminViewTest.php
- CommentAnonymousTest::testAnonymous in core/modules/comment/tests/src/Functional/CommentAnonymousTest.php
- Tests anonymous comment functionality.
- CommentAttributesTest::saveComment in core/modules/rdf/tests/src/Functional/CommentAttributesTest.php
- Creates a comment entity.
- CommentAttributesTest::testCommentRdfaMarkup in core/modules/rdf/tests/src/Functional/CommentAttributesTest.php
- Tests if RDFa markup for meta information is present in comments.
- CommentBaseFieldTest::testCommentBaseField in core/modules/comment/tests/src/Kernel/CommentBaseFieldTest.php
- Tests comment as a base field.
- CommentBlockTest::testRecentCommentBlock in core/modules/comment/tests/src/Functional/CommentBlockTest.php
- Tests the recent comments block.
- CommentBookTest::testBookCommentPrint in core/modules/comment/tests/src/Functional/CommentBookTest.php
- Tests comments in book export.
- CommentCSSTest::testCommentClasses in core/modules/comment/tests/src/Functional/CommentCSSTest.php
- Tests CSS classes on comments.
- CommentDefaultFormatterCacheTagsTest::testCacheTags in core/modules/comment/tests/src/Kernel/CommentDefaultFormatterCacheTagsTest.php
- Tests the bubbling of cache tags.
- CommentEditTest::testCommentEdit in core/modules/comment/tests/src/Functional/Views/CommentEditTest.php
- Tests comment label in admin view.
- CommentEntityTest::testEntityChanges in core/modules/comment/tests/src/Functional/CommentEntityTest.php
- Tests CSS classes on comments.
- CommentFieldsTest::testCommentInstallAfterContentModule in core/modules/comment/tests/src/Functional/CommentFieldsTest.php
- Tests that comment module works when installed after a content module.
- CommentIntegrationTest::testViewMode in core/modules/comment/tests/src/Kernel/CommentIntegrationTest.php
- Tests view mode setting integration.
- CommentInterfaceTest::testCommentInterface in core/modules/comment/tests/src/Functional/CommentInterfaceTest.php
- Tests the comment interface.
- CommentInterfaceTest::testViewMode in core/modules/comment/tests/src/Functional/CommentInterfaceTest.php
- Tests the comment formatter configured with a custom comment view mode.
- CommentItemTest::testCommentItem in core/modules/comment/tests/src/Kernel/CommentItemTest.php
- Tests using entity fields of the comment field type.
- CommentLanguageTest::testCommentLanguage in core/modules/comment/tests/src/Functional/CommentLanguageTest.php
- Tests that comment language is properly set.
- CommentLinksAlterTest::testCommentLinksAlter in core/modules/comment/tests/src/Functional/CommentLinksAlterTest.php
- Tests comment links altering.
- CommentLinksTest::testCommentLinks in core/modules/comment/tests/src/Functional/CommentLinksTest.php
- Tests that comment links are output and can be hidden.
- CommentNewIndicatorTest::testCommentNewCommentsIndicator in core/modules/comment/tests/src/Functional/CommentNewIndicatorTest.php
- Tests new comment marker.
- CommentNodeAccessTest::testThreadedCommentView in core/modules/comment/tests/src/Functional/CommentNodeAccessTest.php
- Tests that threaded comments can be viewed.
- CommentNodeChangesTest::testNodeDeletion in core/modules/comment/tests/src/Functional/CommentNodeChangesTest.php
- Tests that comments are deleted with the node.
- CommentNonNodeTest::setUp in core/modules/comment/tests/src/Functional/CommentNonNodeTest.php
- CommentNonNodeTest::testCommentFunctionality in core/modules/comment/tests/src/Functional/CommentNonNodeTest.php
- Tests anonymous comment functionality.
- CommentPagerTest::testCommentNewPageIndicator in core/modules/comment/tests/src/Functional/CommentPagerTest.php
- Tests calculation of first page with new comment.
- CommentPagerTest::testCommentOrderingThreading in core/modules/comment/tests/src/Functional/CommentPagerTest.php
- Tests comment ordering and threading.
- CommentPagerTest::testCommentPaging in core/modules/comment/tests/src/Functional/CommentPagerTest.php
- Confirms comment paging works correctly with flat and threaded comments.
- CommentPagerTest::testCommentPermalink in core/modules/comment/tests/src/Functional/CommentPagerTest.php
- Confirms comment paging works correctly with flat and threaded comments.
- CommentPreviewTest::testCommentEditPreviewSave in core/modules/comment/tests/src/Functional/CommentPreviewTest.php
- Tests comment edit, preview, and save.
- CommentPreviewTest::testCommentPreview in core/modules/comment/tests/src/Functional/CommentPreviewTest.php
- Tests comment preview.
- CommentPreviewTest::testCommentPreviewDuplicateSubmission in core/modules/comment/tests/src/Functional/CommentPreviewTest.php
- Tests comment preview.
- CommentRssTest::testCommentRss in core/modules/comment/tests/src/Functional/CommentRssTest.php
- Tests comments as part of an RSS feed.
- CommentStatisticsTest::testCommentNodeCommentStatistics in core/modules/comment/tests/src/Functional/CommentStatisticsTest.php
- Tests the node comment statistics.
- CommentThreadingTest::testCommentThreading in core/modules/comment/tests/src/Functional/CommentThreadingTest.php
- Tests the comment threading.
- CommentTitleTest::testCommentEmptyTitles in core/modules/comment/tests/src/Functional/CommentTitleTest.php
- Tests markup for comments with empty titles.
- CommentTitleTest::testCommentPopulatedTitles in core/modules/comment/tests/src/Functional/CommentTitleTest.php
- Tests markup for comments with populated titles.
- CommentTokenReplaceTest::testCommentTokenReplacement in core/modules/comment/tests/src/Functional/CommentTokenReplaceTest.php
- Creates a comment, then tests the tokens generated from it.
- CommentTranslationUITest::getNewEntityValues in core/modules/comment/tests/src/Functional/CommentTranslationUITest.php
- Returns an array of entity field values to be tested.
- CommentTranslationUITest::setUp in core/modules/comment/tests/src/Functional/CommentTranslationUITest.php
- CommentUserNameTest::setUp in core/modules/comment/tests/src/Kernel/Views/CommentUserNameTest.php
- CommentUserNameTest::testUsername in core/modules/comment/tests/src/Kernel/Views/CommentUserNameTest.php
- Tests the username formatter.
- CommentValidationTest::testValidation in core/modules/comment/tests/src/Kernel/CommentValidationTest.php
- Tests the comment validation constraints.
- CommentViewsKernelTestBase::setUp in core/modules/comment/tests/src/Kernel/Views/CommentViewsKernelTestBase.php
- ComputedFileUrlTest::testGetValue in core/modules/file/tests/src/Kernel/ComputedFileUrlTest.php
- @covers ::getValue
- ComputedFileUrlTest::testSetValue in core/modules/file/tests/src/Kernel/ComputedFileUrlTest.php
- @covers ::setValue
- ComputedFileUrlTest::testSetValueNoNotify in core/modules/file/tests/src/Kernel/ComputedFileUrlTest.php
- @covers ::setValue
- ConditionFormTest::testConfigForm in core/modules/system/tests/src/Functional/Condition/ConditionFormTest.php
- Submit the condition_node_type_test_form to test condition forms.
- ConfigDiffTest::testDiff in core/tests/Drupal/KernelTests/Core/Config/ConfigDiffTest.php
- Tests calculating the difference between two sets of configuration.
- ConfigEntityQueryTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityQueryTest.php
- ConfigEntityStatusTest::testCRUD in core/tests/Drupal/KernelTests/Core/Config/ConfigEntityStatusTest.php
- Tests the enabling/disabling of entities.
- ConfigEntityStatusUITest::testCRUD in core/modules/config/tests/src/Functional/ConfigEntityStatusUITest.php
- Tests status operations.
- 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.
- ConfigExportImportUITest::testExportImportCollections in core/modules/config/tests/src/Functional/ConfigExportImportUITest.php
- Tests an export and import of collections.
- ConfigFileContentTest::testSerialization in core/tests/Drupal/KernelTests/Core/Config/ConfigFileContentTest.php
- Tests serialization of configuration to file.
- ConfigImportRecreateTest::testRecreateEntity in core/tests/Drupal/KernelTests/Core/Config/ConfigImportRecreateTest.php
- ConfigImportRenameValidationTest::testRenameValidation in core/tests/Drupal/KernelTests/Core/Config/ConfigImportRenameValidationTest.php
- Tests configuration renaming validation.
- ConfigLanguageOverrideWebTest::testSiteNameTranslation in core/modules/config/tests/src/Functional/ConfigLanguageOverrideWebTest.php
- Tests translating the site name.
- 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.
- ConfigurationTest::testActionConfiguration in core/modules/action/tests/src/Functional/ConfigurationTest.php
- Tests configuration of advanced actions through administration interface.
- ConnectionTest::testConnectionRouting in core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php
- Tests that connections return appropriate connection objects.
- ContactPersonalTest::checkContactAccess in core/modules/contact/tests/src/Functional/ContactPersonalTest.php
- Creates a user and then checks contact form access.
- ContactPersonalTest::submitPersonalContact in core/modules/contact/tests/src/Functional/ContactPersonalTest.php
- Fills out a user's personal contact form and submits it.
- ContactSitewideTest::testAutoReply in core/modules/contact/tests/src/Functional/ContactSitewideTest.php
- Tests auto-reply on the site-wide contact form.
- ContactSitewideTest::testSiteWideContact in core/modules/contact/tests/src/Functional/ContactSitewideTest.php
- Tests configuration options and the site-wide contact form.
- ContactStorageTest::testContactStorage in core/modules/contact/tests/src/Functional/ContactStorageTest.php
- Tests configuration options and the site-wide contact form.
- ContentTranslationContextualLinksTest::setUp in core/modules/content_translation/tests/src/Functional/ContentTranslationContextualLinksTest.php
- ContentTranslationFieldSyncRevisionTest::setUp in core/modules/content_translation/tests/src/Kernel/ContentTranslationFieldSyncRevisionTest.php
- ContentTranslationSyncImageTest::testImageFieldSync in core/modules/content_translation/tests/src/Functional/ContentTranslationSyncImageTest.php
- Tests image field field synchronization.
- ContentTranslationSyncUnitTest::testFieldSync in core/modules/content_translation/tests/src/Kernel/ContentTranslationSyncUnitTest.php
- Tests the field synchronization algorithm.
- ContentTranslationUITestBase::doTestAuthoringInfo in core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php
- Tests the translation authoring information.
- ContentTranslationUITestBase::getNewEntityValues in core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php
- Returns an array of entity field values to be tested.
- ContentTranslationWorkflowsTest::setupEntity in core/modules/content_translation/tests/src/Functional/ContentTranslationWorkflowsTest.php
- Creates a test entity and translate it.
- ContextPluginTest::testContext in core/tests/Drupal/KernelTests/Core/Plugin/ContextPluginTest.php
- Tests basic context definition and value getters and setters.
- ContextualLinksTest::setUp in core/modules/node/tests/src/FunctionalJavascript/ContextualLinksTest.php
- 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.
- CronQueueTest::testExceptions in core/modules/system/tests/src/Kernel/System/CronQueueTest.php
- Tests that exceptions thrown by workers are handled properly.
- CronRunTest::testCronRun in core/modules/system/tests/src/Functional/System/CronRunTest.php
- Tests cron runs.
- CurrentUserContextTest::testGetAvailableContexts in core/modules/user/tests/src/Kernel/ContextProvider/CurrentUserContextTest.php
- @covers ::getAvailableContexts
- DatabaseBackendTest::testSetGet in core/tests/Drupal/KernelTests/Core/Cache/DatabaseBackendTest.php
- Tests the get and set methods of Drupal\Core\Cache\CacheBackendInterface.
- DatabaseStorageExpirableTest::testCRUDWithExpiration in core/tests/Drupal/KernelTests/Core/KeyValueStore/DatabaseStorageExpirableTest.php
- Tests CRUD functionality with expiration.
- DatabaseStorageExpirableTest::testExpiration in core/tests/Drupal/KernelTests/Core/KeyValueStore/DatabaseStorageExpirableTest.php
- Tests data expiration.
- DateFormatAccessControlHandlerTest::testAccess in core/modules/system/tests/src/Kernel/DateFormatAccessControlHandlerTest.php
- @covers ::checkAccess
@covers ::checkCreateAccess
@dataProvider testAccessProvider
- DateFormatsMachineNameTest::testDateFormatsMachineNameAllowedValues in core/modules/system/tests/src/Functional/System/DateFormatsMachineNameTest.php
- Tests that date formats cannot be created with invalid machine names.
- 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.
- DateRangeFieldTest::testDefaultValue in core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php
- Tests default value functionality.
- DateRangeItemTest::setUp in core/modules/datetime_range/tests/src/Kernel/DateRangeItemTest.php
- Set the default field storage backend for fields created during tests.
- DateTestBase::createField in core/modules/datetime/tests/src/Functional/DateTestBase.php
- Creates a date test field.
- DateTimeFieldTest::testDateStorageSettings in core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php
- Tests that 'Date' field storage setting form is disabled if field has data.
- DateTimeFieldTest::testDefaultValue in core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php
- Tests default value functionality.
- DateTimeItemTest::testDateOnly in core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php
- Tests using entity fields of the date field type.
- DateTimeItemTest::testDateTime in core/modules/datetime/tests/src/Kernel/DateTimeItemTest.php
- Tests using entity fields of the datetime field type.
- DateTimeTest::testDateFormatConfiguration in core/modules/system/tests/src/Functional/System/DateTimeTest.php
- Tests date format configuration.
- DbDumpTest::setUp in core/tests/Drupal/KernelTests/Core/Command/DbDumpTest.php
- DbDumpTest::testScriptLoad in core/tests/Drupal/KernelTests/Core/Command/DbDumpTest.php
- Tests loading the script back into the database.
- 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.
- DefaultViewsTest::createTerm in core/modules/views/tests/src/Functional/DefaultViewsTest.php
- Returns a new term with random properties in vocabulary $vid.
- DefaultViewsTest::setUp in core/modules/views/tests/src/Functional/DefaultViewsTest.php
- DefaultViewsTest::testDefaultViews in core/modules/views_ui/tests/src/Functional/DefaultViewsTest.php
- Tests default views.
- DirectoryTest::testFileCheckDirectoryHandling in core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php
- Tests directory handling functions.
- DirectoryTest::testFileCheckLocalDirectoryHandling in core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php
- Tests local directory handling functions.
- 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.
- DisplayBlockTest::testBlockCategory in core/modules/block/tests/src/Functional/Views/DisplayBlockTest.php
- Tests default and custom block categories.
- DisplayCRUDTest::testDuplicateDisplay in core/modules/views_ui/tests/src/Functional/DisplayCRUDTest.php
- Tests the duplicating of a display.
- DisplayExtenderUITest::testDisplayExtenderUI in core/modules/views_ui/tests/src/Functional/DisplayExtenderUITest.php
- Tests the display extender UI.
- DisplayFeedTest::testFeedOutput in core/modules/views/tests/src/Functional/Plugin/DisplayFeedTest.php
- Tests the rendered output.
- DisplayPathTest::doBasicPathUITest in core/modules/views_ui/tests/src/Functional/DisplayPathTest.php
- Tests basic functionality in configuring a view.
- DisplayPathTest::testDefaultMenuTabRegression in core/modules/views_ui/tests/src/Functional/DisplayPathTest.php
- Tests the regression in https://www.drupal.org/node/2532490.
- DisplayPathTest::testMenuOptions in core/modules/views_ui/tests/src/Functional/DisplayPathTest.php
- Tests the menu and tab option form.
- DownloadTest::doPrivateFileTransferTest in core/modules/file/tests/src/Functional/DownloadTest.php
- Tests the private file transfer system.
- DuplicateTest::testDuplicateView in core/modules/views_ui/tests/src/Functional/DuplicateTest.php
- Checks if duplicated view exists and has correct label.
- EarlyDateTest::testTaxonomyEarlyDateNode in core/modules/taxonomy/tests/src/Functional/EarlyDateTest.php
- Tests taxonomy functionality with nodes prior to 1970.
- EditorAdminTest::testDisableFormatWithEditor in core/modules/editor/tests/src/Functional/EditorAdminTest.php
- Tests format disabling.
- EditorFileReferenceFilterTest::testEditorFileReferenceFilter in core/modules/editor/tests/src/Kernel/EditorFileReferenceFilterTest.php
- Tests the editor file reference filter.
- EditorFilterIntegrationTest::testTextFormatIntegration in core/modules/editor/tests/src/Kernel/EditorFilterIntegrationTest.php
- Tests text format removal or disabling.
- EditorLoadingTest::testLoading in core/modules/editor/tests/src/Functional/EditorLoadingTest.php
- Tests loading of text editors.
- EditorLoadingTest::testSupportedElementTypes in core/modules/editor/tests/src/Functional/EditorLoadingTest.php
- Tests supported element types.
- ElementsTableSelectTest::formSubmitHelper in core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php
- Helper function for the option check test to submit a form while collecting errors.
- 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.
- EntityAutocompleteElementFormTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php
- EntityBundleConditionTest::testConditions in core/tests/Drupal/KernelTests/Core/Entity/EntityBundleConditionTest.php
- Tests conditions.
- EntityDisplayBaseTest::testOnDependencyRemoval in core/tests/Drupal/KernelTests/Core/Entity/EntityDisplayBaseTest.php
- @covers ::onDependencyRemoval
- 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.
- EntityFieldTest::createTestEntity in core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php
- Creates a test entity.
- EntityFieldTest::doTestReadWrite in core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php
- Executes the read write test set for a defined entity type.
- EntityFilteringThemeTest::setUp in core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php
- EntityFormTest::doTestFormCRUD in core/modules/system/tests/src/Functional/Entity/EntityFormTest.php
- Executes the form CRUD tests for the given entity type.
- EntityFormTest::doTestMultilingualFormCRUD in core/modules/system/tests/src/Functional/Entity/EntityFormTest.php
- Executes the multilingual form CRUD tests for the given entity type ID.
- EntityKernelTestBase::generateRandomEntityId in core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php
- Generates a random ID avoiding collisions.
- EntityLanguageTestBase::setUp in core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php
- EntityOperationsTest::createRole in core/modules/system/tests/src/Functional/Entity/EntityOperationsTest.php
- EntityQueryRelationshipTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php
- EntityQueryTest::setUp in core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php
- EntityQueryTest::testBaseFieldMultipleColumns in core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php
- Tests base fields with multiple columns.
- EntityQueryTest::testCaseSensitivity in core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php
- Tests case sensitive and in-sensitive query conditions.
- EntityQueryTest::testCount in core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php
- Tests that count queries are separated across entity types.
- EntityQueryTest::testWithTwoEntityReferenceFieldsToSameEntityType in core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php
- Tests that EntityQuery works when querying the same entity from two fields.
- 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/Functional/EntityReference/EntityReferenceAdminTest.php
- EntityReferenceAdminTest::setUp in core/modules/field/tests/src/FunctionalJavascript/EntityReference/EntityReferenceAdminTest.php
- 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::testAutoCreate in core/modules/field/tests/src/Functional/EntityReference/EntityReferenceAutoCreateTest.php
- Tests that the autocomplete input element appears and the creation of a new
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.
- 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 as built by
\Drupal\Core\Field\FieldItemListInterface::view().
- 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.
- EntityReferenceRdfaTest::setUp in core/modules/rdf/tests/src/Kernel/Field/EntityReferenceRdfaTest.php
- Set the default field storage backend for fields created during tests.
- 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.
- 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::runRevisionsTests in core/modules/system/tests/src/Functional/Entity/EntityRevisionsTest.php
- Executes the revision tests for the given entity type.
- EntitySerializationTest::setUp in core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php
- EntityTestRevisionTest::testRevisionsViewWithNoTypeOnBaseTable in core/modules/views/tests/src/Functional/Wizard/EntityTestRevisionTest.php
- Tests creating a view of revisions where the type is not on the base table.
- 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::doTestEntityTranslationAPI in core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php
- Executes the Entity Translation API tests for the given entity type.
- EntityTranslationTest::doTestLanguageChange in core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php
- Executes the entity language change test for the given entity type.
- EntityTranslationTest::doTestLanguageFallback in core/tests/Drupal/KernelTests/Core/Entity/EntityTranslationTest.php
- Executes the language fallback test for the given entity type.
- 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.
- EntityTypedDataDefinitionTest::testEntityDefinitionIsInternal in core/tests/Drupal/KernelTests/Core/Entity/EntityTypedDataDefinitionTest.php
- Tests that an entity annotation can mark the data definition as internal.
- EntityUUIDTest::assertCRUD in core/tests/Drupal/KernelTests/Core/Entity/EntityUUIDTest.php
- Executes the UUID CRUD tests for the given entity type.
- EntityValidationTest::createTestEntity in core/tests/Drupal/KernelTests/Core/Entity/EntityValidationTest.php
- Creates a test entity.
- EntityViewBuilderTest::createTestEntity in core/tests/Drupal/KernelTests/Core/Entity/EntityViewBuilderTest.php
- Creates an entity for testing.
- EntityViewControllerTest::createTestEntity in core/modules/system/tests/src/Functional/Entity/EntityViewControllerTest.php
- Creates an entity for testing.
- EntityViewControllerTest::testFieldItemAttributes in core/modules/system/tests/src/Functional/Entity/EntityViewControllerTest.php
- Tests field item attributes.
- EntityViewHookTest::testHookEntityDisplayBuildAlter in core/tests/Drupal/KernelTests/Core/Entity/EntityViewHookTest.php
- Tests hook_entity_display_build_alter().
- ExcludedModulesEventSubscriberTest::testExcludedModules in core/tests/Drupal/KernelTests/Core/Config/ExcludedModulesEventSubscriberTest.php
- Tests excluding modules from the config export.
- ExposedFormCheckboxesTest::testExposedIsAllOfFilter in core/modules/views/tests/src/Functional/Plugin/ExposedFormCheckboxesTest.php
- Tests that "is all of" filters work with checkboxes.
- ExposedFormTest::testExposedSortAndItemsPerPage in core/modules/views/tests/src/Functional/Plugin/ExposedFormTest.php
- Tests exposed forms with exposed sort and items per page.
- ExposedFormTest::testResetButton in core/modules/views/tests/src/Functional/Plugin/ExposedFormTest.php
- Tests whether the reset button works on an exposed form.
- ExposedFormTest::testSubmitButton in core/modules/views/tests/src/Functional/Plugin/ExposedFormTest.php
- Tests the submit button.
- ExposedFormUITest::testExposedAdminUi in core/modules/views_ui/tests/src/Functional/ExposedFormUITest.php
- Tests the admin interface of exposed filter and sort items.
- FeedAdminDisplayTest::randomMachineName in core/modules/aggregator/tests/src/Functional/FeedAdminDisplayTest.php
- Generates a unique random string containing letters and numbers.
- FeedParserTest::testInvalidFeed in core/modules/aggregator/tests/src/Functional/FeedParserTest.php
- Tests error handling when an invalid feed is added.
- FeedParserTest::testRedirectFeed in core/modules/aggregator/tests/src/Functional/FeedParserTest.php
- Tests that a redirected feed is tracked to its target.
- FieldAccessTest::testFieldAccess in core/tests/Drupal/KernelTests/Core/Field/FieldAccessTest.php
- Tests hook_entity_field_access() and hook_entity_field_access_alter().
- FieldApiDataTest::testViewsData in core/modules/views/tests/src/Kernel/FieldApiDataTest.php
- Unit testing the views data structure.
- 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.
- FieldCustomTest::testFieldCustom in core/modules/views/tests/src/Kernel/Handler/FieldCustomTest.php
- Ensure that custom fields work and doesn't escape unnecessary markup.
- 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.
- FieldEntityLinkBaseTest::setUp in core/modules/views/tests/src/Functional/Handler/FieldEntityLinkBaseTest.php
- FieldEntityTest::testGetEntity in core/modules/views/tests/src/Functional/Entity/FieldEntityTest.php
- Tests the getEntity method.
- FieldFieldAccessTestBase::assertFieldAccess in core/modules/views/tests/src/Kernel/Handler/FieldFieldAccessTestBase.php
- Checks views field access for a given entity type and field name.
- FieldFieldAccessTestBase::setUp in core/modules/views/tests/src/Kernel/Handler/FieldFieldAccessTestBase.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::setUp in core/modules/field/tests/src/Kernel/FieldFormatterTest.php
- FieldGroupRowsWebTest::setUp in core/modules/views/tests/src/Functional/Handler/FieldGroupRowsWebTest.php
- FieldImportDeleteUninstallTest::testImportAlreadyDeletedUninstall in core/modules/field/tests/src/Kernel/FieldImportDeleteUninstallTest.php
- Tests purging already deleted field storages and fields during a 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/serialization/tests/src/Kernel/FieldItemSerializationTest.php
- FieldItemTest::setUp in core/tests/Drupal/KernelTests/Core/Field/FieldItemTest.php
- FieldKernelTest::testFieldTokens in core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php
- Tests the field tokens, row level and field level.
- FieldKernelTest::testRender in core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php
- Tests that the render function is called.
- FieldKernelTest::testRewrite in core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php
- Tests general rewriting of the output.
- FieldKernelTest::_testEmptyText in core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php
- Tests the usage of the empty text.
- FieldKernelTest::_testHideIfEmpty in core/modules/views/tests/src/Kernel/Handler/FieldKernelTest.php
- Tests the hide if empty functionality.
- FieldKernelTestBase::createFieldWithStorage in core/modules/field/tests/src/Kernel/FieldKernelTestBase.php
- Create a field and an associated field storage.
- FieldMissingTypeTest::setUp in core/tests/Drupal/KernelTests/Core/Field/FieldMissingTypeTest.php
- FieldOrLanguageJoinTest::testBase in core/modules/views/tests/src/Kernel/Plugin/FieldOrLanguageJoinTest.php
- Tests base join functionality.
- FieldRdfaDatatypeCallbackTest::setUp in core/modules/rdf/tests/src/Kernel/Field/FieldRdfaDatatypeCallbackTest.php
- Set the default field storage backend for fields created during tests.
- 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.
- FieldTranslationSqlStorageTest::testFieldSqlStorage in core/tests/Drupal/KernelTests/Core/Entity/FieldTranslationSqlStorageTest.php
- Tests field SQL storage.
- FieldUIDeleteTest::testDeleteField in core/modules/field_ui/tests/src/Functional/FieldUIDeleteTest.php
- Tests that deletion removes field storages and fields as expected.
- FieldUITest::testFieldLabel in core/modules/views_ui/tests/src/Functional/FieldUITest.php
- Tests the field labels.
- FieldWebTest::testAlterUrl in core/modules/views/tests/src/Functional/Handler/FieldWebTest.php
- Tests rewriting the output to a link.
- FieldWebTest::testFieldClasses in core/modules/views/tests/src/Functional/Handler/FieldWebTest.php
- Tests the field/label/wrapper classes.
- FieldWebTest::testTextRendering in core/modules/views/tests/src/Functional/Handler/FieldWebTest.php
- Tests trimming/read-more/ellipses.
- FileCopyTest::testDownloadRemoteUri in core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php
- Tests that remote URIs are delegated to the download plugin.
- FileCopyTest::testNonExistent in core/tests/Drupal/KernelTests/Core/File/FileCopyTest.php
- Copy a non-existent file.
- FileCopyTest::testNormal in core/tests/Drupal/KernelTests/Core/File/FileCopyTest.php
- Copy a normal file.
- FileDeleteRecursiveTest::testSingleFile in core/tests/Drupal/KernelTests/Core/File/FileDeleteRecursiveTest.php
- Delete a normal file.
- FileDeleteTest::testMissing in core/tests/Drupal/KernelTests/Core/File/FileDeleteTest.php
- Try deleting a missing file.
- FileFieldAttributesTest::setUp in core/modules/rdf/tests/src/Functional/FileFieldAttributesTest.php
- 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.
- FileModuleTest::testFileSaveUploadSingleErrorFormSize in core/modules/file/tests/src/Kernel/FileModuleTest.php
- Tests file size upload errors.
- FileMoveTest::testMissing in core/tests/Drupal/KernelTests/Core/File/FileMoveTest.php
- Try to move a missing file.
- FileMoveTest::testNormal in core/tests/Drupal/KernelTests/Core/File/FileMoveTest.php
- Move a normal file.
- FileMoveTest::testNormal in core/modules/image/tests/src/Functional/FileMoveTest.php
- Tests moving a randomly generated image.
- 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.
- FileSaveDataTest::testFileSaveData in core/tests/Drupal/KernelTests/Core/File/FileSaveDataTest.php
- Tests the file_unmanaged_save_data() function.
- FileStorageFactoryTest::testGetSync in core/tests/Drupal/KernelTests/Core/Config/FileStorageFactoryTest.php
- @covers ::getSync
- FileSystemRequirementsTest::testSettingsExist in core/tests/Drupal/KernelTests/Core/File/FileSystemRequirementsTest.php
- Tests if settings are set, there are not warnings.
- FileSystemTempDirectoryTest::testGetTempDirectorySettings in core/tests/Drupal/KernelTests/Core/File/FileSystemTempDirectoryTest.php
- Tests 'file_temp_path' setting.
- FileTestBase::createDirectory in core/tests/Drupal/KernelTests/Core/File/FileTestBase.php
- Create a directory and assert it exists.
- FileTestBase::createUri in core/tests/Drupal/KernelTests/Core/File/FileTestBase.php
- Create a file and return the URI of it.
- FileTokenReplaceTest::testFileTokenReplacement in core/modules/file/tests/src/Functional/FileTokenReplaceTest.php
- Creates a file, then tests the tokens generated from it.
- FileTransferAuthorizeFormTest::testViaAuthorize in core/modules/update/tests/src/Functional/FileTransferAuthorizeFormTest.php
- Tests the Update Manager module upload via authorize.php functionality.
- 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.
- FilterDateTest::setUp in core/modules/datetime/tests/src/Kernel/Views/FilterDateTest.php
- Create nodes with relative dates of yesterday, today, and tomorrow.
- FilterDateTest::setUp in core/modules/datetime_range/tests/src/Kernel/Views/FilterDateTest.php
- Create nodes with relative date range of:
yesterday - today, today - today, and today - tomorrow.
- FilterDateTimeTest::setUp in core/modules/datetime/tests/src/Kernel/Views/FilterDateTimeTest.php
- FilterDefaultFormatTest::testDefaultTextFormats in core/modules/filter/tests/src/Functional/FilterDefaultFormatTest.php
- Tests if the default text format is accessible to users.
- FilterFormatAccessTest::setUp in core/modules/filter/tests/src/Functional/FilterFormatAccessTest.php
- FilterFormatAccessTest::testFormatWidgetPermissions in core/modules/filter/tests/src/Functional/FilterFormatAccessTest.php
- Tests editing a page using a disallowed text format.
- FilterHooksTest::testFilterHooks in core/modules/filter/tests/src/Functional/FilterHooksTest.php
- Tests hooks on format management.
- FilterKernelTest::testLineBreakFilter in core/modules/filter/tests/src/Kernel/FilterKernelTest.php
- Tests the line break filter.
- FilterNoFormatTest::testCheckMarkupNoFormat in core/modules/filter/tests/src/Kernel/FilterNoFormatTest.php
- Tests text without format.
- FormCacheTest::setUp in core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php
- FormCacheTest::testCacheCustomExpiration in core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php
- Tests the form cache with an overridden cache expiration.
- FormCacheTest::testCacheToken in core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php
- Tests the form cache with a logged-in user.
- FormCacheTest::testNoCacheToken in core/tests/Drupal/KernelTests/Core/Form/FormCacheTest.php
- Tests the form cache without a logged-in user.
- FormElementsRenderTest::testDrupalRenderFormElements in core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php
- Tests rendering form elements without passing through
\Drupal::formBuilder()->doBuildForm().
- FormJSAddMoreTest::setUp in core/modules/field/tests/src/FunctionalJavascript/FormJSAddMoreTest.php
- FormTest::setUp in core/modules/field/tests/src/Functional/FormTest.php
- FormTest::testRequiredFields in core/modules/system/tests/src/Functional/Form/FormTest.php
- Check several empty values for required forms elements.
- ForumBlockTest::createForumTopics in core/modules/forum/tests/src/Functional/ForumBlockTest.php
- Creates a forum topic.
- ForumIndexTest::testForumIndexStatus in core/modules/forum/tests/src/Functional/ForumIndexTest.php
- Tests the forum index for published and unpublished nodes.
- ForumIntegrationTest::testForumIntegration in core/modules/forum/tests/src/Functional/Views/ForumIntegrationTest.php
- Tests the integration.
- ForumNodeAccessTest::testForumNodeAccess in core/modules/forum/tests/src/Functional/ForumNodeAccessTest.php
- Creates some users and creates a public node and a private node.
- ForumTest::createForum in core/modules/forum/tests/src/Functional/ForumTest.php
- Creates a forum container or a forum.
- ForumTest::createForumTopic in core/modules/forum/tests/src/Functional/ForumTest.php
- Creates a forum topic.
- ForumTest::editForumVocabulary in core/modules/forum/tests/src/Functional/ForumTest.php
- Edits the forum taxonomy.
- ForumTest::testAddOrphanTopic in core/modules/forum/tests/src/Functional/ForumTest.php
- Tests that forum nodes can't be added without a parent.
- ForumTest::testForum in core/modules/forum/tests/src/Functional/ForumTest.php
- Tests forum functionality through the admin and user interfaces.
- ForumTest::testForumWithNewPost in core/modules/forum/tests/src/Functional/ForumTest.php
- Tests a forum with a new post displays properly.
- ForumTest::verifyForums in core/modules/forum/tests/src/Functional/ForumTest.php
- Verifies that the logged in user has access to a forum node.
- ForumUninstallTest::testForumUninstallWithField in core/modules/forum/tests/src/Functional/ForumUninstallTest.php
- Tests if forum module uninstallation properly deletes the field.
- FrontPageTest::doTestFrontPageViewCacheTags in core/modules/node/tests/src/Functional/Views/FrontPageTest.php
- Tests the cache tags on the front page.
- FrontPageTest::testDrupalFrontPage in core/modules/system/tests/src/Functional/System/FrontPageTest.php
- Tests front page functionality.
- FrontPageTest::testFrontPage in core/modules/node/tests/src/Functional/Views/FrontPageTest.php
- Tests the frontpage.
- GarbageCollectionTest::testGarbageCollection in core/tests/Drupal/KernelTests/Core/KeyValueStore/GarbageCollectionTest.php
- Tests garbage collection.
- GenericCacheBackendUnitTestBase::setUp in core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php
- HalLinkManagerTest::providerTestGetRelationUri in core/modules/hal/tests/src/Kernel/HalLinkManagerTest.php
- HandlerFieldFieldTest::testFieldRender in core/modules/field/tests/src/Kernel/Views/HandlerFieldFieldTest.php
- Tests fields rendering in views.
- HandlerFieldRoleTest::testRole in core/modules/user/tests/src/Functional/Views/HandlerFieldRoleTest.php
- HandlerFieldUserNameTest::testNoAdditionalFields in core/modules/user/tests/src/Functional/Views/HandlerFieldUserNameTest.php
- Tests that the field handler works when no additional fields are added.
- HandlerFilterUserNameTest::testAdminUserInterface in core/modules/user/tests/src/Functional/Views/HandlerFilterUserNameTest.php
- Tests using the user interface.
- HandlerFilterUserNameTest::testExposedFilter in core/modules/user/tests/src/Functional/Views/HandlerFilterUserNameTest.php
- Tests exposed filters.
- HandlerTest::testBreakString in core/modules/views/tests/src/Functional/Handler/HandlerTest.php
- Tests the breakString method.
- HandlerTest::testPlaceholder in core/modules/views/tests/src/Functional/Handler/HandlerTest.php
- Tests the placeholder function.
- HandlerTest::testSetRelationship in core/modules/views/tests/src/Functional/Handler/HandlerTest.php
- Tests the relationship method on the base class.
- HandlerTest::testUICRUD in core/modules/views_ui/tests/src/Functional/HandlerTest.php
- Tests UI CRUD.
- HiddenTaxonomyTermReferenceFieldWizardTest::testHiddenTaxonomyTermReferenceField in core/modules/node/tests/src/Functional/Views/Wizard/HiddenTaxonomyTermReferenceFieldWizardTest.php
- Tests content type with a hidden Taxonomy Term Reference field.
- 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::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.
- ImageFieldAttributesTest::setUp in core/modules/rdf/tests/src/Functional/ImageFieldAttributesTest.php
- ImageFieldDefaultImagesTest::testDefaultImages in core/modules/image/tests/src/Functional/ImageFieldDefaultImagesTest.php
- Tests CRUD for fields and field storages with default images.
- ImageFieldDefaultImagesTest::testInvalidDefaultImage in core/modules/image/tests/src/Functional/ImageFieldDefaultImagesTest.php
- Tests image field and field storage having an invalid default image.
- ImageFieldDisplayTest::testImageFieldDefaultImage in core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php
- Tests use of a default image with an image field.
- ImageFieldDisplayTest::testImageFieldSettings in core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php
- Tests for image field settings.
- ImageFieldDisplayTest::_testImageFieldFormatters in core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php
- Tests image formatters on node display.
- ImageFieldTestBase::previewNodeImage in core/modules/image/tests/src/Functional/ImageFieldTestBase.php
- Preview an image in a node.
- ImageFieldTestBase::uploadNodeImage in core/modules/image/tests/src/Functional/ImageFieldTestBase.php
- Upload an image to a node.
- ImageFieldValidateTest::testAJAXValidationMessage in core/modules/image/tests/src/FunctionalJavascript/ImageFieldValidateTest.php
- Tests the validation message is displayed only once for ajax uploads.
- ImageFieldValidateTest::testRequiredAttributes in core/modules/image/tests/src/Functional/ImageFieldValidateTest.php
- Tests that required alt/title fields gets validated right.
- ImageFieldValidateTest::testResolution in core/modules/image/tests/src/Functional/ImageFieldValidateTest.php
- Tests min/max resolution settings.
- ImageFieldValidateTest::testValid in core/modules/image/tests/src/Functional/ImageFieldValidateTest.php
- Tests image validity.
- ImageFieldWidgetTest::testWidgetElement in core/modules/image/tests/src/Functional/ImageFieldWidgetTest.php
- Tests file widget element.
- ImageFormatterTest::setUp in core/modules/image/tests/src/Kernel/ImageFormatterTest.php
- Set the default field storage backend for fields created during tests.
- ImageFormatterTest::testImageFormatterCacheTags in core/modules/image/tests/src/Kernel/ImageFormatterTest.php
- Tests the cache tags from image formatters.
- ImageFormatterTest::testImageFormatterSvg in core/modules/image/tests/src/Kernel/ImageFormatterTest.php
- Tests ImageFormatter's handling of SVG images.
- ImageFormatterTest::testImageFormatterUrlOptions in core/modules/image/tests/src/Kernel/ImageFormatterTest.php
- Tests Image Formatter URL options handling.
- ImageItemTest::testImageItem in core/modules/image/tests/src/Kernel/ImageItemTest.php
- Tests using entity fields of the image field type.
- ImageOnTranslatedEntityTest::setUp in core/modules/image/tests/src/Functional/ImageOnTranslatedEntityTest.php
- 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.
- ImageTest::testThemeImageWithSizes in core/tests/Drupal/KernelTests/Core/Theme/ImageTest.php
- Tests that an image with the sizes attribute is output correctly.
- ImageTest::testThemeImageWithSrc in core/tests/Drupal/KernelTests/Core/Theme/ImageTest.php
- Tests that an image with the src attribute is output correctly.
- ImageTest::testThemeImageWithSrcsetMultiplier in core/tests/Drupal/KernelTests/Core/Theme/ImageTest.php
- Tests that an image with the srcset and multipliers is output correctly.
- ImageTest::testThemeImageWithSrcsetWidth in core/tests/Drupal/KernelTests/Core/Theme/ImageTest.php
- Tests that an image with the srcset and widths is output correctly.
- ImageThemeFunctionTest::testImageFormatterTheme in core/modules/image/tests/src/Kernel/ImageThemeFunctionTest.php
- Tests usage of the image field formatters.
- InstallerTestBase::setUp in core/tests/Drupal/FunctionalTests/Installer/InstallerTestBase.php
- IntegrationTest::testAggregatorItemView in core/modules/aggregator/tests/src/Kernel/Views/IntegrationTest.php
- Tests basic aggregator_item view.
- InternalTest::setUp in core/modules/ckeditor/tests/src/Kernel/Plugin/CKEditorPlugin/InternalTest.php
- ItemsPerPageTest::testItemsPerPage in core/modules/views/tests/src/Functional/Wizard/ItemsPerPageTest.php
- Tests the number of items per page.
- JoinTest::testBasePlugin in core/modules/views/tests/src/Kernel/Plugin/JoinTest.php
- Tests the join plugin base.
- JsonApiRegressionTest::testFilterByIdFromIssue3015759 in core/modules/jsonapi/tests/src/Functional/JsonApiRegressionTest.php
- Ensures that filtering by a sequential internal ID named 'id' is possible.
- KeyValueContentEntityStorageTest::testCRUD in core/tests/Drupal/KernelTests/Core/KeyValueStore/KeyValueContentEntityStorageTest.php
- Tests CRUD operations.
- LanguageListTest::testLanguageList in core/modules/language/tests/src/Functional/LanguageListTest.php
- Functional tests for adding, editing and deleting languages.
- LanguageSwitchingTest::testLanguageBlock in core/modules/language/tests/src/Functional/LanguageSwitchingTest.php
- Functional tests for the language switcher block.
- 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.
- LayoutBuilderTest::markCurrentPage in core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderTest.php
- Marks the page to assist determining if the page has been reloaded.
- LinkFieldTest::testLinkFormatter in core/modules/link/tests/src/Functional/LinkFieldTest.php
- Tests the default 'link' formatter.
- LinkFieldTest::testLinkSeparateFormatter in core/modules/link/tests/src/Functional/LinkFieldTest.php
- Tests the 'link_separate' formatter.
- LinkFieldTest::testLinkTitle in core/modules/link/tests/src/Functional/LinkFieldTest.php
- Tests the link title settings of a link field.
- LinkFieldTest::testLinkTypeOnLinkWidget in core/modules/link/tests/src/Functional/LinkFieldTest.php
- Tests '#link_type' property exists on 'link_default' widget.
- LinkFieldTest::testNoLinkUri in core/modules/link/tests/src/Functional/LinkFieldTest.php
- Tests <nolink> and <none> as link uri.
- LinkFieldTest::testURLValidation in core/modules/link/tests/src/Functional/LinkFieldTest.php
- Tests link field URL validation.
- 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.
- LinkItemTest::testLinkItem in core/modules/link/tests/src/Kernel/LinkItemTest.php
- Tests using entity fields of the link field type.
- 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
- 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
- Adds a language and checks that the JavaScript translation files are
properly created and rebuilt 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.
- MailCaptureTest::testMailSend in core/tests/Drupal/FunctionalTests/MailCaptureTest.php
- Tests to see if the wrapper function is executed correctly.
- ManageDisplayTest::setUp in core/modules/field_ui/tests/src/Functional/ManageDisplayTest.php
- ManageDisplayTest::setUp in core/modules/field_ui/tests/src/FunctionalJavascript/ManageDisplayTest.php
- ManageFieldsFunctionalTest::setUp in core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php
- ManageFieldsFunctionalTest::testDeleteField in core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php
- Tests that deletion removes field storages and fields as expected.
- ManageFieldsFunctionalTest::testDuplicateFieldName in core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php
- Tests that a duplicate field name is caught by validation.
- ManageFieldsFunctionalTest::testFieldPrefix in core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php
- Tests that the 'field_prefix' setting works on Field UI.
- ManageFieldsFunctionalTest::testLockedField in core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php
- Tests that Field UI respects locked fields.
- 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
- 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'.
- 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.
- MenuLinksTest::testMenuLinkContentReparenting in core/modules/menu_link_content/tests/src/Kernel/MenuLinksTest.php
- Tests the MenuLinkContent::preDelete function.
- MenuLinksTest::testPendingRevisions in core/modules/menu_link_content/tests/src/Kernel/MenuLinksTest.php
- Tests handling of pending revisions.
- MenuRouterTest::doTestHookMenuIntegration in core/modules/system/tests/src/Functional/Menu/MenuRouterTest.php
- Tests local tasks with route placeholders.
- MenuStorageTest::testMaxIdLengthException in core/modules/system/tests/src/Kernel/Menu/MenuStorageTest.php
- Tests MenuStorage::MAX_ID_LENGTH is enforced.
- MenuTest::testMenus in core/modules/views/tests/src/Functional/Wizard/MenuTest.php
- Tests the menu functionality.
- MenuUiJavascriptTest::addCustomMenu in core/modules/menu_ui/tests/src/FunctionalJavascript/MenuUiJavascriptTest.php
- Creates a custom menu.
- MenuUiJavascriptTest::addMenuLink in core/modules/menu_ui/tests/src/FunctionalJavascript/MenuUiJavascriptTest.php
- Adds a menu link using the UI.
- 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.
- MenuUiNodeTest::testMultilingualMenuNodeFormWidget in core/modules/menu_ui/tests/src/Functional/MenuUiNodeTest.php
- Testing correct loading and saving of menu links via node form widget in a multilingual environment.
- MenuUiTest::addCustomMenu in core/modules/menu_ui/tests/src/Functional/MenuUiTest.php
- Creates a custom menu.
- MenuUiTest::addCustomMenuCRUD in core/modules/menu_ui/tests/src/Functional/MenuUiTest.php
- Adds a custom menu using CRUD functions.
- MenuUiTest::addMenuLink in core/modules/menu_ui/tests/src/Functional/MenuUiTest.php
- Adds a menu link using the UI.
- MenuUiTest::modifyMenuLink in core/modules/menu_ui/tests/src/Functional/MenuUiTest.php
- Modifies a menu link using the UI.
- MenuUiTest::testSystemMenuRename in core/modules/menu_ui/tests/src/Functional/MenuUiTest.php
- Tests renaming the built-in menu.
- MigrateSourceTestBase::setUp in core/modules/migrate/tests/src/Kernel/MigrateSourceTestBase.php
- ModerationFormTest::testModerationFormSetsRevisionAuthor in core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php
- Tests the revision author is updated when the moderation form is used.
- 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.
- MultiStepNodeFormBasicOptionsTest::testMultiStepNodeFormBasicOptions in core/modules/node/tests/src/Functional/MultiStepNodeFormBasicOptionsTest.php
- Tests changing the default values of basic options to ensure they persist.
- NameMungingTest::setUp in core/tests/Drupal/KernelTests/Core/File/NameMungingTest.php
- NameMungingTest::testMungeNullByte in core/tests/Drupal/KernelTests/Core/File/NameMungingTest.php
- Tests munging with a null byte in the filename.
- NameMungingTest::testMungeUnsafe in core/tests/Drupal/KernelTests/Core/File/NameMungingTest.php
- Tests unsafe extensions are always munged by file_munge_filename().
- NestedFormTest::setUp in core/modules/field/tests/src/Functional/NestedFormTest.php
- NewDefaultThemeBlocksTest::testNewDefaultThemeBlocks in core/modules/block/tests/src/Kernel/NewDefaultThemeBlocksTest.php
- Check the enabled Bartik blocks are correctly copied over.
- NewViewConfigSchemaTest::testNewViews in core/modules/views_ui/tests/src/Functional/NewViewConfigSchemaTest.php
- Tests creating brand new views.
- NidArgumentTest::testNidArgument in core/modules/node/tests/src/Kernel/Views/NidArgumentTest.php
- Tests the nid argument.
- NodeAccessFieldTest::setUp in core/modules/node/tests/src/Functional/NodeAccessFieldTest.php
- NodeAccessFieldTest::testNodeAccessAdministerField in core/modules/node/tests/src/Functional/NodeAccessFieldTest.php
- Tests administering fields when node access is restricted.
- NodeAccessPagerTest::testCommentPager in core/modules/node/tests/src/Functional/NodeAccessPagerTest.php
- Tests the comment pager for nodes with multiple grants per realm.
- NodeActionsConfigurationTest::testAssignOwnerNodeActionConfiguration in core/modules/node/tests/src/Functional/NodeActionsConfigurationTest.php
- Tests configuration of the node_assign_owner_action action.
- NodeAdminTest::testContentAdminSort in core/modules/node/tests/src/Functional/NodeAdminTest.php
- Tests that the table sorting works on the content admin pages.
- NodeAttributesTest::testNodeAttributes in core/modules/rdf/tests/src/Functional/NodeAttributesTest.php
- Creates a node of type article and tests its RDFa markup.
- NodeBlockFunctionalTest::testRecentNodeBlock in core/modules/node/tests/src/Functional/NodeBlockFunctionalTest.php
- Tests the recent comments block.
- NodeConditionTest::testConditions in core/modules/node/tests/src/Kernel/NodeConditionTest.php
- Tests conditions.
- NodeConditionTest::testLegacy in core/modules/node/tests/src/Kernel/NodeConditionTest.php
- @group legacy
- NodeCreationTest::testAuthoredDate in core/modules/node/tests/src/Functional/NodeCreationTest.php
- Creates nodes with different authored dates.
- NodeCreationTest::testNodeCreation in core/modules/node/tests/src/Functional/NodeCreationTest.php
- Creates a "Basic page" node and verifies its consistency in the database.
- NodeCreationTest::testUnpublishedNodeCreation in core/modules/node/tests/src/Functional/NodeCreationTest.php
- Creates an unpublished node and confirms correct redirect behavior.
- NodeDisplayConfigurableTest::testDisplayConfigurable in core/modules/node/tests/src/Functional/NodeDisplayConfigurableTest.php
- Sets base fields to configurable display and check settings are respected.
- NodeEditFormTest::testNodeEdit in core/modules/node/tests/src/Functional/NodeEditFormTest.php
- Checks node edit functionality.
- NodeEditFormTest::testNodeEditAuthoredBy in core/modules/node/tests/src/Functional/NodeEditFormTest.php
- Tests changing a node's "authored by" field.
- NodeEditFormTest::testNodeMetaInformation in core/modules/node/tests/src/Functional/NodeEditFormTest.php
- Tests the node meta information.
- NodeEntityViewModeAlterTest::testNodeViewModeChange in core/modules/node/tests/src/Functional/NodeEntityViewModeAlterTest.php
- Create a "Basic page" node and verify its consistency in the database.
- NodeFieldAccessTest::testAccessToAdministrativeFields in core/modules/node/tests/src/Kernel/NodeFieldAccessTest.php
- Tests permissions on nodes status field.
- NodeFieldMultilingualTest::testMultilingualDisplaySettings in core/modules/node/tests/src/Functional/NodeFieldMultilingualTest.php
- Tests multilingual field display settings.
- NodeFieldMultilingualTest::testMultilingualNodeForm in core/modules/node/tests/src/Functional/NodeFieldMultilingualTest.php
- Tests whether field languages are correctly set through the node form.
- NodeFieldTokensTest::testViewsTokenReplacement in core/modules/node/tests/src/Functional/Views/NodeFieldTokensTest.php
- Tests token replacement for Views tokens supplied by the Node module.
- NodeIntegrationTest::testNodeViewTypeArgument in core/modules/node/tests/src/Functional/Views/NodeIntegrationTest.php
- Tests basic node view with a node type argument.
- NodeLanguageTest::setUp in core/modules/node/tests/src/Functional/Views/NodeLanguageTest.php
- NodeOwnerTest::testOwner in core/modules/node/tests/src/Kernel/NodeOwnerTest.php
- Tests node owner functionality.
- NodeOwnerTest::testUnsavedNodeOwner in core/modules/node/tests/src/Kernel/NodeOwnerTest.php
- Tests an unsaved node owner.
- NodePostSettingsTest::testPagePostInfo in core/modules/node/tests/src/Functional/NodePostSettingsTest.php
- Confirms "Basic page" content type and post information is on a new node.
- NodePreviewAnonymousTest::testAnonymousPagePreview in core/modules/node/tests/src/Functional/NodePreviewAnonymousTest.php
- Checks the node preview functionality for anonymous users.
- NodeRevisionPermissionsTest::setUp in core/modules/node/tests/src/Functional/NodeRevisionPermissionsTest.php
- NodeRevisionsAllTest::createNodeRevision in core/modules/node/tests/src/Functional/NodeRevisionsAllTest.php
- Creates a new revision for a given node.
- NodeRevisionsAllTest::setUp in core/modules/node/tests/src/Functional/NodeRevisionsAllTest.php
- NodeRevisionsAllTest::testRevisions in core/modules/node/tests/src/Functional/NodeRevisionsAllTest.php
- Checks node revision operations.
- NodeRevisionsTest::setUp in core/modules/node/tests/src/Functional/NodeRevisionsTest.php
- NodeRevisionsTest::testNodeRevisionWithoutLogMessage in core/modules/node/tests/src/Functional/NodeRevisionsTest.php
- Checks that revisions are correctly saved without log messages.
- NodeRevisionsTest::testRevisions in core/modules/node/tests/src/Functional/NodeRevisionsTest.php
- Checks node revision related operations.
- NodeRevisionsUiTest::testNodeRevisionDoubleEscapeFix in core/modules/node/tests/src/Functional/NodeRevisionsUiTest.php
- Checks HTML double escaping of revision logs.
- NodeRevisionWizardTest::testViewAdd in core/modules/node/tests/src/Functional/Views/Wizard/NodeRevisionWizardTest.php
- Tests creating a node revision view.
- NodeSaveTest::testImport in core/modules/node/tests/src/Functional/NodeSaveTest.php
- Checks whether custom node IDs are saved properly during an import operation.
- NodeSaveTest::testTimestamps in core/modules/node/tests/src/Functional/NodeSaveTest.php
- Verifies accuracy of the "created" and "changed" timestamp functionality.
- NodeTitleTest::testNodeTitle in core/modules/node/tests/src/Functional/NodeTitleTest.php
- Creates one node and tests if the node title has the correct value.
- NodeTitleXSSTest::testNodeTitleXSS in core/modules/node/tests/src/Functional/NodeTitleXSSTest.php
- Tests XSS functionality with a node entity.
- NodeTranslationUITest::getNewEntityValues in core/modules/node/tests/src/Functional/NodeTranslationUITest.php
- Returns an array of entity field values to be tested.
- NodeTranslationUITest::testDisabledBundle in core/modules/node/tests/src/Functional/NodeTranslationUITest.php
- Tests that no metadata is stored for a disabled bundle.
- NodeTranslationUITest::testPublishedStatusNoFields in core/modules/node/tests/src/Functional/NodeTranslationUITest.php
- Tests changing the published status on a node without fields.
- NodeTypeInitialLanguageTest::testLanguageFieldVisibility in core/modules/node/tests/src/Functional/NodeTypeInitialLanguageTest.php
- Tests language field visibility features.
- 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.
- NodeViewBuilderTest::testPendingRevisionLinks in core/modules/node/tests/src/Kernel/NodeViewBuilderTest.php
- Tests that node links are displayed correctly in pending revisions.
- NodeWizardTest::testViewAddWithNodeTitles in core/modules/views/tests/src/Functional/Wizard/NodeWizardTest.php
- Tests creating a view with node titles.
- NormalizeTest::testNormalize in core/modules/hal/tests/src/Kernel/NormalizeTest.php
- Tests the normalize function.
- 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.
- OptionsDynamicValuesTestBase::setUp in core/modules/options/tests/src/Functional/OptionsDynamicValuesTestBase.php
- OptionsFieldUITest::setUp in core/modules/options/tests/src/Functional/OptionsFieldUITest.php
- OptionsFieldUITest::testNodeDisplay in core/modules/options/tests/src/Functional/OptionsFieldUITest.php
- Tests normal and key formatter display on node display.
- OptionsFieldUITest::testOptionsAllowedValuesText in core/modules/options/tests/src/Functional/OptionsFieldUITest.php
- Options (text) : test 'allowed values' input.
- OptionsTestBase::mockStandardInstall in core/modules/options/tests/src/Kernel/Views/OptionsTestBase.php
- Provides a workaround for the inability to use the standard profile.
- OptionsWidgetsTest::testCheckBoxes in core/modules/options/tests/src/Functional/OptionsWidgetsTest.php
- Tests the 'options_buttons' widget (multiple select).
- OptionsWidgetsTest::testEmptyValue in core/modules/options/tests/src/Functional/OptionsWidgetsTest.php
- Tests the 'options_select' and 'options_button' widget for empty value.
- OptionsWidgetsTest::testRadioButtons in core/modules/options/tests/src/Functional/OptionsWidgetsTest.php
- Tests the 'options_buttons' widget (single select).
- OptionsWidgetsTest::testSelectListFloat in core/modules/options/tests/src/Functional/OptionsWidgetsTest.php
- Tests the 'options_select' widget (float values).
- OptionsWidgetsTest::testSelectListMultiple in core/modules/options/tests/src/Functional/OptionsWidgetsTest.php
- Tests the 'options_select' widget (multiple select).
- OptionsWidgetsTest::testSelectListSingle in core/modules/options/tests/src/Functional/OptionsWidgetsTest.php
- Tests the 'options_select' widget (single select).
- OverrideDisplaysTest::testOverrideDisplays in core/modules/views_ui/tests/src/Functional/OverrideDisplaysTest.php
- Tests that displays can be overridden via the UI.
- OverrideDisplaysTest::testRevertAllDisplays in core/modules/views_ui/tests/src/Functional/OverrideDisplaysTest.php
- Tests that the revert to all displays select-option works as expected.
- OverrideDisplaysTest::testWizardMixedDefaultOverriddenDisplays in core/modules/views_ui/tests/src/Functional/OverrideDisplaysTest.php
- Tests that the wizard correctly sets up default and overridden displays.
- PageCacheTest::testPageCacheAnonymous403404 in core/modules/page_cache/tests/src/Functional/PageCacheTest.php
- Tests the 4xx-response cache tag is added and invalidated.
- PageEditTest::testPageEdit in core/modules/block_content/tests/src/Functional/PageEditTest.php
- Checks block edit functionality.
- PageNotFoundTest::testPageNotFound in core/modules/system/tests/src/Functional/System/PageNotFoundTest.php
- PagePreviewTest::setUp in core/modules/node/tests/src/Functional/PagePreviewTest.php
- PagePreviewTest::testPagePreview in core/modules/node/tests/src/Functional/PagePreviewTest.php
- Checks the node preview functionality.
- PagePreviewTest::testPagePreviewCache in core/modules/node/tests/src/Functional/PagePreviewTest.php
- Tests node preview with dynamic_page_cache and anonymous users.
- PagePreviewTest::testPagePreviewWithRevisions in core/modules/node/tests/src/Functional/PagePreviewTest.php
- Checks the node preview functionality, when using revisions.
- PagerTest::createViewAtPath in core/modules/views/tests/src/Functional/Wizard/PagerTest.php
- Create a simple View of nodes at a given path.
- PageTitleTest::testTitleTags in core/modules/system/tests/src/Functional/System/PageTitleTest.php
- Tests the handling of HTML in node titles.
- PathAdminTest::testPathFiltering in core/modules/path/tests/src/Functional/PathAdminTest.php
- Tests the filtering aspect of the Path UI.
- PathAliasTest::testAdminAlias in core/modules/path/tests/src/Functional/PathAliasTest.php
- Tests alias functionality through the admin interfaces.
- PathAliasTest::testDuplicateNodeAlias in core/modules/path/tests/src/Functional/PathAliasTest.php
- Tests that duplicate aliases fail validation.
- PathAliasTest::testNodeAlias in core/modules/path/tests/src/Functional/PathAliasTest.php
- Tests alias functionality through the node interfaces.
- PathAliasTest::testPathCache in core/modules/path/tests/src/Functional/PathAliasTest.php
- Tests the path cache.
- PathContentModerationTest::testTranslatedModeratedNodeAlias in core/modules/path/tests/src/Functional/PathContentModerationTest.php
- Tests that translated and moderated node can get new draft revision.
- PathEncodedTest::testAliasToEncoded in core/tests/Drupal/FunctionalTests/Routing/PathEncodedTest.php
- PathHooksTest::testPathHooks in core/modules/path_alias/tests/src/Kernel/PathHooksTest.php
- Tests that the PathAlias entity clears caches correctly.
- PathLanguageTest::testAliasTranslation in core/modules/path/tests/src/Functional/PathLanguageTest.php
- Tests alias functionality through the admin interfaces.
- PathLanguageUiTest::testDefaultLanguageUrl in core/modules/path/tests/src/Functional/PathLanguageUiTest.php
- Tests that a default language URL alias works.
- PathLanguageUiTest::testLanguageNeutralUrl in core/modules/path/tests/src/Functional/PathLanguageUiTest.php
- Tests that a language-neutral URL alias works.
- PathLanguageUiTest::testNonDefaultUrl in core/modules/path/tests/src/Functional/PathLanguageUiTest.php
- Tests that a non-default language URL alias works.
- PathPluginTest::setUp in core/modules/node/tests/src/Functional/Views/PathPluginTest.php
- PathTaxonomyTermTest::testTermAlias in core/modules/path/tests/src/Functional/PathTaxonomyTermTest.php
- Tests alias functionality through the admin interfaces.
- PathWorkspacesTest::testPathAliases in core/modules/workspaces/tests/src/Functional/PathWorkspacesTest.php
- Tests path aliases with workspaces.
- PathWorkspacesTest::testPathAliasesUserSwitch in core/modules/workspaces/tests/src/Functional/PathWorkspacesTest.php
- Tests path aliases with workspaces and user switching.
- PathWorkspacesTest::testPathAliasesWithTranslation in core/modules/workspaces/tests/src/Functional/PathWorkspacesTest.php
- Tests path aliases with workspaces for translatable nodes.
- PreviewTest::testPreviewUI in core/modules/views_ui/tests/src/Functional/PreviewTest.php
- Tests arguments in the preview form.
- 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.
- QueryBatchTest::setUp in core/modules/migrate/tests/src/Kernel/QueryBatchTest.php
- QueryTest::testQueryUI in core/modules/views_ui/tests/src/Functional/QueryTest.php
- Tests query plugins settings.
- QueueTest::runQueueTest in core/tests/Drupal/KernelTests/Core/Queue/QueueTest.php
- Queues and dequeues a set of items to check the basic queue functionality.
- QueueTest::testMemoryQueue in core/tests/Drupal/KernelTests/Core/Queue/QueueTest.php
- Tests the Memory queue.
- QueueTest::testSystemQueue in core/tests/Drupal/KernelTests/Core/Queue/QueueTest.php
- Tests the System queue.
- QuickEditAutocompleteTermTest::createTerm in core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditAutocompleteTermTest.php
- Returns a new term with random name and description in $this->vocabulary.
- QuickEditAutocompleteTermTest::testAutocompleteQuickEdit in core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditAutocompleteTermTest.php
- Tests Quick Edit autocomplete term behavior.
- QuickEditImageControllerTest::setUp in core/modules/quickedit/tests/src/Functional/QuickEditImageControllerTest.php
- QuickEditImageTest::testImageInPlaceEditor in core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditImageTest.php
- Tests that quick editor works correctly with images.
- QuickEditLoadingTest::testContentBlock in core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditLoadingTest.php
- Tests that Quick Edit's data- attributes are present for content blocks.
- RawStringFormatterTest::setUp in core/modules/field/tests/src/Kernel/String/RawStringFormatterTest.php
- ReadOnlyStreamWrapperTest::testReadOnlyBehavior in core/tests/Drupal/KernelTests/Core/File/ReadOnlyStreamWrapperTest.php
- Tests read-only specific behavior.
- RedirectTest::testRedirect in core/modules/views_ui/tests/src/Functional/RedirectTest.php
- Tests the redirecting.
- RedirectTest::testRedirect in core/modules/system/tests/src/Functional/Form/RedirectTest.php
- Tests form redirection.
- ReEnableModuleFieldTest::testReEnabledField in core/modules/field/tests/src/Functional/ReEnableModuleFieldTest.php
- Tests the behavior of a field module after being disabled and re-enabled.
- RegistrationWithUserFieldsTest::testRegistrationWithUserFields in core/modules/user/tests/src/FunctionalJavascript/RegistrationWithUserFieldsTest.php
- Tests Field API fields on user registration forms.
- RelationshipJoinTestBase::setUpFixtures in core/modules/views/tests/src/Kernel/Plugin/RelationshipJoinTestBase.php
- Sets up the configuration and schema of views and views_test_data modules.
- RelationshipNormalizerTest::setUp in core/modules/jsonapi/tests/src/Kernel/Normalizer/RelationshipNormalizerTest.php
- RenderCacheIntegrationTest::assertCacheTagsForFieldBasedView in core/modules/views/tests/src/Kernel/RenderCacheIntegrationTest.php
- Tests cache tags on output & result cache items for a field-based view.
- 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::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/src/FunctionalJavascript/ResponsiveImageFieldUiTest.php
- RetrieveFileTest::testFileRetrieving in core/modules/system/tests/src/Functional/System/RetrieveFileTest.php
- Invokes system_retrieve_file() in several scenarios.
- RevisionRelationshipsTest::testBlockContentRevisionRelationship in core/modules/block_content/tests/src/Kernel/Views/RevisionRelationshipsTest.php
- Create a block_content with revision and rest result count for both views.
- RouteProviderTest::testRouteByName in core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
- Tests RouteProvider::getRouteByName() & RouteProvider::getRoutesByNames().
- RouterTest::testControllerPlaceholders in core/modules/system/tests/src/Functional/Routing/RouterTest.php
- Confirms that placeholders in paths work correctly.
- RowEntityRenderersTest::setUp in core/modules/views/tests/src/Kernel/Entity/RowEntityRenderersTest.php
- RowEntityTest::testEntityRow in core/modules/views/tests/src/Kernel/Plugin/RowEntityTest.php
- Tests the entity row handler.
- RowPluginTest::setUp in core/modules/node/tests/src/Functional/Views/RowPluginTest.php
- RowRenderCacheTest::testAdvancedCaching in core/modules/views/tests/src/Kernel/Plugin/RowRenderCacheTest.php
- Tests complex field rewriting and uncacheable field handlers.
- RowUITest::testRowUI in core/modules/views_ui/tests/src/Functional/RowUITest.php
- Tests changing the row plugin and changing some options of a row.
- RssTest::testTaxonomyRss in core/modules/taxonomy/tests/src/Functional/RssTest.php
- Tests that terms added to nodes are displayed in core RSS feed.
- SaveDataTest::testExistingError in core/modules/file/tests/src/Kernel/SaveDataTest.php
- Tests that file_save_data() fails overwriting an existing file.
- SaveDataTest::testExistingRename in core/modules/file/tests/src/Kernel/SaveDataTest.php
- Tests file_save_data() when renaming around an existing file.
- SaveDataTest::testExistingReplace in core/modules/file/tests/src/Kernel/SaveDataTest.php
- Tests file_save_data() when replacing an existing file.
- SaveDataTest::testWithFilename in core/modules/file/tests/src/Kernel/SaveDataTest.php
- Tests the file_save_data() function when a filename is provided.
- SaveDataTest::testWithoutFilename in core/modules/file/tests/src/Kernel/SaveDataTest.php
- Tests the file_save_data() function when no filename is provided.
- 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.
- SearchCommentCountToggleTest::setUp in core/modules/search/tests/src/Functional/SearchCommentCountToggleTest.php
- SearchConfigSettingsFormTest::testMultipleSearchPages in core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php
- Tests multiple search pages of the same type.
- SearchConfigSettingsFormTest::testSearchSettingsPage in core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php
- Verifies the search settings form.
- SearchDateIntervalTest::setUp in core/modules/search/tests/src/Functional/SearchDateIntervalTest.php
- SearchKeywordsConditionsTest::testSearchKeywordsConditions in core/modules/search/tests/src/Functional/SearchKeywordsConditionsTest.php
- Verify the keywords are captured and conditions respected.
- SearchLanguageTest::setUp in core/modules/search/tests/src/Functional/SearchLanguageTest.php
- SearchMultilingualEntityTest::setUp in core/modules/search/tests/src/Functional/SearchMultilingualEntityTest.php
- SearchPageOverrideTest::testSearchPageHook in core/modules/search/tests/src/Functional/SearchPageOverrideTest.php
- SearchPageTextTest::testSearchText in core/modules/search/tests/src/Functional/SearchPageTextTest.php
- Tests the failed search text, and various other text on the search page.
- SelectComplexTest::testJoinSubquery in core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php
- Tests that we can join on a query.
- SelectionTest::setUp in core/modules/field/tests/src/Kernel/EntityReference/Views/SelectionTest.php
- SeparatorTranslationTest::setUp in core/modules/datetime_range/tests/src/Kernel/SeparatorTranslationTest.php
- SessionTest::testDataPersistence in core/modules/system/tests/src/Functional/Session/SessionTest.php
- Tests data persistence via the session_test module callbacks.
- SettingsTest::testEditUI in core/modules/views_ui/tests/src/Functional/SettingsTest.php
- Tests the settings for the edit ui.
- ShapeItemTest::testShapeItem in core/modules/field/tests/src/Kernel/ShapeItemTest.php
- Tests using entity fields of the field field type.
- ShortcutLinksTest::testShortcutLinkAdd in core/modules/shortcut/tests/src/Functional/ShortcutLinksTest.php
- Tests that creating a shortcut works properly.
- ShortcutLinksTest::testShortcutLinkRename in core/modules/shortcut/tests/src/Functional/ShortcutLinksTest.php
- Tests that shortcut links can be renamed.
- ShortcutSetsTest::testShortcutSetAdd in core/modules/shortcut/tests/src/Functional/ShortcutSetsTest.php
- Tests creating a shortcut set.
- ShortcutSetsTest::testShortcutSetAssign in core/modules/shortcut/tests/src/Functional/ShortcutSetsTest.php
- Tests switching another user's shortcut set.
- ShortcutSetsTest::testShortcutSetCreateWithSetName in core/modules/shortcut/tests/src/Functional/ShortcutSetsTest.php
- Tests creating a new shortcut set with a defined set name.
- ShortcutSetsTest::testShortcutSetDelete in core/modules/shortcut/tests/src/Functional/ShortcutSetsTest.php
- Tests deleting a shortcut set.
- ShortcutSetsTest::testShortcutSetRename in core/modules/shortcut/tests/src/Functional/ShortcutSetsTest.php
- Tests renaming a shortcut set.
- 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.
- ShortcutSetsTest::testShortcutSetSwitchOwn in core/modules/shortcut/tests/src/Functional/ShortcutSetsTest.php
- Tests switching a user's own shortcut set.
- ShortcutSetsTest::testShortcutSetUnassign in core/modules/shortcut/tests/src/Functional/ShortcutSetsTest.php
- Tests unassigning a shortcut set.
- ShortcutTestBase::generateShortcutSet in core/modules/shortcut/tests/src/Functional/ShortcutTestBase.php
- Creates a generic shortcut set.
- ShortcutTranslationUITest::getNewEntityValues in core/modules/shortcut/tests/src/Functional/ShortcutTranslationUITest.php
- Returns an array of entity field values to be tested.
- ShutdownFunctionsTest::testShutdownFunctions in core/modules/system/tests/src/Functional/System/ShutdownFunctionsTest.php
- Tests shutdown functions.
- SiteNameTest::installParameters in core/tests/Drupal/FunctionalTests/Installer/SiteNameTest.php
- Returns the parameters that will be used when Simpletest installs Drupal.
- SortDateTimeTest::setUp in core/modules/datetime/tests/src/Kernel/Views/SortDateTimeTest.php
- SortingTest::testSorting in core/modules/views/tests/src/Functional/Wizard/SortingTest.php
- Tests the sorting functionality.
- 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
- StandardProfileTest::saveComment in core/modules/rdf/tests/src/Functional/StandardProfileTest.php
- Creates a comment entity.
- StandardProfileTest::setUp in core/modules/rdf/tests/src/Functional/StandardProfileTest.php
- StatisticsLoggingTest::setUp in core/modules/statistics/tests/src/Functional/StatisticsLoggingTest.php
- StorageTest::testDetails in core/modules/views_ui/tests/src/Functional/StorageTest.php
- Tests changing label, description and tag.
- StorageTestBase::testSetIfNotExists in core/tests/Drupal/KernelTests/Core/KeyValueStore/StorageTestBase.php
- Tests the setIfNotExists() method.
- 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.
- StyleOpmlTest::testOpmlOutput in core/modules/views/tests/src/Functional/Plugin/StyleOpmlTest.php
- Tests the rendered output.
- StyleSerializerTest::testFieldapiField in core/modules/rest/tests/src/Functional/Views/StyleSerializerTest.php
- Tests the field row style using fieldapi fields.
- StyleSerializerTest::testGroupRows in core/modules/rest/tests/src/Functional/Views/StyleSerializerTest.php
- Tests the "Grouped rows" functionality.
- StyleSerializerTest::testUIFieldAlias in core/modules/rest/tests/src/Functional/Views/StyleSerializerTest.php
- Tests the field ID alias functionality of the DataFieldRow plugin.
- StyleTableTest::testWizard in core/modules/views_ui/tests/src/Functional/StyleTableTest.php
- Tests created a table style view.
- StyleTableUnitTest::testTable in core/modules/views/tests/src/Kernel/Plugin/StyleTableUnitTest.php
- Tests the table style.
- StyleTest::doTestGrouping in core/modules/views/tests/src/Kernel/Plugin/StyleTest.php
- Provides reusable code for ::testGrouping().
- StyleTest::testCustomRowClasses in core/modules/views/tests/src/Kernel/Plugin/StyleTest.php
- Tests custom CSS row classes.
- StyleTest::testStyle in core/modules/views/tests/src/Kernel/Plugin/StyleTest.php
- Tests the general rendering of styles.
- StyleUITest::testStyleUI in core/modules/views_ui/tests/src/Functional/StyleUITest.php
- Tests changing the style plugin and changing some options of a style.
- SystemAuthorizeTest::testFileTransferHooks in core/modules/system/tests/src/Functional/System/SystemAuthorizeTest.php
- Tests the FileTransfer hooks.
- SystemMenuBlockTest::setUp in core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php
- TaggedWithTest::testTaggedWith in core/modules/views/tests/src/Functional/Wizard/TaggedWithTest.php
- Tests the "tagged with" functionality.
- TagTest::testViewsUiAutocompleteTag in core/modules/views_ui/tests/src/Kernel/TagTest.php
- Tests the ViewsUIController::autocompleteTag() function.
- TaxonomyFieldFilterTest::createTermWithProperties in core/modules/taxonomy/tests/src/Functional/Views/TaxonomyFieldFilterTest.php
- Creates a taxonomy term with specified name and other properties.
- TaxonomyImageTest::testTaxonomyImageAccess in core/modules/taxonomy/tests/src/Functional/TaxonomyImageTest.php
- TaxonomyTermViewTest::setUp in core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTermViewTest.php
- TaxonomyTermViewTest::testTaxonomyTermView in core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTermViewTest.php
- Tests that the taxonomy term view is working properly.
- TaxonomyTestBase::createTerm in core/modules/taxonomy/tests/src/Functional/Views/TaxonomyTestBase.php
- Creates and returns a taxonomy term.
- TaxonomyTestBase::createTerm in core/modules/taxonomy/tests/src/Kernel/Views/TaxonomyTestBase.php
- Creates and returns a taxonomy term.
- 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.
- TempStoreDatabaseTest::testSharedTempStore in core/tests/Drupal/KernelTests/Core/TempStore/TempStoreDatabaseTest.php
- Tests the SharedTempStore API.
- TermAutocompleteTest::setUp in core/modules/taxonomy/tests/src/Functional/TermAutocompleteTest.php
- TermHierarchyValidationTest::testTermHierarchyValidation in core/modules/taxonomy/tests/src/Kernel/TermHierarchyValidationTest.php
- Tests the term hierarchy validation with re-parenting in pending revisions.
- TermIndexTest::setUp in core/modules/taxonomy/tests/src/Functional/TermIndexTest.php
- TermIndexTest::testTaxonomyIndex in core/modules/taxonomy/tests/src/Functional/TermIndexTest.php
- Tests that the taxonomy index is maintained properly.
- TermLanguageTest::testTermLanguage in core/modules/taxonomy/tests/src/Functional/TermLanguageTest.php
- TermLanguageTest::testTermTranslatedOnOverviewPage in core/modules/taxonomy/tests/src/Functional/TermLanguageTest.php
- Tests that translated terms are displayed correctly on the term overview.
- TermNameFieldTest::testTermNameField in core/modules/taxonomy/tests/src/Functional/Views/TermNameFieldTest.php
- Tests term name field plugin functionality.
- TermTest::testNodeTermCreationAndDeletion in core/modules/taxonomy/tests/src/Functional/TermTest.php
- Tests term creation with a free-tagging vocabulary from the node form.
- TermTest::testReSavingTags in core/modules/taxonomy/tests/src/Functional/TermTest.php
- Tests that editing and saving a node with no changes works correctly.
- TermTest::testTaxonomyNode in core/modules/taxonomy/tests/src/Functional/TermTest.php
- Tests that hook_node_$op implementations work correctly.
- TermTest::testTermBreadcrumbs in core/modules/taxonomy/tests/src/Functional/TermTest.php
- Check the breadcrumb on edit and delete a term page.
- TermTest::testTermInterface in core/modules/taxonomy/tests/src/Functional/TermTest.php
- Save, edit and delete a term using the user interface.
- TermTest::testTermMultipleParentsInterface in core/modules/taxonomy/tests/src/Functional/TermTest.php
- Tests saving a term with multiple parents through the UI.
- TermTranslationFieldViewTest::setUpNode in core/modules/taxonomy/tests/src/Functional/TermTranslationFieldViewTest.php
- Creates a test subject node, with translation.
- TermTranslationUITest::getNewEntityValues in core/modules/taxonomy/tests/src/Functional/TermTranslationUITest.php
- Returns an array of entity field values to be tested.
- TermTranslationUITest::setupBundle in core/modules/taxonomy/tests/src/Functional/TermTranslationUITest.php
- Creates or initializes the bundle date if needed.
- TermTranslationUITest::testTranslateLinkVocabularyAdminPage in core/modules/taxonomy/tests/src/Functional/TermTranslationUITest.php
- Tests translate link on vocabulary term list.
- TestItemTest::testTestItem in core/modules/field/tests/src/Kernel/TestItemTest.php
- Tests using entity fields of the field field type.
- TextareaWithSummaryTest::testTextSummaryBehavior in core/modules/text/tests/src/FunctionalJavascript/TextareaWithSummaryTest.php
- Tests the textSummary javascript behavior.
- TextFieldTest::testTextFieldValidation in core/modules/text/tests/src/Functional/TextFieldTest.php
- Tests text field validation.
- TextFieldTest::_testTextfieldWidgetsFormatted in core/modules/text/tests/src/Functional/TextFieldTest.php
- Helper function for testTextfieldWidgetsFormatted().
- TextFormatterTest::testFormatters in core/modules/text/tests/src/Kernel/TextFormatterTest.php
- Tests all text field formatters.
- TextSummaryTest::testRequiredSummary in core/modules/text/tests/src/Kernel/TextSummaryTest.php
- Tests required summary.
- TextWithSummaryItemTest::testCrudAndUpdate in core/modules/text/tests/src/Kernel/TextWithSummaryItemTest.php
- Tests processed properties.
- ThemeTest::testThemeSettings in core/modules/system/tests/src/Functional/System/ThemeTest.php
- Tests the theme settings form.
- 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.
- ToolbarAdminMenuTest::testLocaleTranslationSubtreesHashCacheClear in core/modules/toolbar/tests/src/Functional/ToolbarAdminMenuTest.php
- Tests that toolbar cache is cleared when string translations are made.
- ToolbarMenuTranslationTest::testToolbarClasses in core/modules/toolbar/tests/src/Functional/ToolbarMenuTranslationTest.php
- Tests that toolbar classes don't change when adding a translation.
- TrackerTest::testTrackerAdminUnpublish in core/modules/tracker/tests/src/Functional/TrackerTest.php
- Tests that publish/unpublish works at admin/content/node.
- TrackerTest::testTrackerAll in core/modules/tracker/tests/src/Functional/TrackerTest.php
- Tests for the presence of nodes on the global tracker listing.
- TrackerTest::testTrackerCronIndexing in core/modules/tracker/tests/src/Functional/TrackerTest.php
- Tests that existing nodes are indexed by cron.
- TrackerTest::testTrackerHistoryMetadata in core/modules/tracker/tests/src/Functional/TrackerTest.php
- Tests the metadata for the "new"/"updated" indicators.
- TrackerTest::testTrackerOrderingNewComments in core/modules/tracker/tests/src/Functional/TrackerTest.php
- Tests for ordering on a users tracker listing when comments are posted.
- TrackerTest::testTrackerUser in core/modules/tracker/tests/src/Functional/TrackerTest.php
- Tests for the presence of nodes on a user's tracker listing.
- TransformedConfigExportImportUITest::testTransformedExportImport in core/modules/config/tests/src/Functional/TransformedConfigExportImportUITest.php
- Tests a simple site export import case.
- 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
- TwigWhiteListTest::setUp in core/tests/Drupal/KernelTests/Core/Theme/TwigWhiteListTest.php
- UITestBase::randomView in core/modules/views_ui/tests/src/Functional/UITestBase.php
- A helper method which creates a random view.
- UncaughtExceptionTest::testLostDatabaseConnection in core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php
- Tests the case when the database connection is gone.
- UniqueFieldConstraintTest::providerTestEntityWithStringIdWithViolation in core/tests/Drupal/KernelTests/Core/Validation/UniqueFieldConstraintTest.php
- Data provider for ::testEntityWithStringIdWithViolation().
- UpcastingTest::testSameTypes in core/modules/system/tests/src/Functional/ParamConverter/UpcastingTest.php
- Confirms we can upcast to controller arguments of the same type.
- UpcastingTest::testUpcasting in core/modules/system/tests/src/Functional/ParamConverter/UpcastingTest.php
- Confirms that all parameters are converted as expected.
- UpdateDeleteFileIfStaleTest::testUpdateDeleteFileIfStale in core/modules/update/tests/src/Kernel/UpdateDeleteFileIfStaleTest.php
- Tests the deletion of stale files.
- UriItemTest::testUriField in core/modules/field/tests/src/Kernel/Uri/UriItemTest.php
- Tests URI field.
- UrlAlterFunctionalTest::testUrlAlter in core/modules/path_alias/tests/src/Functional/UrlAlterFunctionalTest.php
- Tests that URL altering works and that it occurs in the correct order.
- UrlTest::testExternalUrls in core/modules/system/tests/src/Kernel/Common/UrlTest.php
- Tests external URL handling.
- UrlTest::testLinkAttributes in core/modules/system/tests/src/Kernel/Common/UrlTest.php
- Tests that default and custom attributes are handled correctly on links.
- UrlTest::testLinkXSS in core/modules/system/tests/src/Kernel/Common/UrlTest.php
- Confirms that invalid URLs are filtered in link generating functions.
- UserActionConfigSchemaTest::testValidUserActionConfigSchema in core/modules/user/tests/src/Kernel/UserActionConfigSchemaTest.php
- Tests whether the user action config schema are valid.
- UserAdminLanguageTest::addCustomLanguage in core/modules/user/tests/src/Functional/UserAdminLanguageTest.php
- Helper method for adding a custom language.
- UserAdminTest::testNotificationEmailAddress in core/modules/user/tests/src/Functional/UserAdminTest.php
- Tests the alternate notification email address for user mails.
- UserAdminTest::testUserAdmin in core/modules/user/tests/src/Functional/UserAdminTest.php
- Registers a user and deletes it.
- UserAttributesTest::testUserAttributesInMarkup in core/modules/rdf/tests/src/Functional/UserAttributesTest.php
- Tests if default mapping for user is being used.
- UserCancelTest::testUserAnonymize in core/modules/user/tests/src/Functional/UserCancelTest.php
- Delete account and anonymize all content.
- UserCancelTest::testUserBlockUnpublish in core/modules/user/tests/src/Functional/UserCancelTest.php
- Disable account and unpublish all content.
- UserCancelTest::testUserDelete in core/modules/user/tests/src/Functional/UserCancelTest.php
- Delete account and remove all content.
- 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.
- UserDataTest::testDataField in core/modules/user/tests/src/Kernel/Views/UserDataTest.php
- Tests field handler.
- UserEditedOwnAccountTest::testUserEditedOwnAccount in core/modules/user/tests/src/Functional/UserEditedOwnAccountTest.php
- UserEditTest::testUserEdit in core/modules/user/tests/src/Functional/UserEditTest.php
- Tests user edit page.
- UserEntityLabelTest::testLabelCallback in core/modules/user/tests/src/Kernel/UserEntityLabelTest.php
- Tests label callback.
- UserEntityReferenceTest::setUp in core/modules/user/tests/src/Kernel/UserEntityReferenceTest.php
- UserLanguageCreationTest::testLocalUserCreation in core/modules/user/tests/src/Functional/UserLanguageCreationTest.php
- Functional test for language handling during user creation.
- UserLanguageTest::testUserLanguageConfiguration in core/modules/user/tests/src/Functional/UserLanguageTest.php
- Tests if user can change their default language.
- UserPasswordResetTest::testResetImpersonation in core/modules/user/tests/src/Functional/UserPasswordResetTest.php
- Make sure that users cannot forge password reset URLs of other users.
- UserPasswordResetTest::testUserPasswordReset in core/modules/user/tests/src/Functional/UserPasswordResetTest.php
- Tests password reset functionality.
- UserPasswordResetTest::testUserResetPasswordIpFloodControl in core/modules/user/tests/src/Functional/UserPasswordResetTest.php
- Tests password reset flood control for one IP.
- UserPasswordResetTest::testUserResetPasswordTextboxFilled in core/modules/user/tests/src/Functional/UserPasswordResetTest.php
- Prefill the text box on incorrect login via link to password reset page.
- UserRegistrationTest::testRegistrationDefaultValues in core/modules/user/tests/src/Functional/UserRegistrationTest.php
- UserRegistrationTest::testRegistrationEmailDuplicates in core/modules/user/tests/src/Functional/UserRegistrationTest.php
- UserRegistrationTest::testRegistrationWithEmailVerification in core/modules/user/tests/src/Functional/UserRegistrationTest.php
- UserRegistrationTest::testRegistrationWithoutEmailVerification in core/modules/user/tests/src/Functional/UserRegistrationTest.php
- UserRegistrationTest::testRegistrationWithUserFields in core/modules/user/tests/src/Functional/UserRegistrationTest.php
- Tests Field API fields on user registration forms.
- UserRegistrationTest::testUuidFormState in core/modules/user/tests/src/Functional/UserRegistrationTest.php
- Tests that UUID isn't cached in form state on register form.
- 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.
- 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.
- UserSaveStatusTest::testUserSaveStatus in core/modules/user/tests/src/Kernel/UserSaveStatusTest.php
- Tests SAVED_NEW and SAVED_UPDATED statuses for user entity type.
- UserSaveTest::testExistingPasswordRemoval in core/modules/user/tests/src/Kernel/UserSaveTest.php
- Ensures that an existing password is unset after the user was saved.
- UserSubAdminTest::testSubAdmin in core/modules/user/tests/src/Functional/UserSubAdminTest.php
- Tests create and cancel forms as 'sub-admin'.
- UserTest::getModifiedEntityForPostTesting in core/modules/jsonapi/tests/src/Functional/UserTest.php
- Gets the normalized POST entity with random values for its unique fields.
- UserTranslationUITest::setUp in core/modules/user/tests/src/Functional/UserTranslationUITest.php
- UserValidationTest::testValidation in core/modules/user/tests/src/Kernel/UserValidationTest.php
- Runs entity validation checks.
- ValidationTest::testPatternValidation in core/modules/system/tests/src/Functional/Form/ValidationTest.php
- Tests #pattern validation.
- 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.
- ViewsIntegrationTest::createLogEntries in core/modules/dblog/tests/src/Kernel/Views/ViewsIntegrationTest.php
- Create a set of log entries.
- ViewStorageTest::displayMethodTests in core/modules/views/tests/src/Kernel/ViewStorageTest.php
- Tests the display related functions like getDisplaysList().
- ViewsUITourTest::testViewsUiTourTips in core/modules/views_ui/tests/src/Functional/ViewsUITourTest.php
- Tests views_ui tour tip availability.
- ViewsUITourTest::testViewsUiTourTipsTranslated in core/modules/views_ui/tests/src/Functional/ViewsUITourTest.php
- Tests views_ui tour tip availability in a different language.
- VocabularyCrudTest::testUninstallReinstall in core/modules/taxonomy/tests/src/Kernel/VocabularyCrudTest.php
- Tests uninstall and reinstall of the taxonomy module.
- VocabularyLanguageTest::testVocabularyDefaultLanguageForTerms in core/modules/taxonomy/tests/src/Functional/VocabularyLanguageTest.php
- Tests term language settings for vocabulary terms are saved and updated.
- VocabularyLanguageTest::testVocabularyLanguage in core/modules/taxonomy/tests/src/Functional/VocabularyLanguageTest.php
- Tests language settings for vocabularies.
- VocabularyPermissionsTest::testVocabularyPermissionsTaxonomyTerm in core/modules/taxonomy/tests/src/Functional/VocabularyPermissionsTest.php
- Create, edit and delete a taxonomy term via the user interface.
- VocabularyTranslationTest::testVocabularyLanguage in core/modules/taxonomy/tests/src/Functional/VocabularyTranslationTest.php
- Tests language settings for vocabularies.
- VocabularyTranslationTest::testVocabularyTitleLabelTranslation in core/modules/taxonomy/tests/src/Functional/VocabularyTranslationTest.php
- Tests vocabulary name translation for the overview and reset pages.
- VocabularyUiTest::testTaxonomyAdminDeletingVocabulary in core/modules/taxonomy/tests/src/Functional/VocabularyUiTest.php
- Deleting a vocabulary.
- VocabularyUiTest::testVocabularyInterface in core/modules/taxonomy/tests/src/Functional/VocabularyUiTest.php
- Create, edit and delete a vocabulary via the user interface.
- WizardPluginBaseKernelTest::testCreateView in core/modules/views/tests/src/Kernel/Wizard/WizardPluginBaseKernelTest.php
- Tests the creating of a view.
- WizardTest::testCommentWizard in core/modules/comment/tests/src/Functional/Views/WizardTest.php
- Tests adding a view of comments.
- WizardTest::testWizardFieldLength in core/modules/views_ui/tests/src/Functional/WizardTest.php
- Tests filling in the wizard with really long strings.
- WorkspaceTest::testWorkspaceFieldUi in core/modules/workspaces/tests/src/Functional/WorkspaceTest.php
- Tests adding new fields to workspace entities.