Drupal 8  8.0.2
RoutePreloaderTest Class Reference
Inheritance diagram for RoutePreloaderTest:

Public Member Functions

 testOnAlterRoutesWithAdminRoutes ()
 
 testOnAlterRoutesWithAdminPathNoAdminRoute ()
 
 testOnAlterRoutesWithNonAdminRoutes ()
 
 testOnRequestNonHtml ()
 
 testOnRequestOnHtml ()
 
- Public Member Functions inherited from UnitTestCase
 randomMachineName ($length=8)
 
 getConfigFactoryStub (array $configs=array())
 
 getConfigStorageStub (array $configs)
 
 getStringTranslationStub ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from UnitTestCase
 setUp ()
 
 getRandomGenerator ()
 
 assertArrayEquals (array $expected, array $actual, $message=NULL)
 
 getBlockMockWithMachineName ($machine_name)
 
 getContainerWithCacheTagsInvalidator (CacheTagsInvalidatorInterface $cache_tags_validator)
 
 getClassResolverStub ()
 

Protected Attributes

 $routeProvider
 
 $state
 
 $preloader
 
 $cache
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

Routing

Member Function Documentation

setUp ( )
protected

{}

References Drupal\cache(), and Drupal\state().

Here is the call graph for this function:

testOnAlterRoutesWithAdminPathNoAdminRoute ( )

Tests onAlterRoutes with "admin" appearing in the path.

References Drupal\state().

Here is the call graph for this function:

testOnAlterRoutesWithAdminRoutes ( )

Tests onAlterRoutes with just admin routes.

References Drupal\state().

Here is the call graph for this function:

testOnAlterRoutesWithNonAdminRoutes ( )

Tests onAlterRoutes with admin routes and non admin routes.

References Drupal\state().

Here is the call graph for this function:

testOnRequestNonHtml ( )

Tests onRequest on a non html request.

References Drupal\state().

Here is the call graph for this function:

testOnRequestOnHtml ( )

Tests onRequest on a html request.

References Drupal\state().

Here is the call graph for this function:


The documentation for this class was generated from the following file: