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 10.3.x for test
  5. Search main for test
  6. 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.
Test class core/modules/config/tests/config_constant_test/src/Test.php A test class.

All search results

Title Object type File name Summary
PermissionFilterTest::testPermissionFilter function core/modules/user/tests/src/FunctionalJavascript/PermissionFilterTest.php Tests that filter results announcement has correct pluralization.
PermissionHandlerTest class core/modules/user/tests/src/Unit/PermissionHandlerTest.php Tests the permission handler.
PermissionHandlerTest.php file core/modules/user/tests/src/Unit/PermissionHandlerTest.php
PermissionHandlerTest::$callableResolver property core/modules/user/tests/src/Unit/PermissionHandlerTest.php The mocked callable resolver.
PermissionHandlerTest::$moduleHandler property core/modules/user/tests/src/Unit/PermissionHandlerTest.php The mocked module handler.
PermissionHandlerTest::$permissionHandler property core/modules/user/tests/src/Unit/PermissionHandlerTest.php The tested permission handler.
PermissionHandlerTest::assertPermissions function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Checks that the permissions are like expected.
PermissionHandlerTest::mockModuleExtension function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Provides an extension object for a given module with a human name.
PermissionHandlerTest::setUp function core/modules/user/tests/src/Unit/PermissionHandlerTest.php
PermissionHandlerTest::testBuildPermissionsSortPerModule function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Tests permissions sort inside a module.
PermissionHandlerTest::testBuildPermissionsYaml function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Tests permissions provided by YML files.
PermissionHandlerTest::testBuildPermissionsYamlCallback function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Tests dynamic callback permissions provided by YML files.
PermissionHandlerTest::testPermissionsYamlStaticAndCallback function core/modules/user/tests/src/Unit/PermissionHandlerTest.php Tests a YAML file containing both static permissions and a callback.
PermissionsHashGeneratorTest class core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php Tests Drupal\Core\Session\PermissionsHashGenerator.
PermissionsHashGeneratorTest.php file core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php
PermissionsHashGeneratorTest::$account1 property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The mocked user 1 account.
PermissionsHashGeneratorTest::$account2 property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The mocked user 2 account.
PermissionsHashGeneratorTest::$permissionsHash property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The permission hash class being tested.
PermissionsHashGeneratorTest::$processor property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The mocked access policy processor.
PermissionsHashGeneratorTest::$staticCache property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The mocked cache backend.
PermissionsHashGeneratorTest::setUp function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php
PermissionsHashGeneratorTest::testGenerateAdmin function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php Tests the generate method for admin users.
PermissionsHashGeneratorTest::testGenerateCache function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php Tests the generate method's caching.
PermissionsHashGeneratorTest::testGenerateNoAccessPolicies function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php Tests the generate method with no access policies.
PermissionsHashGeneratorTest::testGenerateRegular function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php Tests the generate method for regular accounts.
PermissionsPerBundleTest class core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php Tests Permissions Per Bundle.
PermissionsPerBundleTest.php file core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php
PermissionsPerBundleTest::$modules property core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php
PermissionsPerBundleTest::applyRecipeFromString function core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php Given a string of `recipe.yml` contents, applies it to the site.
PermissionsPerBundleTest::setUp function core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php
PermissionsPerBundleTest::testActionIsOnlyAvailableToUserRoles function core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php Tests that the permissions-per-bundle action can only be applied to roles.
PermissionsPerBundleTest::testGrantPermissionsOnOneBundleThenAll function core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php Tests granting permissions for one bundle, then all of them.
PermissionsPerBundleTest::testGrantPermissionsPerBundle function core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php Tests granting multiple bundle-specific permissions.
PermissionsPerBundleTest::testGrantPermissionsToAllBundlesExceptSome function core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php Tests granting permissions for all bundles except certain ones.
PermissionsPerBundleTest::testInvalidValue function core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php Tests that there is an exception if the permission templates are invalid.
PermissionsTest class core/modules/user/tests/src/Unit/Plugin/views/field/PermissionsTest.php Tests Drupal\user\Plugin\views\field\Permissions.
PermissionsTest class core/modules/system/tests/src/Kernel/PermissionsTest.php Tests Permissions.
PermissionsTest.php file core/modules/system/tests/src/Kernel/PermissionsTest.php
PermissionsTest.php file core/modules/user/tests/src/Unit/Plugin/views/field/PermissionsTest.php
PermissionsTest::$modules property core/modules/system/tests/src/Kernel/PermissionsTest.php
PermissionsTest::setUp function core/modules/user/tests/src/Unit/Plugin/views/field/PermissionsTest.php
PermissionsTest::testAccessContentPermission function core/modules/system/tests/src/Kernel/PermissionsTest.php Tests the 'access content' permission is provided by the System module.
PermissionsTest::testPreRenderNullEntity function core/modules/user/tests/src/Unit/Plugin/views/field/PermissionsTest.php Tests the preRender method when getEntity returns NULL.
PgsqlCastedIntFieldJoinTest class core/modules/pgsql/tests/src/Kernel/pgsql/Plugin/views/PgsqlCastedIntFieldJoinTest.php Tests PostgreSQL specific cast handling.
PgsqlCastedIntFieldJoinTest.php file core/modules/pgsql/tests/src/Kernel/pgsql/Plugin/views/PgsqlCastedIntFieldJoinTest.php
PgsqlCastedIntFieldJoinTest::$castingType property core/modules/pgsql/tests/src/Kernel/pgsql/Plugin/views/PgsqlCastedIntFieldJoinTest.php The db type that should be used for casting fields as integers.
pgsql_test.info.yml file core/modules/system/tests/modules/pgsql_test/pgsql_test.info.yml core/modules/system/tests/modules/pgsql_test/pgsql_test.info.yml
pgsql_test.install file core/modules/system/tests/modules/pgsql_test/pgsql_test.install
pgsql_test_schema function core/modules/system/tests/modules/pgsql_test/pgsql_test.install Implements hook_schema().
PhpArrayContainerTest class core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php Tests Drupal\Component\DependencyInjection\PhpArrayContainer.

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