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 |
---|---|---|---|
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 enable. |
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. |
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/ |
Contains \Drupal\Tests\Core\Access\AccessResultTest. |
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(). |
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.