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. Search 11.x for test
  6. 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
UserRoleDeleteTest::testDependenciesRemoval function core/modules/user/tests/src/Kernel/UserRoleDeleteTest.php Tests the removal of user role dependencies.
UserRoleDeleteTest::testRoleDeleteUserRoleReferenceDelete function core/modules/user/tests/src/Kernel/UserRoleDeleteTest.php Tests removal of role references on role entity delete.
UserRoleEntityTest class core/modules/user/tests/src/Kernel/UserRoleEntityTest.php Tests Drupal\user\Entity\Role.
UserRoleEntityTest.php file core/modules/user/tests/src/Kernel/UserRoleEntityTest.php
UserRoleEntityTest::$modules property core/modules/user/tests/src/Kernel/UserRoleEntityTest.php
UserRoleEntityTest::register function core/modules/user/tests/src/Kernel/UserRoleEntityTest.php
UserRoleEntityTest::testGrantingNonExistentPermission function core/modules/user/tests/src/Kernel/UserRoleEntityTest.php Tests granting non-existent permissions to a role.
UserRoleEntityTest::testOrderOfPermissions function core/modules/user/tests/src/Kernel/UserRoleEntityTest.php Tests the order of granted permissions in a role.
UserRoleEntityTest::testPermissionRevokeAndConfigSync function core/modules/user/tests/src/Kernel/UserRoleEntityTest.php Tests permission revocation during a configuration synchronization.
UserRolesAccessPolicyTest class core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php Tests Drupal\Core\Session\UserRolesAccessPolicy.
UserRolesAccessPolicyTest.php file core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php
UserRolesAccessPolicyTest::$accessPolicy property core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php The access policy to test.
UserRolesAccessPolicyTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php The mocked entity type manager service.
UserRolesAccessPolicyTest::calculatePermissionsProvider function core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php Data provider for testCalculatePermissions.
UserRolesAccessPolicyTest::setUp function core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php
UserRolesAccessPolicyTest::testAlterPermissions function core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php Tests the alterPermissions method.
UserRolesAccessPolicyTest::testApplies function core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php Tests applies.
UserRolesAccessPolicyTest::testCalculatePermissions function core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php Tests the calculatePermissions method.
UserRolesAccessPolicyTest::testGetPersistentCacheContexts function core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php Tests the getPersistentCacheContexts method.
UserRolesAssignmentTest class core/modules/user/tests/src/Functional/UserRolesAssignmentTest.php Tests that users can be assigned and unassigned roles.
UserRolesAssignmentTest.php file core/modules/user/tests/src/Functional/UserRolesAssignmentTest.php
UserRolesAssignmentTest::$defaultTheme property core/modules/user/tests/src/Functional/UserRolesAssignmentTest.php
UserRolesAssignmentTest::setUp function core/modules/user/tests/src/Functional/UserRolesAssignmentTest.php
UserRolesAssignmentTest::testAssignAndRemoveRole function core/modules/user/tests/src/Functional/UserRolesAssignmentTest.php Test that user can be assigned role and that the role can be removed again.
UserRolesAssignmentTest::testCreateUserWithRole function core/modules/user/tests/src/Functional/UserRolesAssignmentTest.php Tests assigning a role at user creation and removing the role.
UserRolesAssignmentTest::userLoadAndCheckRoleAssigned function core/modules/user/tests/src/Functional/UserRolesAssignmentTest.php Check role on user object.
UserRolesCacheContextTest class core/tests/Drupal/Tests/Core/Cache/Context/UserRolesCacheContextTest.php Tests Drupal\Core\Cache\Context\UserRolesCacheContext.
UserRolesCacheContextTest.php file core/tests/Drupal/Tests/Core/Cache/Context/UserRolesCacheContextTest.php
UserRolesCacheContextTest::testCalculatedRole function core/tests/Drupal/Tests/Core/Cache/Context/UserRolesCacheContextTest.php Tests calculated role.
UserRolesPermissionsTest class core/tests/Drupal/KernelTests/Core/Session/UserRolesPermissionsTest.php Test case for getting permissions from user roles.
UserRolesPermissionsTest.php file core/tests/Drupal/KernelTests/Core/Session/UserRolesPermissionsTest.php
UserRolesPermissionsTest::$modules property core/tests/Drupal/KernelTests/Core/Session/UserRolesPermissionsTest.php
UserRolesPermissionsTest::setUp function core/tests/Drupal/KernelTests/Core/Session/UserRolesPermissionsTest.php
UserRolesPermissionsTest::testPermissionChange function core/tests/Drupal/KernelTests/Core/Session/UserRolesPermissionsTest.php Tests that assigning a role grants that role's permissions.
UserRoleTest class core/modules/user/tests/src/Kernel/Views/UserRoleTest.php Tests rendering when the role is numeric.
UserRoleTest.php file core/modules/user/tests/src/Kernel/Views/UserRoleTest.php
UserRoleTest::testNumericRole function core/modules/user/tests/src/Kernel/Views/UserRoleTest.php Tests numeric role.
UserRouteAlterTest class core/modules/serialization/tests/src/Kernel/UserRouteAlterTest.php Tests that the user routes can be altered.
UserRouteAlterTest.php file core/modules/serialization/tests/src/Kernel/UserRouteAlterTest.php
UserRouteAlterTest::$modules property core/modules/serialization/tests/src/Kernel/UserRouteAlterTest.php
UserRouteAlterTest::testUserAlteredRoute function core/modules/serialization/tests/src/Kernel/UserRouteAlterTest.php Tests the altered 'user.login.http' route.
UserSaveStatusTest class core/modules/user/tests/src/Kernel/UserSaveStatusTest.php Tests user saving status.
UserSaveStatusTest.php file core/modules/user/tests/src/Kernel/UserSaveStatusTest.php
UserSaveStatusTest::$modules property core/modules/user/tests/src/Kernel/UserSaveStatusTest.php
UserSaveStatusTest::setUp function core/modules/user/tests/src/Kernel/UserSaveStatusTest.php
UserSaveStatusTest::testUserSaveStatus function core/modules/user/tests/src/Kernel/UserSaveStatusTest.php Tests SAVED_NEW and SAVED_UPDATED statuses for user entity type.
UserSaveTest class core/modules/user/tests/src/Kernel/UserSaveTest.php Tests account saving for arbitrary new uid.
UserSaveTest.php file core/modules/user/tests/src/Kernel/UserSaveTest.php
UserSaveTest::$modules property core/modules/user/tests/src/Kernel/UserSaveTest.php
UserSaveTest::testExistingPasswordRemoval function core/modules/user/tests/src/Kernel/UserSaveTest.php Ensures that an existing password is unset after the user was saved.

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