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
UserSearchTest::testUserSearch function core/modules/user/tests/src/Functional/UserSearchTest.php Tests various user search functionalities and permission-based restrictions.
UserSearchTest::testUserSearch function core/modules/search/tests/src/Functional/user/UserSearchTest.php Tests various user search functionalities and permission-based restrictions.
UserSessionTest class core/tests/Drupal/Tests/Core/Session/UserSessionTest.php Tests Drupal\Core\Session\UserSession.
UserSessionTest.php file core/tests/Drupal/Tests/Core/Session/UserSessionTest.php
UserSessionTest::createUserSession function core/tests/Drupal/Tests/Core/Session/UserSessionTest.php Setups a user session for the test.
UserSessionTest::testGetLastAccessedTime function core/tests/Drupal/Tests/Core/Session/UserSessionTest.php Tests that ::getLastAccessedTime() returns an integer.
UserSessionTest::testHasPermission function core/tests/Drupal/Tests/Core/Session/UserSessionTest.php Tests the has permission method.
UserSessionTest::testHasRole function core/tests/Drupal/Tests/Core/Session/UserSessionTest.php Tests the hasRole method.
UserSessionTest::testNamePropertyDeprecation function core/tests/Drupal/Tests/Core/Session/UserSessionTest.php Tests the name property deprecation.
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 install.
UserSubAdminTest::testSubAdmin function core/modules/user/tests/src/Functional/UserSubAdminTest.php Tests 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 Tests Drupal\user\Entity\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 install.
UserTest::$modules property core/modules/user/tests/src/Kernel/Plugin/migrate/source/d6/UserTest.php Modules to install.
UserTest::$modules property core/modules/user/tests/src/Kernel/Plugin/migrate/source/d7/UserTest.php Modules to install.
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::BATCH_TEST_NODE_COUNT constant core/modules/jsonapi/tests/src/Functional/UserTest.php
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
UserTest::doTestDeleteIndividual function core/modules/jsonapi/tests/src/Functional/UserTest.php Tests DELETEing an individual resource, plus edge cases to ensure good DX.
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::getPatchDocument function core/modules/jsonapi/tests/src/Functional/UserTest.php Returns the JSON:API PATCH document.
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 Provides source data for ::testSource.
UserTest::providerSource function core/modules/user/tests/src/Kernel/Plugin/migrate/source/d7/UserTest.php Provides source data for ::testSource.

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