Search for test

  1. Search 7.x for test
  2. Search 9.5.x for test
  3. Search 10.3.x for test
  4. Search 11.x for test
  5. Search main 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
UserServiceProviderTest.php file core/modules/user/tests/src/Kernel/UserServiceProviderTest.php
UserServiceProviderTest::$modules property core/modules/user/tests/src/Kernel/UserServiceProviderTest.php Modules to enable.
UserServiceProviderTest::register function core/modules/user/tests/src/Kernel/UserServiceProviderTest.php Registers test-specific services.
UserServiceProviderTest::testUserServiceProvider function core/modules/user/tests/src/Kernel/UserServiceProviderTest.php Tests that tempstore.expire is set to user.tempstore.expire.
UserSessionTest class core/tests/Drupal/Tests/Core/Session/UserSessionTest.php @coversDefaultClass \Drupal\Core\Session\UserSession[[api-linebreak]]
@group Session
UserSessionTest.php file core/tests/Drupal/Tests/Core/Session/UserSessionTest.php
UserSessionTest::$users property core/tests/Drupal/Tests/Core/Session/UserSessionTest.php The user sessions used in the test
UserSessionTest::createUserSession function core/tests/Drupal/Tests/Core/Session/UserSessionTest.php Setups a user session for the test.
UserSessionTest::providerTestHasPermission function core/tests/Drupal/Tests/Core/Session/UserSessionTest.php Provides test data for getHasPermission().
UserSessionTest::setUp function core/tests/Drupal/Tests/Core/Session/UserSessionTest.php
UserSessionTest::testHasPermission function core/tests/Drupal/Tests/Core/Session/UserSessionTest.php Tests the has permission method.
UserSessionTest::testUserGetRoles function core/tests/Drupal/Tests/Core/Session/UserSessionTest.php Tests the method getRoles exclude or include locked roles based in param.
UserSubAdminTest class core/modules/user/tests/src/Functional/UserSubAdminTest.php Test 'sub-admin' account with permission to edit some users but without 'administer users' permission.
UserSubAdminTest.php file core/modules/user/tests/src/Functional/UserSubAdminTest.php
UserSubAdminTest::$defaultTheme property core/modules/user/tests/src/Functional/UserSubAdminTest.php The theme to install as the default for testing.
UserSubAdminTest::$modules property core/modules/user/tests/src/Functional/UserSubAdminTest.php Modules to enable.
UserSubAdminTest::testSubAdmin function core/modules/user/tests/src/Functional/UserSubAdminTest.php Test create and cancel forms as 'sub-admin'.
UserTest class core/modules/user/tests/src/Kernel/Plugin/migrate/source/d6/UserTest.php Tests the d6_user source plugin.
UserTest class core/modules/user/tests/src/Kernel/Plugin/migrate/source/d7/UserTest.php Tests the d7_user source plugin.
UserTest class core/modules/user/tests/src/Unit/Plugin/Core/Entity/UserTest.php @coversDefaultClass \Drupal\user\Entity\User[[api-linebreak]]
@group user
UserTest class core/modules/jsonapi/tests/src/Functional/UserTest.php JSON:API integration test for the "User" content entity type.
UserTest.php file core/modules/jsonapi/tests/src/Functional/UserTest.php
UserTest.php file core/modules/user/tests/src/Unit/Plugin/Core/Entity/UserTest.php
UserTest.php file core/modules/user/tests/src/Kernel/Plugin/migrate/source/d6/UserTest.php
UserTest.php file core/modules/user/tests/src/Kernel/Plugin/migrate/source/d7/UserTest.php
UserTest::$anonymousUsersCanViewLabels property core/modules/jsonapi/tests/src/Functional/UserTest.php Whether anonymous users can view labels of this resource type.
UserTest::$defaultTheme property core/modules/jsonapi/tests/src/Functional/UserTest.php The theme to install as the default for testing.
UserTest::$entity property core/modules/jsonapi/tests/src/Functional/UserTest.php
UserTest::$entityTypeId property core/modules/jsonapi/tests/src/Functional/UserTest.php The tested entity type.
UserTest::$firstCreatedEntityId property core/modules/jsonapi/tests/src/Functional/UserTest.php The entity ID for the first created entity in testPost().
UserTest::$labelFieldName property core/modules/jsonapi/tests/src/Functional/UserTest.php Specify which field is the 'label' field for testing a POST edge case.
UserTest::$modules property core/modules/jsonapi/tests/src/Functional/UserTest.php Modules to enable.
UserTest::$modules property core/modules/user/tests/src/Kernel/Plugin/migrate/source/d6/UserTest.php Modules to enable.
UserTest::$modules property core/modules/user/tests/src/Kernel/Plugin/migrate/source/d7/UserTest.php Modules to enable.
UserTest::$patchProtectedFieldNames property core/modules/jsonapi/tests/src/Functional/UserTest.php The fields that are protected against modification during PATCH requests.
UserTest::$resourceTypeName property core/modules/jsonapi/tests/src/Functional/UserTest.php The name of the tested JSON:API resource type.
UserTest::$secondCreatedEntityId property core/modules/jsonapi/tests/src/Functional/UserTest.php The entity ID for the second created entity in testPost().
UserTest::assertRpcLogin function core/modules/jsonapi/tests/src/Functional/UserTest.php Verifies that logging in with the given username and password works.
UserTest::createAnotherEntity function core/modules/jsonapi/tests/src/Functional/UserTest.php Creates another entity to be tested.
UserTest::createEntity function core/modules/jsonapi/tests/src/Functional/UserTest.php Creates the entity to be tested.
UserTest::createUserSession function core/modules/user/tests/src/Unit/Plugin/Core/Entity/UserTest.php Setups a user session for the test.
UserTest::getExpectedCacheContexts function core/modules/jsonapi/tests/src/Functional/UserTest.php The expected cache contexts for the GET/HEAD response of the test entity.
UserTest::getExpectedDocument function core/modules/jsonapi/tests/src/Functional/UserTest.php Returns the expected JSON:API document for the entity.
UserTest::getExpectedUnauthorizedAccessMessage function core/modules/jsonapi/tests/src/Functional/UserTest.php Return the expected error message.
UserTest::getModifiedEntityForPostTesting function core/modules/jsonapi/tests/src/Functional/UserTest.php Gets the normalized POST entity with random values for its unique fields.
UserTest::getPostDocument function core/modules/jsonapi/tests/src/Functional/UserTest.php Returns the JSON:API POST document.
UserTest::makeNormalizationInvalid function core/modules/jsonapi/tests/src/Functional/UserTest.php Makes the given JSON:API document invalid.
UserTest::providerSource function core/modules/user/tests/src/Kernel/Plugin/migrate/source/d6/UserTest.php The data provider.
UserTest::providerSource function core/modules/user/tests/src/Kernel/Plugin/migrate/source/d7/UserTest.php The data provider.
UserTest::setUpAuthorization function core/modules/jsonapi/tests/src/Functional/UserTest.php Sets up the necessary authorization.

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