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
RouteProviderTest::testRouteCaching function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Tests that route caching works.
RouterPermissionTest class core/modules/system/tests/src/Functional/Routing/RouterPermissionTest.php Function Tests for the routing permission system.
RouterPermissionTest.php file core/modules/system/tests/src/Functional/Routing/RouterPermissionTest.php
RouterPermissionTest::$defaultTheme property core/modules/system/tests/src/Functional/Routing/RouterPermissionTest.php The theme to install as the default for testing.
RouterPermissionTest::$modules property core/modules/system/tests/src/Functional/Routing/RouterPermissionTest.php Modules to install.
RouterPermissionTest::testPermissionAccess function core/modules/system/tests/src/Functional/Routing/RouterPermissionTest.php Tests permission requirements on routes.
RouterTest class core/modules/system/tests/src/Functional/Routing/RouterTest.php Functional class for the full integrated routing system.
RouterTest class core/tests/Drupal/Tests/Core/Routing/RouterTest.php @coversDefaultClass \Drupal\Core\Routing\Router[[api-linebreak]]
@group Routing
RouterTest.php file core/tests/Drupal/Tests/Core/Routing/RouterTest.php
RouterTest.php file core/modules/system/tests/src/Functional/Routing/RouterTest.php
RouterTest::$defaultTheme property core/modules/system/tests/src/Functional/Routing/RouterTest.php The theme to install as the default for testing.
RouterTest::$modules property core/modules/system/tests/src/Functional/Routing/RouterTest.php Modules to install.
RouterTest::testControllerPlaceholders function core/modules/system/tests/src/Functional/Routing/RouterTest.php Confirms that placeholders in paths work correctly.
RouterTest::testControllerPlaceholdersDefaultValues function core/modules/system/tests/src/Functional/Routing/RouterTest.php Confirms that default placeholders in paths work correctly.
RouterTest::testControllerPlaceholdersDefaultValuesProvided function core/modules/system/tests/src/Functional/Routing/RouterTest.php Confirms that default placeholders in paths work correctly.
RouterTest::testControllerResolutionAjax function core/modules/system/tests/src/Functional/Routing/RouterTest.php Checks that an ajax request gets rendered as an Ajax response, by mime.
RouterTest::testControllerResolutionPage function core/modules/system/tests/src/Functional/Routing/RouterTest.php Checks that a request with text/html response gets rendered as a page.
RouterTest::testDuplicateRoutePaths function core/modules/system/tests/src/Functional/Routing/RouterTest.php Confirms that multiple routes with the same path do not cause an error.
RouterTest::testDynamicRoutes function core/modules/system/tests/src/Functional/Routing/RouterTest.php Checks that dynamically defined and altered routes work correctly.
RouterTest::testFinishResponseSubscriber function core/modules/system/tests/src/Functional/Routing/RouterTest.php Confirms that our FinishResponseSubscriber logic works properly.
RouterTest::testMatchesWithDifferentFitOrder function core/tests/Drupal/Tests/Core/Routing/RouterTest.php @covers ::applyFitOrder[[api-linebreak]]
RouterTest::testRouterMatching function core/modules/system/tests/src/Functional/Routing/RouterTest.php Tests that a page trying to match a path will succeed.
RouterTest::testRouterResponsePsr7 function core/modules/system/tests/src/Functional/Routing/RouterTest.php Tests that a PSR-7 response works.
RouterTest::testRouterUninstallInstall function core/modules/system/tests/src/Functional/Routing/RouterTest.php Tests that routes no longer exist for a module that has been uninstalled.
RouterTest::testSuccessiveSlashes function core/modules/system/tests/src/Functional/Routing/RouterTest.php Ensure that multiple successive slashes are redirected.
RouterTest::testUrlGeneratorFront function core/modules/system/tests/src/Functional/Routing/RouterTest.php Checks the generate method on the URL generator using the front router.
RouterTest::testUserAccount function core/modules/system/tests/src/Functional/Routing/RouterTest.php Tests the user account on the DIC.
RouterTestEarlyExceptionSubscriber class core/modules/system/tests/modules/router_test_directory/src/RouterTestEarlyExceptionSubscriber.php Event subscribers for exceptions thrown in early kernel middleware.
RouterTestEarlyExceptionSubscriber.php file core/modules/system/tests/modules/router_test_directory/src/RouterTestEarlyExceptionSubscriber.php
RouterTestEarlyExceptionSubscriber::getSubscribedEvents function core/modules/system/tests/modules/router_test_directory/src/RouterTestEarlyExceptionSubscriber.php
RouterTestEarlyExceptionSubscriber::onKernelRequest function core/modules/system/tests/modules/router_test_directory/src/RouterTestEarlyExceptionSubscriber.php Throw an exception, which will trigger exception-handling subscribers.
RouterTestServiceProvider class core/modules/system/tests/modules/router_test_directory/src/RouterTestServiceProvider.php Registers a dynamic route provider.
RouterTestServiceProvider.php file core/modules/system/tests/modules/router_test_directory/src/RouterTestServiceProvider.php
RouterTestServiceProvider::register function core/modules/system/tests/modules/router_test_directory/src/RouterTestServiceProvider.php Registers services to the container.
RouterUnsupportedTest class core/tests/Drupal/Tests/Core/Routing/RouterUnsupportedTest.php @coversDefaultClass \Drupal\Core\Routing\Router[[api-linebreak]]
@group Routing
@group legacy
RouterUnsupportedTest.php file core/tests/Drupal/Tests/Core/Routing/RouterUnsupportedTest.php
RouterUnsupportedTest::testDeprecatedAdd function core/tests/Drupal/Tests/Core/Routing/RouterUnsupportedTest.php @covers ::addDeprecatedRouteFilter[[api-linebreak]]
@covers ::addDeprecatedRouteEnhancer[[api-linebreak]]
RouterUnsupportedTest::testGenerateUnsupported function core/tests/Drupal/Tests/Core/Routing/RouterUnsupportedTest.php @covers ::generate[[api-linebreak]]
router_installer_test.info.yml file core/modules/system/tests/modules/router_installer_test/router_installer_test.info.yml core/modules/system/tests/modules/router_installer_test/router_installer_test.info.yml
router_installer_test.module file core/modules/system/tests/modules/router_installer_test/router_installer_test.module Install, update and uninstall functions for the router_installer_test module.
router_installer_test.routing.yml file core/modules/system/tests/modules/router_installer_test/router_installer_test.routing.yml core/modules/system/tests/modules/router_installer_test/router_installer_test.routing.yml
router_installer_test_modules_installed function core/modules/system/tests/modules/router_installer_test/router_installer_test.module Implements hook_modules_installed().
router_test.info.yml file core/modules/system/tests/modules/router_test_directory/router_test.info.yml core/modules/system/tests/modules/router_test_directory/router_test.info.yml
router_test.install file core/modules/system/tests/modules/router_test_directory/router_test.install Install, update and uninstall functions for the router_test module.
router_test.module file core/modules/system/tests/modules/router_test_directory/router_test.module Test module.
router_test.permissions.yml file core/modules/system/tests/modules/router_test_directory/router_test.permissions.yml core/modules/system/tests/modules/router_test_directory/router_test.permissions.yml
router_test.routing.yml file core/modules/system/tests/modules/router_test_directory/router_test.routing.yml core/modules/system/tests/modules/router_test_directory/router_test.routing.yml
router_test_install function core/modules/system/tests/modules/router_test_directory/router_test.install Implements hook_install().
router_test_preprocess_page function core/modules/system/tests/modules/router_test_directory/router_test.module Implements hook_preprocess_HOOK().
RoutesTest class core/modules/jsonapi/tests/src/Unit/Routing/RoutesTest.php @coversDefaultClass \Drupal\jsonapi\Routing\Routes[[api-linebreak]]
@group jsonapi

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