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 |
---|---|---|---|
AccessPermissionTest::$webUser | property | core/ |
A user with no special permissions. |
AccessPermissionTest::setUp | function | core/ |
|
AccessPermissionTest::testAccessPerm | function | core/ |
Tests perm access plugin. |
AccessPermissionTest::testRenderCaching | function | core/ |
Tests access on render caching. |
AccessPolicyProcessorTest | class | core/ |
Tests the AccessPolicyProcessor service. |
AccessPolicyProcessorTest.php | file | core/ |
|
AccessPolicyProcessorTest::accountSwitcherProvider | function | core/ |
Data provider for testAccountSwitcher(). |
AccessPolicyProcessorTest::cachingProvider | function | core/ |
Data provider for testCaching(). |
AccessPolicyProcessorTest::setUp | function | core/ |
|
AccessPolicyProcessorTest::setUpAccessPolicyProcessor | function | core/ |
Sets up the access policy processor. |
AccessPolicyProcessorTest::testAccountSwitcher | function | core/ |
Tests if the account switcher switches properly when user cache context is present. |
AccessPolicyProcessorTest::testAlterPermissions | function | core/ |
Tests that access policies can alter the final result. |
AccessPolicyProcessorTest::testAlterPermissionsNoApply | function | core/ |
Tests that alters that do not apply are not processed. |
AccessPolicyProcessorTest::testCacheContextCaching | function | core/ |
Tests that the persistent cache contexts are added properly. |
AccessPolicyProcessorTest::testCacheContexts | function | core/ |
Tests that only the cache contexts for policies that apply are added. |
AccessPolicyProcessorTest::testCaching | function | core/ |
Tests if the caches are called correctly. |
AccessPolicyProcessorTest::testCalculatePermissions | function | core/ |
Tests that access policies are properly processed. |
AccessPolicyProcessorTest::testCalculatePermissionsNoApply | function | core/ |
Tests that access policies that do not apply are not processed. |
AccessPolicyProcessorTest::testEmptyCalculator | function | core/ |
Tests that access policies which do nothing are properly processed. |
AccessPolicyProcessorTest::testMultipleScopeAlterException | function | core/ |
Tests the multiple scopes exception. |
AccessPolicyProcessorTest::testMultipleScopeException | function | core/ |
Tests the multiple scopes exception. |
AccessPolicyProcessorTest::testNoCalculators | function | core/ |
Tests that everything works if no access policies are present. |
AccessPolicyProcessorTest::testWrongScopeException | function | core/ |
Tests the wrong scope exception. |
AccessResultForbiddenTest | class | core/ |
@coversDefaultClass \Drupal\Core\Access\AccessResultForbidden @group Access |
AccessResultForbiddenTest.php | file | core/ |
|
AccessResultForbiddenTest::testConstruction | function | core/ |
Tests the construction of an AccessResultForbidden object. |
AccessResultForbiddenTest::testSetReason | function | core/ |
Tests setReason() |
AccessResultNeutralTest | class | core/ |
@coversDefaultClass \Drupal\Core\Access\AccessResultNeutral @group Access |
AccessResultNeutralTest.php | file | core/ |
|
AccessResultNeutralTest::testConstruction | function | core/ |
Tests the construction of an AccessResultForbidden object. |
AccessResultNeutralTest::testSetReason | function | core/ |
Tests setReason() |
AccessResultTest | class | core/ |
@coversDefaultClass \Drupal\Core\Access\AccessResult @group Access |
AccessResultTest.php | file | core/ |
|
AccessResultTest::$cacheContextsManager | property | core/ |
The cache contexts manager. |
AccessResultTest::andOrCacheabilityPropagationProvider | function | core/ |
Provides a list of access result pairs and operations to test. |
AccessResultTest::assertDefaultCacheability | function | core/ |
@internal |
AccessResultTest::providerTestAllowedIfHasPermissions | function | core/ |
Provides data for the testAllowedIfHasPermissions() method. |
AccessResultTest::setUp | function | core/ |
|
AccessResultTest::testAccessAllowed | function | core/ |
@covers ::allowed @covers ::isAllowed @covers ::isForbidden @covers ::isNeutral |
AccessResultTest::testAccessConditionallyAllowed | function | core/ |
@covers ::allowedIf @covers ::isAllowed @covers ::isForbidden @covers ::isNeutral |
AccessResultTest::testAccessConditionallyForbidden | function | core/ |
@covers ::forbiddenIf @covers ::isAllowed @covers ::isForbidden @covers ::isNeutral |
AccessResultTest::testAccessForbidden | function | core/ |
@covers ::forbidden @covers ::isAllowed @covers ::isForbidden @covers ::isNeutral |
AccessResultTest::testAccessForbiddenReason | function | core/ |
@covers ::forbidden |
AccessResultTest::testAllowedIfHasPermissions | function | core/ |
Tests allowedIfHasPermissions(). |
AccessResultTest::testAndIf | function | core/ |
@covers ::andIf |
AccessResultTest::testAndOrCacheabilityPropagation | function | core/ |
@covers ::andIf @covers ::orIf @covers ::inheritCacheability |
AccessResultTest::testCacheContexts | function | core/ |
@covers ::addCacheContexts @covers ::resetCacheContexts @covers ::getCacheContexts @covers ::cachePerPermissions @covers ::cachePerUser @covers ::allowedIfHasPermission |
AccessResultTest::testCacheMaxAge | function | core/ |
@covers ::setCacheMaxAge @covers ::getCacheMaxAge |
AccessResultTest::testCacheTags | function | core/ |
@covers ::addCacheTags @covers ::addCacheableDependency @covers ::getCacheTags @covers ::resetCacheTags |
AccessResultTest::testConstruction | function | core/ |
Tests the construction of an AccessResult object. |
Pagination
- Previous page
- Page 3
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.