namespace Drupal\Tests\Core\Routing

Same name in other branches
  1. 11.x Drupal\Tests\Core\Routing
  2. 9 Drupal\Tests\Core\Routing
  3. 8.9.x Drupal\Tests\Core\Routing
Object name File name Summary
AcceptHeaderMatcherTest core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php Confirm that the mime types partial matcher is functioning properly.
AccessAwareRouterTest core/tests/Drupal/Tests/Core/Routing/AccessAwareRouterTest.php @coversDefaultClass \Drupal\Core\Routing\AccessAwareRouter
@group Routing
ContentTypeHeaderMatcherTest core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php Confirm that the content types partial matcher is functioning properly.
CurrentRouteMatchTest core/tests/Drupal/Tests/Core/Routing/CurrentRouteMatchTest.php @coversDefaultClass \Drupal\Core\Routing\CurrentRouteMatch
@group Routing
LazyRouteCollectionTest core/tests/Drupal/Tests/Core/Routing/LazyRouteCollectionTest.php @coversDefaultClass \Drupal\Core\Routing\LazyRouteCollection
MethodFilterTest core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php @coversDefaultClass \Drupal\Core\Routing\MethodFilter
@group Routing
MockRouterInterface core/tests/Drupal/Tests/Core/Routing/AccessAwareRouterTest.php Interface used in the mocking process of this test.
PathChangedHelperTest core/tests/Drupal/Tests/Core/Routing/PathChangedHelperTest.php @coversDefaultClass \Drupal\Core\Routing\PathChangedHelper
@group Routing
RedirectDestinationTest core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php @coversDefaultClass \Drupal\Core\Routing\RedirectDestination
@group Routing
RequestFormatRouteFilterTest core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php @coversDefaultClass \Drupal\Core\Routing\RequestFormatRouteFilter
@group Routing
RouteBuilderTest core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php @coversDefaultClass \Drupal\Core\Routing\RouteBuilder
@group Routing
RouteCompilerTest core/tests/Drupal/Tests/Core/Routing/RouteCompilerTest.php @coversDefaultClass \Drupal\Core\Routing\RouteCompiler
@group Routing
RouteMatchTest core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php @coversDefaultClass \Drupal\Core\Routing\RouteMatch
@group Routing
RouteMatchTestBase core/tests/Drupal/Tests/Core/Routing/RouteMatchTestBase.php Base test class for testing classes implementing the route match interface.
RoutePreloaderTest core/tests/Drupal/Tests/Core/Routing/RoutePreloaderTest.php @coversDefaultClass \Drupal\Core\Routing\RoutePreloader
@group Routing
RouterTest core/tests/Drupal/Tests/Core/Routing/RouterTest.php @coversDefaultClass \Drupal\Core\Routing\Router
@group Routing
RouterUnsupportedTest core/tests/Drupal/Tests/Core/Routing/RouterUnsupportedTest.php @coversDefaultClass \Drupal\Core\Routing\Router
@group Routing
@group legacy
RoutingFixtures core/tests/Drupal/Tests/Core/Routing/RoutingFixtures.php Utility methods to generate sample data, database configuration, etc.
TestRouteBuilder core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php Extends the core route builder with a setter method for the YAML discovery.
TestRouterInterface core/tests/Drupal/Tests/Core/Routing/TestRouterInterface.php Provides a router interface that also can match requests.
TestRouteSubscriber core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php Provides a callback for route definition.
TrustedRedirectResponseTest core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php @coversDefaultClass \Drupal\Core\Routing\TrustedRedirectResponse
@group Routing
UrlGeneratorTest core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Confirm that the UrlGenerator is functioning properly.

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