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
CronTest::setUp function core/tests/Drupal/Tests/Core/CronTest.php
CronTest::testProcessQueues function core/tests/Drupal/Tests/Core/CronTest.php Tests the ::processQueues() method.
CronTest::testRequeueException function core/tests/Drupal/Tests/Core/CronTest.php Verify that RequeueException causes an item to be processed multiple times.
cron_queue_test.info.yml file core/modules/system/tests/modules/cron_queue_test/cron_queue_test.info.yml core/modules/system/tests/modules/cron_queue_test/cron_queue_test.info.yml
CryptTest class core/tests/Drupal/Tests/Component/Utility/CryptTest.php Tests random byte generation.
CryptTest.php file core/tests/Drupal/Tests/Component/Utility/CryptTest.php
CryptTest::providerTestHashBase64 function core/tests/Drupal/Tests/Component/Utility/CryptTest.php Provides data for self::testHashBase64().
CryptTest::providerTestHmacBase64 function core/tests/Drupal/Tests/Component/Utility/CryptTest.php Provides data for self::testHmacBase64().
CryptTest::providerTestHmacBase64Invalid function core/tests/Drupal/Tests/Component/Utility/CryptTest.php Provides data for self::testHmacBase64().
CryptTest::testHashBase64 function core/tests/Drupal/Tests/Component/Utility/CryptTest.php Tests hash generation.
CryptTest::testHmacBase64 function core/tests/Drupal/Tests/Component/Utility/CryptTest.php Tests HMAC generation.
CryptTest::testHmacBase64Invalid function core/tests/Drupal/Tests/Component/Utility/CryptTest.php Tests the hmacBase64 method with invalid parameters.
CsrfAccessCheckTest class core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php @coversDefaultClass \Drupal\Core\Access\CsrfAccessCheck[[api-linebreak]]
@group Access
CsrfAccessCheckTest.php file core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php
CsrfAccessCheckTest::$accessCheck property core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php The access checker.
CsrfAccessCheckTest::$csrfToken property core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php The mock CSRF token generator.
CsrfAccessCheckTest::$parameterBag property core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php The mock parameter bag.
CsrfAccessCheckTest::$routeMatch property core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php The mock route match.
CsrfAccessCheckTest::setUp function core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php
CsrfAccessCheckTest::testAccessTokenPass function core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php Tests the access() method with a valid token.
CsrfAccessCheckTest::testCsrfTokenInvalid function core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php @covers ::access[[api-linebreak]]
CsrfAccessCheckTest::testCsrfTokenMissing function core/tests/Drupal/Tests/Core/Access/CsrfAccessCheckTest.php @covers ::access[[api-linebreak]]
CsrfRequestHeaderTest class core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php Tests protecting routes by requiring CSRF token in the request header.
CsrfRequestHeaderTest.php file core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php
CsrfRequestHeaderTest::$defaultTheme property core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php The theme to install as the default for testing.
CsrfRequestHeaderTest::$modules property core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php Modules to install.
CsrfRequestHeaderTest::testRouteAccess function core/modules/system/tests/src/Functional/CsrfRequestHeaderTest.php Tests access to routes protected by CSRF request header requirements.
CsrfTokenGeneratorTest class core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Tests the CsrfTokenGenerator class.
CsrfTokenGeneratorTest.php file core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php
CsrfTokenGeneratorTest::$generator property core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php The CSRF token generator.
CsrfTokenGeneratorTest::$privateKey property core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php The mock private key instance.
CsrfTokenGeneratorTest::$sessionMetadata property core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php The mock session metadata bag.
CsrfTokenGeneratorTest::providerTestInvalidParameterTypes function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Provides data for testInvalidParameterTypes.
CsrfTokenGeneratorTest::providerTestValidateParameterTypes function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Provides data for testValidateParameterTypes.
CsrfTokenGeneratorTest::setUp function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php
CsrfTokenGeneratorTest::setupDefaultExpectations function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Set up default expectations on the mocks.
CsrfTokenGeneratorTest::testGenerateSeedOnGet function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Tests that a new token seed is generated upon first use.
CsrfTokenGeneratorTest::testGet function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Tests CsrfTokenGenerator::get().
CsrfTokenGeneratorTest::testGetWithNoHashSalt function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Tests the exception thrown when no 'hash_salt' is provided in settings.
CsrfTokenGeneratorTest::testInvalidParameterTypes function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Tests CsrfTokenGenerator::validate() with invalid parameter types.
CsrfTokenGeneratorTest::testValidate function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Tests CsrfTokenGenerator::validate().
CsrfTokenGeneratorTest::testValidateParameterTypes function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Tests CsrfTokenGenerator::validate() with different parameter types.
CsrfTokenRaceTest class core/tests/Drupal/FunctionalJavascriptTests/Core/CsrfTokenRaceTest.php Test race condition for CSRF tokens for simultaneous requests.
CsrfTokenRaceTest.php file core/tests/Drupal/FunctionalJavascriptTests/Core/CsrfTokenRaceTest.php
CsrfTokenRaceTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/Core/CsrfTokenRaceTest.php The theme to install as the default for testing.
CsrfTokenRaceTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/Core/CsrfTokenRaceTest.php Modules to install.
CsrfTokenRaceTest::testCsrfRace function core/tests/Drupal/FunctionalJavascriptTests/Core/CsrfTokenRaceTest.php Tests race condition for CSRF tokens for simultaneous requests.
csrf_race_test.info.yml file core/modules/system/tests/modules/csrf_race_test/csrf_race_test.info.yml core/modules/system/tests/modules/csrf_race_test/csrf_race_test.info.yml
csrf_race_test.routing.yml file core/modules/system/tests/modules/csrf_race_test/csrf_race_test.routing.yml core/modules/system/tests/modules/csrf_race_test/csrf_race_test.routing.yml
csrf_test.info.yml file core/modules/system/tests/modules/csrf_test/csrf_test.info.yml core/modules/system/tests/modules/csrf_test/csrf_test.info.yml

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