Search for test
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Test | class | core/ |
Provides test media source. |
Test | class | core/ |
Defines a test controller for page titles. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
CronTest::setUp | function | core/ |
|
CronTest::testProcessQueues | function | core/ |
Tests the ::processQueues() method. |
CronTest::testRequeueException | function | core/ |
Verify that RequeueException causes an item to be processed multiple times. |
cron_queue_test.info.yml | file | core/ |
core/modules/system/tests/modules/cron_queue_test/cron_queue_test.info.yml |
CryptTest | class | core/ |
Tests random byte generation. |
CryptTest.php | file | core/ |
|
CryptTest::providerTestHashBase64 | function | core/ |
Provides data for self::testHashBase64(). |
CryptTest::providerTestHmacBase64 | function | core/ |
Provides data for self::testHmacBase64(). |
CryptTest::providerTestHmacBase64Invalid | function | core/ |
Provides data for self::testHmacBase64(). |
CryptTest::testHashBase64 | function | core/ |
Tests hash generation. |
CryptTest::testHmacBase64 | function | core/ |
Tests HMAC generation. |
CryptTest::testHmacBase64Invalid | function | core/ |
Tests the hmacBase64 method with invalid parameters. |
CsrfAccessCheckTest | class | core/ |
@coversDefaultClass \Drupal\Core\Access\CsrfAccessCheck[[api-linebreak]] @group Access |
CsrfAccessCheckTest.php | file | core/ |
|
CsrfAccessCheckTest::$accessCheck | property | core/ |
The access checker. |
CsrfAccessCheckTest::$csrfToken | property | core/ |
The mock CSRF token generator. |
CsrfAccessCheckTest::$parameterBag | property | core/ |
The mock parameter bag. |
CsrfAccessCheckTest::$routeMatch | property | core/ |
The mock route match. |
CsrfAccessCheckTest::setUp | function | core/ |
|
CsrfAccessCheckTest::testAccessTokenPass | function | core/ |
Tests the access() method with a valid token. |
CsrfAccessCheckTest::testCsrfTokenInvalid | function | core/ |
@covers ::access[[api-linebreak]] |
CsrfAccessCheckTest::testCsrfTokenMissing | function | core/ |
@covers ::access[[api-linebreak]] |
CsrfRequestHeaderTest | class | core/ |
Tests protecting routes by requiring CSRF token in the request header. |
CsrfRequestHeaderTest.php | file | core/ |
|
CsrfRequestHeaderTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
CsrfRequestHeaderTest::$modules | property | core/ |
Modules to install. |
CsrfRequestHeaderTest::testRouteAccess | function | core/ |
Tests access to routes protected by CSRF request header requirements. |
CsrfTokenGeneratorTest | class | core/ |
Tests the CsrfTokenGenerator class. |
CsrfTokenGeneratorTest.php | file | core/ |
|
CsrfTokenGeneratorTest::$generator | property | core/ |
The CSRF token generator. |
CsrfTokenGeneratorTest::$privateKey | property | core/ |
The mock private key instance. |
CsrfTokenGeneratorTest::$sessionMetadata | property | core/ |
The mock session metadata bag. |
CsrfTokenGeneratorTest::providerTestInvalidParameterTypes | function | core/ |
Provides data for testInvalidParameterTypes. |
CsrfTokenGeneratorTest::providerTestValidateParameterTypes | function | core/ |
Provides data for testValidateParameterTypes. |
CsrfTokenGeneratorTest::setUp | function | core/ |
|
CsrfTokenGeneratorTest::setupDefaultExpectations | function | core/ |
Set up default expectations on the mocks. |
CsrfTokenGeneratorTest::testGenerateSeedOnGet | function | core/ |
Tests that a new token seed is generated upon first use. |
CsrfTokenGeneratorTest::testGet | function | core/ |
Tests CsrfTokenGenerator::get(). |
CsrfTokenGeneratorTest::testGetWithNoHashSalt | function | core/ |
Tests the exception thrown when no 'hash_salt' is provided in settings. |
CsrfTokenGeneratorTest::testInvalidParameterTypes | function | core/ |
Tests CsrfTokenGenerator::validate() with invalid parameter types. |
CsrfTokenGeneratorTest::testValidate | function | core/ |
Tests CsrfTokenGenerator::validate(). |
CsrfTokenGeneratorTest::testValidateParameterTypes | function | core/ |
Tests CsrfTokenGenerator::validate() with different parameter types. |
CsrfTokenRaceTest | class | core/ |
Test race condition for CSRF tokens for simultaneous requests. |
CsrfTokenRaceTest.php | file | core/ |
|
CsrfTokenRaceTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
CsrfTokenRaceTest::$modules | property | core/ |
Modules to install. |
CsrfTokenRaceTest::testCsrfRace | function | core/ |
Tests race condition for CSRF tokens for simultaneous requests. |
csrf_race_test.info.yml | file | core/ |
core/modules/system/tests/modules/csrf_race_test/csrf_race_test.info.yml |
csrf_race_test.routing.yml | file | core/ |
core/modules/system/tests/modules/csrf_race_test/csrf_race_test.routing.yml |
csrf_test.info.yml | file | core/ |
core/modules/system/tests/modules/csrf_test/csrf_test.info.yml |
Pagination
- Previous page
- Page 158
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.