Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 8.9.x for test
  4. Search 10.3.x for test
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Test class core/modules/media/tests/modules/media_test_source/src/Plugin/media/Source/Test.php Provides test media source.
Test class core/modules/system/tests/modules/test_page_test/src/Controller/Test.php Defines a test controller for page titles.

All search results

Title Object type File name Summary
AddFeedTest::$modules property core/modules/system/tests/src/Kernel/Common/AddFeedTest.php Modules to install.
AddFeedTest::testAttributeAdded function core/modules/system/tests/src/Kernel/Common/AddFeedTest.php Tests that the rendered output contains specific attributes.
AddFeedTest::testBasicFeedAddNoTitle function core/modules/system/tests/src/Kernel/Common/AddFeedTest.php Tests attaching feeds with paths, URLs, and titles.
AddFeedTest::testFeedIconEscaping function core/modules/system/tests/src/Kernel/Common/AddFeedTest.php Checks that special characters are correctly escaped.
AddFeedTest::urlToRSSLinkPattern function core/modules/system/tests/src/Kernel/Common/AddFeedTest.php Creates a pattern representing the RSS feed in the page.
AddItemToToolbarConfigActionTest class core/modules/ckeditor5/tests/src/Kernel/ConfigAction/AddItemToToolbarConfigActionTest.php @covers \Drupal\ckeditor5\Plugin\ConfigAction\AddItemToToolbar[[api-linebreak]]
@group ckeditor5
@group Recipe
AddItemToToolbarConfigActionTest.php file core/modules/ckeditor5/tests/src/Kernel/ConfigAction/AddItemToToolbarConfigActionTest.php
AddItemToToolbarConfigActionTest::$configSchemaCheckerExclusions property core/modules/ckeditor5/tests/src/Kernel/ConfigAction/AddItemToToolbarConfigActionTest.php An array of config object names that are excluded from schema checking.
AddItemToToolbarConfigActionTest::$modules property core/modules/ckeditor5/tests/src/Kernel/ConfigAction/AddItemToToolbarConfigActionTest.php Modules to install.
AddItemToToolbarConfigActionTest::setUp function core/modules/ckeditor5/tests/src/Kernel/ConfigAction/AddItemToToolbarConfigActionTest.php
AddItemToToolbarConfigActionTest::testActionRequiresCKEditor5 function core/modules/ckeditor5/tests/src/Kernel/ConfigAction/AddItemToToolbarConfigActionTest.php Tests that the `addItemToToolbar` config action requires CKEditor 5.
AddItemToToolbarConfigActionTest::testAddItemToToolbar function core/modules/ckeditor5/tests/src/Kernel/ConfigAction/AddItemToToolbarConfigActionTest.php @testWith ["sourceEditing", ["heading", "bold", "italic", "sourceEditing"]][[api-linebreak]]
[{"item_name": "sourceEditing"}, ["heading", "bold",…
AddItemToToolbarConfigActionTest::testAddNonExistentItem function core/modules/ckeditor5/tests/src/Kernel/ConfigAction/AddItemToToolbarConfigActionTest.php Tests that adding non-existent toolbar item to CKEditor triggers an error.
AddModerationConfigActionTest class core/modules/content_moderation/tests/src/Kernel/ConfigAction/AddModerationConfigActionTest.php @covers \Drupal\content_moderation\Plugin\ConfigAction\AddModeration[[api-linebreak]]
@covers \Drupal\content_moderation\Plugin\ConfigAction\AddModerationDeriver[[api-linebreak]]
@group content_moderation
@group Recipe
AddModerationConfigActionTest.php file core/modules/content_moderation/tests/src/Kernel/ConfigAction/AddModerationConfigActionTest.php
AddModerationConfigActionTest::$modules property core/modules/content_moderation/tests/src/Kernel/ConfigAction/AddModerationConfigActionTest.php Modules to install.
AddModerationConfigActionTest::createRecipe function core/modules/content_moderation/tests/src/Kernel/ConfigAction/AddModerationConfigActionTest.php Creates a recipe configuration for adding entity types and bundles to a workflow.
AddModerationConfigActionTest::testActionOnlyTargetsWorkflows function core/modules/content_moderation/tests/src/Kernel/ConfigAction/AddModerationConfigActionTest.php Tests that the action only targets workflows.
AddModerationConfigActionTest::testAddEntityTypeAndBundle function core/modules/content_moderation/tests/src/Kernel/ConfigAction/AddModerationConfigActionTest.php Tests adding entity types and bundles to a workflow.
AddModerationConfigActionTest::testDeriverAdminLabel function core/modules/content_moderation/tests/src/Kernel/ConfigAction/AddModerationConfigActionTest.php Tests that the derived config action definitions have correct admin labels.
AddModerationConfigActionTest::testWorkflowMustBeContentModeration function core/modules/content_moderation/tests/src/Kernel/ConfigAction/AddModerationConfigActionTest.php Tests that the workflow must be of type Content Moderation.
AddNavigationBlockConfigActionTest class core/modules/navigation/tests/src/Kernel/ConfigAction/AddNavigationBlockConfigActionTest.php @covers \Drupal\navigation\Plugin\ConfigAction\AddNavigationBlock[[api-linebreak]]
@group navigation
@group Recipe
AddNavigationBlockConfigActionTest.php file core/modules/navigation/tests/src/Kernel/ConfigAction/AddNavigationBlockConfigActionTest.php
AddNavigationBlockConfigActionTest::$modules property core/modules/navigation/tests/src/Kernel/ConfigAction/AddNavigationBlockConfigActionTest.php Modules to install.
AddNavigationBlockConfigActionTest::setUp function core/modules/navigation/tests/src/Kernel/ConfigAction/AddNavigationBlockConfigActionTest.php
AddNavigationBlockConfigActionTest::testActionOnlySupportsNavigationConfig function core/modules/navigation/tests/src/Kernel/ConfigAction/AddNavigationBlockConfigActionTest.php Checks invalid config exception.
AddNavigationBlockConfigActionTest::testAddBlockToNavigation function core/modules/navigation/tests/src/Kernel/ConfigAction/AddNavigationBlockConfigActionTest.php Tests add item logic.
AddPermissionsUpdateTest class core/modules/help/tests/src/Functional/AddPermissionsUpdateTest.php Tests help_post_update_add_permissions_to_roles().
AddPermissionsUpdateTest.php file core/modules/help/tests/src/Functional/AddPermissionsUpdateTest.php
AddPermissionsUpdateTest::setDatabaseDumpFiles function core/modules/help/tests/src/Functional/AddPermissionsUpdateTest.php Set database dump files to be used.
AddPermissionsUpdateTest::testUpdate function core/modules/help/tests/src/Functional/AddPermissionsUpdateTest.php Tests adding 'access help pages' permission.
AddRoleUserTest class core/modules/user/tests/src/Unit/Plugin/Action/AddRoleUserTest.php @coversDefaultClass \Drupal\user\Plugin\Action\AddRoleUser[[api-linebreak]]
@group user
AddRoleUserTest.php file core/modules/user/tests/src/Unit/Plugin/Action/AddRoleUserTest.php
AddRoleUserTest::testExecuteAddExistingRole function core/modules/user/tests/src/Unit/Plugin/Action/AddRoleUserTest.php Tests the execute method on a user with a role.
AddRoleUserTest::testExecuteAddNonExistingRole function core/modules/user/tests/src/Unit/Plugin/Action/AddRoleUserTest.php Tests the execute method on a user without a specific role.
AddToAllBundlesConfigActionTest class core/modules/field/tests/src/Kernel/AddToAllBundlesConfigActionTest.php @covers \Drupal\field\Plugin\ConfigAction\AddToAllBundles[[api-linebreak]]
AddToAllBundlesConfigActionTest.php file core/modules/field/tests/src/Kernel/AddToAllBundlesConfigActionTest.php
AddToAllBundlesConfigActionTest::$modules property core/modules/field/tests/src/Kernel/AddToAllBundlesConfigActionTest.php Modules to install.
AddToAllBundlesConfigActionTest::applyAction function core/modules/field/tests/src/Kernel/AddToAllBundlesConfigActionTest.php Applies a recipe with the addToAllBundles action.
AddToAllBundlesConfigActionTest::setUp function core/modules/field/tests/src/Kernel/AddToAllBundlesConfigActionTest.php
AddToAllBundlesConfigActionTest::testFailIfExists function core/modules/field/tests/src/Kernel/AddToAllBundlesConfigActionTest.php Tests that the action can be set to fail if the field already exists.
AddToAllBundlesConfigActionTest::testIgnoreExistingFields function core/modules/field/tests/src/Kernel/AddToAllBundlesConfigActionTest.php Tests that the action will ignore existing fields by default.
AddToAllBundlesConfigActionTest::testInstantiateNewFieldOnAllBundles function core/modules/field/tests/src/Kernel/AddToAllBundlesConfigActionTest.php Tests instantiating a field on all bundles of an entity type.
AdminAccountSwitcherTest class core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php @covers \Drupal\Core\DefaultContent\AdminAccountSwitcher[[api-linebreak]]
@group DefaultContent
AdminAccountSwitcherTest.php file core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php
AdminAccountSwitcherTest::$modules property core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php Modules to install.
AdminAccountSwitcherTest::register function core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php Registers test-specific services.
AdminAccountSwitcherTest::setUp function core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php
AdminAccountSwitcherTest::testNoAdministratorsExist function core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php Tests that there is an error if there are no administrative users.
AdminAccountSwitcherTest::testSuperUser function core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php Tests switching to user 1 when the superuser access policy is enabled.

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