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.

All search results

Title Object type File name Summary
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 Modules to install.
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 Modules to install.
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.
PhpArrayContainerTest.php file core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php
PhpArrayContainerTest::getCollection function core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php Helper function to return a machine-optimized '@notation'.
PhpArrayContainerTest::getParameterCall function core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php Helper function to return a service definition.
PhpArrayContainerTest::getServiceCall function core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php Helper function to return a service definition.
PhpArrayContainerTest::setUp function core/tests/Drupal/Tests/Component/DependencyInjection/PhpArrayContainerTest.php
PhpArrayDumperTest class core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/PhpArrayDumperTest.php Tests Drupal\Component\DependencyInjection\Dumper\PhpArrayDumper.
PhpArrayDumperTest.php file core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/PhpArrayDumperTest.php
PhpArrayDumperTest::getCollection function core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/PhpArrayDumperTest.php Helper function to return a machine-optimized collection.
PhpArrayDumperTest::getParameterCall function core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/PhpArrayDumperTest.php Helper function to return a parameter definition.
PhpArrayDumperTest::getServiceCall function core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/PhpArrayDumperTest.php Helper function to return a service definition.
PhpArrayDumperTest::serializeDefinition function core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/PhpArrayDumperTest.php Helper function to serialize a definition.
PhpArrayDumperTest::setUp function core/tests/Drupal/Tests/Component/DependencyInjection/Dumper/PhpArrayDumperTest.php
PhpBackendTest class core/tests/Drupal/KernelTests/Core/Cache/PhpBackendTest.php Unit test of the PHP cache backend using the generic cache unit test base.
PhpBackendTest.php file core/tests/Drupal/KernelTests/Core/Cache/PhpBackendTest.php

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