namespace Drupal\Tests\Core\Routing

Same name in other branches
  1. 9 Drupal\Tests\Core\Routing
  2. 8.9.x Drupal\Tests\Core\Routing
  3. 11.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[[api-linebreak]]
@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[[api-linebreak]]
@group Routing
LazyRouteCollectionTest core/tests/Drupal/Tests/Core/Routing/LazyRouteCollectionTest.php @coversDefaultClass \Drupal\Core\Routing\LazyRouteCollection[[api-linebreak]]
MethodFilterTest core/tests/Drupal/Tests/Core/Routing/MethodFilterTest.php @coversDefaultClass \Drupal\Core\Routing\MethodFilter[[api-linebreak]]
@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[[api-linebreak]]
@group Routing
RedirectDestinationTest core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php @coversDefaultClass \Drupal\Core\Routing\RedirectDestination[[api-linebreak]]
@group Routing
RequestFormatRouteFilterTest core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php @coversDefaultClass \Drupal\Core\Routing\RequestFormatRouteFilter[[api-linebreak]]
@group Routing
RouteBuilderTest core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php @coversDefaultClass \Drupal\Core\Routing\RouteBuilder[[api-linebreak]]
@group Routing
RouteCompilerTest core/tests/Drupal/Tests/Core/Routing/RouteCompilerTest.php @coversDefaultClass \Drupal\Core\Routing\RouteCompiler[[api-linebreak]]
@group Routing
RouteMatchTest core/tests/Drupal/Tests/Core/Routing/RouteMatchTest.php @coversDefaultClass \Drupal\Core\Routing\RouteMatch[[api-linebreak]]
@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[[api-linebreak]]
@group Routing
RouterTest core/tests/Drupal/Tests/Core/Routing/RouterTest.php @coversDefaultClass \Drupal\Core\Routing\Router[[api-linebreak]]
@group Routing
RouterUnsupportedTest core/tests/Drupal/Tests/Core/Routing/RouterUnsupportedTest.php @coversDefaultClass \Drupal\Core\Routing\Router[[api-linebreak]]
@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[[api-linebreak]]
@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.