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 11.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
AccessPolicyProcessorTest::testEmptyCalculator function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Tests that access policies which do nothing are properly processed.
AccessPolicyProcessorTest::testMultipleScopeAlterException function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Tests the multiple scopes exception.
AccessPolicyProcessorTest::testMultipleScopeException function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Tests the multiple scopes exception.
AccessPolicyProcessorTest::testNoCalculators function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Tests that everything works if no access policies are present.
AccessPolicyProcessorTest::testWrongScopeException function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Tests the wrong scope exception.
AccessResultForbiddenTest class core/tests/Drupal/Tests/Core/Access/AccessResultForbiddenTest.php @coversDefaultClass \Drupal\Core\Access\AccessResultForbidden[[api-linebreak]]
@group Access
AccessResultForbiddenTest.php file core/tests/Drupal/Tests/Core/Access/AccessResultForbiddenTest.php
AccessResultForbiddenTest::testConstruction function core/tests/Drupal/Tests/Core/Access/AccessResultForbiddenTest.php Tests the construction of an AccessResultForbidden object.
AccessResultForbiddenTest::testSetReason function core/tests/Drupal/Tests/Core/Access/AccessResultForbiddenTest.php Tests setReason()
AccessResultNeutralTest class core/tests/Drupal/Tests/Core/Access/AccessResultNeutralTest.php @coversDefaultClass \Drupal\Core\Access\AccessResultNeutral[[api-linebreak]]
@group Access
AccessResultNeutralTest.php file core/tests/Drupal/Tests/Core/Access/AccessResultNeutralTest.php
AccessResultNeutralTest::testConstruction function core/tests/Drupal/Tests/Core/Access/AccessResultNeutralTest.php Tests the construction of an AccessResultForbidden object.
AccessResultNeutralTest::testSetReason function core/tests/Drupal/Tests/Core/Access/AccessResultNeutralTest.php Tests setReason()
AccessResultTest class core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @coversDefaultClass \Drupal\Core\Access\AccessResult[[api-linebreak]]
@group Access
AccessResultTest.php file core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
AccessResultTest::$cacheContextsManager property core/tests/Drupal/Tests/Core/Access/AccessResultTest.php The cache contexts manager.
AccessResultTest::andOrCacheabilityPropagationProvider function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php Provides a list of access result pairs and operations to test.
AccessResultTest::assertDefaultCacheability function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @internal
AccessResultTest::providerTestAllowedIfHasPermissions function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php Provides data for the testAllowedIfHasPermissions() method.
AccessResultTest::setUp function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
AccessResultTest::testAccessAllowed function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::allowed[[api-linebreak]]
@covers ::isAllowed[[api-linebreak]]
@covers ::isForbidden[[api-linebreak]]
@covers ::isNeutral[[api-linebreak]]
AccessResultTest::testAccessConditionallyAllowed function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::allowedIf[[api-linebreak]]
@covers ::isAllowed[[api-linebreak]]
@covers ::isForbidden[[api-linebreak]]
@covers ::isNeutral[[api-linebreak]]
AccessResultTest::testAccessConditionallyForbidden function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::forbiddenIf[[api-linebreak]]
@covers ::isAllowed[[api-linebreak]]
@covers ::isForbidden[[api-linebreak]]
@covers ::isNeutral[[api-linebreak]]
AccessResultTest::testAccessForbidden function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::forbidden[[api-linebreak]]
@covers ::isAllowed[[api-linebreak]]
@covers ::isForbidden[[api-linebreak]]
@covers ::isNeutral[[api-linebreak]]
AccessResultTest::testAccessForbiddenReason function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::forbidden[[api-linebreak]]
AccessResultTest::testAllowedIfHasPermissions function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php Tests allowedIfHasPermissions().
AccessResultTest::testAndIf function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::andIf[[api-linebreak]]
AccessResultTest::testAndOrCacheabilityPropagation function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::andIf[[api-linebreak]]
@covers ::orIf[[api-linebreak]]
@covers ::inheritCacheability[[api-linebreak]]
AccessResultTest::testCacheContexts function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::addCacheContexts[[api-linebreak]]
@covers ::resetCacheContexts[[api-linebreak]]
@covers ::getCacheContexts[[api-linebreak]]
@covers ::cachePerPermissions[[api-linebreak]]
@covers ::cachePerUser[[api-linebreak]]
@covers…
AccessResultTest::testCacheMaxAge function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::setCacheMaxAge[[api-linebreak]]
@covers ::getCacheMaxAge[[api-linebreak]]
AccessResultTest::testCacheTags function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::addCacheTags[[api-linebreak]]
@covers ::addCacheableDependency[[api-linebreak]]
@covers ::getCacheTags[[api-linebreak]]
@covers ::resetCacheTags[[api-linebreak]]
AccessResultTest::testConstruction function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php Tests the construction of an AccessResult object.
AccessResultTest::testInheritCacheability function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::inheritCacheability[[api-linebreak]]
AccessResultTest::testOrIf function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::orIf[[api-linebreak]]
AccessResultTest::testOrIfCacheabilityMerging function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::orIf[[api-linebreak]]
AccessRoleTest class core/modules/user/tests/src/Functional/Views/AccessRoleTest.php Tests views role access plugin.
AccessRoleTest.php file core/modules/user/tests/src/Functional/Views/AccessRoleTest.php
AccessRoleTest::$defaultTheme property core/modules/user/tests/src/Functional/Views/AccessRoleTest.php The theme to install as the default for testing.
AccessRoleTest::$testViews property core/modules/user/tests/src/Functional/Views/AccessRoleTest.php Views used by this test.
AccessRoleTest::setUp function core/modules/user/tests/src/Functional/Views/AccessRoleTest.php Sets up the test.
AccessRoleTest::testAccessRole function core/modules/user/tests/src/Functional/Views/AccessRoleTest.php Tests role access plugin.
AccessRoleTest::testRenderCaching function core/modules/user/tests/src/Functional/Views/AccessRoleTest.php Tests access on render caching.
AccessRoleUITest class core/modules/user/tests/src/Functional/AccessRoleUITest.php Tests views role access plugin UI.
AccessRoleUITest.php file core/modules/user/tests/src/Functional/AccessRoleUITest.php
AccessRoleUITest::$defaultTheme property core/modules/user/tests/src/Functional/AccessRoleUITest.php The theme to install as the default for testing.
AccessRoleUITest::$modules property core/modules/user/tests/src/Functional/AccessRoleUITest.php Modules to install.
AccessRoleUITest::$testViews property core/modules/user/tests/src/Functional/AccessRoleUITest.php Views used by this test.
AccessRoleUITest::setUp function core/modules/user/tests/src/Functional/AccessRoleUITest.php Sets up the test.
AccessRoleUITest::testAccessRoleUI function core/modules/user/tests/src/Functional/AccessRoleUITest.php Tests the role access plugin UI.
AccessTest class core/modules/views/tests/src/Functional/Plugin/AccessTest.php Tests pluggable access for views.

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