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 |
---|---|---|---|
AccessibleTestingTrait::createAccessibleDouble | function | core/ |
Creates AccessibleInterface object from access result object for testing. |
AccessManagerTest | class | core/ |
@coversDefaultClass \Drupal\Core\Access\AccessManager @group Access |
AccessManagerTest.php | file | core/ |
|
AccessManagerTest::$accessManager | property | core/ |
The access manager to test. |
AccessManagerTest::$account | property | core/ |
The mocked account. |
AccessManagerTest::$argumentsResolverFactory | property | core/ |
The access arguments resolver. |
AccessManagerTest::$checkProvider | property | core/ |
|
AccessManagerTest::$container | property | core/ |
The dependency injection container. |
AccessManagerTest::$currentUser | property | core/ |
|
AccessManagerTest::$paramConverter | property | core/ |
The parameter converter. |
AccessManagerTest::$routeCollection | property | core/ |
The collection of routes, which are tested. |
AccessManagerTest::$routeProvider | property | core/ |
The route provider. |
AccessManagerTest::providerCheckException | function | core/ |
Data provider for testCheckException. |
AccessManagerTest::providerTestCheckConjunctions | function | core/ |
Provides data for the conjunction test. |
AccessManagerTest::setUp | function | core/ |
|
AccessManagerTest::setupAccessArgumentsResolverFactory | function | core/ |
Add default expectations to the access arguments resolver factory. |
AccessManagerTest::setupAccessChecker | function | core/ |
Adds a default access check service to the container and the access manager. |
AccessManagerTest::testCheck | function | core/ |
Tests \Drupal\Core\Access\AccessManager::check(). |
AccessManagerTest::testCheckConjunctions | function | core/ |
Tests \Drupal\Core\Access\AccessManager::check() with conjunctions. |
AccessManagerTest::testCheckException | function | core/ |
Tests that an access checker throws an exception for not allowed values. |
AccessManagerTest::testCheckNamedRoute | function | core/ |
Tests the checkNamedRoute method. |
AccessManagerTest::testCheckNamedRouteWithDefaultValue | function | core/ |
Tests the checkNamedRoute with default values. |
AccessManagerTest::testCheckNamedRouteWithNonExistingRoute | function | core/ |
Tests checkNamedRoute given an invalid/non existing route name. |
AccessManagerTest::testCheckNamedRouteWithUpcastedValues | function | core/ |
Tests the checkNamedRoute with upcasted values. |
AccessManagerTest::testCheckWithNullAccount | function | core/ |
Tests \Drupal\Core\Access\AccessManager::check() with no account specified. |
AccessManagerTest::testSetChecks | function | core/ |
Tests \Drupal\Core\Access\AccessManager::setChecks(). |
AccessManagerTest::testSetChecksWithDynamicAccessChecker | function | core/ |
Tests setChecks with a dynamic access checker. |
AccessPermissionTest | class | core/ |
Tests views perm access plugin. |
AccessPermissionTest.php | file | core/ |
|
AccessPermissionTest::$modules | property | core/ |
Modules to install. |
AccessPermissionTest::$normalUser | property | core/ |
A user with 'views_test_data test permission' permission. |
AccessPermissionTest::$testViews | property | core/ |
|
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. |
Pagination
- Previous page
- Page 2
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.