Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
ChainRouterTest.php
»
ChainRouterTest
»
ChainRouterTest::createRouterMocks
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
18 calls to ChainRouterTest::createRouterMocks()
ChainRouterTest::testContext
in drupal/
core/
vendor/
symfony-cmf/
routing/
Symfony/
Cmf/
Component/
Routing/
Tests/
Routing/
ChainRouterTest.php
context must be propagated to chained routers and be stored locally
ChainRouterTest::testContextOrder
in drupal/
core/
vendor/
symfony-cmf/
routing/
Symfony/
Cmf/
Component/
Routing/
Tests/
Routing/
ChainRouterTest.php
context must be propagated also when routers are added after context is set
ChainRouterTest::testGenerate
in drupal/
core/
vendor/
symfony-cmf/
routing/
Symfony/
Cmf/
Component/
Routing/
Tests/
Routing/
ChainRouterTest.php
ChainRouterTest::testGenerateNotFound
in drupal/
core/
vendor/
symfony-cmf/
routing/
Symfony/
Cmf/
Component/
Routing/
Tests/
Routing/
ChainRouterTest.php
@expectedException
\Symfony\Component\Routing\Exception\RouteNotFoundException
ChainRouterTest::testMatch
in drupal/
core/
vendor/
symfony-cmf/
routing/
Symfony/
Cmf/
Component/
Routing/
Tests/
Routing/
ChainRouterTest.php
The first usable match is used, no further routers are queried once a match is found
ChainRouterTest::testMatchAndNotAllowed
in drupal/
core/
vendor/
symfony-cmf/
routing/
Symfony/
Cmf/
Component/
Routing/
Tests/
Routing/
ChainRouterTest.php
If there is a method not allowed but another router matches, that one is used
ChainRouterTest::testMatchMethodNotAllowed
in drupal/
core/
vendor/
symfony-cmf/
routing/
Symfony/
Cmf/
Component/
Routing/
Tests/
Routing/
ChainRouterTest.php
If any of the routers throws a not allowed exception and no other matches, we need to see this
ChainRouterTest::testMatchNotFound
in drupal/
core/
vendor/
symfony-cmf/
routing/
Symfony/
Cmf/
Component/
Routing/
Tests/
Routing/
ChainRouterTest.php
@expectedException
\Symfony\Component\Routing\Exception\ResourceNotFoundException
ChainRouterTest::testMatchRequest
in drupal/
core/
vendor/
symfony-cmf/
routing/
Symfony/
Cmf/
Component/
Routing/
Tests/
Routing/
ChainRouterTest.php
The first usable match is used, no further routers are queried once a match is found
ChainRouterTest::testMatchRequestAndNotAllowed
in drupal/
core/
vendor/
symfony-cmf/
routing/
Symfony/
Cmf/
Component/
Routing/
Tests/
Routing/
ChainRouterTest.php
If there is a method not allowed but another router matches, that one is used
ChainRouterTest::testMatchRequestMethodNotAllowed
in drupal/
core/
vendor/
symfony-cmf/
routing/
Symfony/
Cmf/
Component/
Routing/
Tests/
Routing/
ChainRouterTest.php
If any of the routers throws a not allowed exception and no other matches, we need to see this
ChainRouterTest::testMatchRequestNotFound
in drupal/
core/
vendor/
symfony-cmf/
routing/
Symfony/
Cmf/
Component/
Routing/
Tests/
Routing/
ChainRouterTest.php
@expectedException
\Symfony\Component\Routing\Exception\ResourceNotFoundException
ChainRouterTest::testMatchWithRequestMatchers
in drupal/
core/
vendor/
symfony-cmf/
routing/
Symfony/
Cmf/
Component/
Routing/
Tests/
Routing/
ChainRouterTest.php
Call match on ChainRouter that has RequestMatcher in the chain.
ChainRouterTest::testPriority
in drupal/
core/
vendor/
symfony-cmf/
routing/
Symfony/
Cmf/
Component/
Routing/
Tests/
Routing/
ChainRouterTest.php
ChainRouterTest::testReSortRouters
in drupal/
core/
vendor/
symfony-cmf/
routing/
Symfony/
Cmf/
Component/
Routing/
Tests/
Routing/
ChainRouterTest.php
This test ensures that if a router is being added on the fly, the sorting is reset.
ChainRouterTest::testRouteCollection
in drupal/
core/
vendor/
symfony-cmf/
routing/
Symfony/
Cmf/
Component/
Routing/
Tests/
Routing/
ChainRouterTest.php
ChainRouterTest::testSortRouters
in drupal/
core/
vendor/
symfony-cmf/
routing/
Symfony/
Cmf/
Component/
Routing/
Tests/
Routing/
ChainRouterTest.php
Routers are supposed to be sorted only once. This test will check that by trying to get all routers several times.
ChainRouterTest::testWarmup
in drupal/
core/
vendor/
symfony-cmf/
routing/
Symfony/
Cmf/
Component/
Routing/
Tests/
Routing/
ChainRouterTest.php