Drupal 8  8.0.2
PathPluginBaseTest Class Reference
Inheritance diagram for PathPluginBaseTest:

Public Member Functions

 setupContainer ()
 
 testCollectRoutes ()
 
 testCollectRoutesWithDisplayReturnResponse ()
 
 testCollectRoutesWithArguments ()
 
 testCollectRoutesWithArgumentsNotSpecifiedInPath ()
 
 testCollectRoutesWithSpecialRouteName ()
 
 testAlterRoute ()
 
 testAlterRouteWithAlterCallback ()
 
 testAlterRoutesWithParameters ()
 
 testAlterRoutesWithParametersAndUpcasting ()
 
 testAlterRoutesWithOptionalParameters ()
 
 testGetRouteName ()
 
- Public Member Functions inherited from UnitTestCase
 randomMachineName ($length=8)
 
 getConfigFactoryStub (array $configs=array())
 
 getConfigStorageStub (array $configs)
 
 getStringTranslationStub ()
 

Protected Member Functions

 setUp ()
 
 setupViewExecutableAccessPlugin ()
 
- 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
 
 $pathPlugin
 
 $accessPluginManager
 
 $state
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

views

Member Function Documentation

setUp ( )
protected

{}

References PathPluginBaseTest\setupContainer(), and Drupal\state().

Here is the call graph for this function:

setupContainer ( )

Setup access plugin manager and config factory in the Drupal class.

References UnitTestCase\getConfigFactoryStub(), and Drupal\setContainer().

Referenced by PathPluginBaseTest\setUp().

Here is the call graph for this function:

Here is the caller graph for this function:

testAlterRoute ( )

Tests the alter route method.

References PathPluginBaseTest\setupViewExecutableAccessPlugin().

Here is the call graph for this function:

testAlterRoutesWithOptionalParameters ( )

Tests altering routes with optional parameters in the overridden route.

References PathPluginBaseTest\setupViewExecutableAccessPlugin().

Here is the call graph for this function:

testAlterRoutesWithParameters ( )

Tests altering routes with parameters in the overridden route.

References PathPluginBaseTest\setupViewExecutableAccessPlugin().

Here is the call graph for this function:

testAlterRoutesWithParametersAndUpcasting ( )

Tests altering routes with parameters and upcasting information

References PathPluginBaseTest\setupViewExecutableAccessPlugin().

Here is the call graph for this function:

testAlterRouteWithAlterCallback ( )

Tests the alter route method with preexisting title callback.

References PathPluginBaseTest\setupViewExecutableAccessPlugin().

Here is the call graph for this function:

testCollectRoutes ( )

Tests the collectRoutes method.

See Also
::collectRoutes()

References PathPluginBaseTest\setupViewExecutableAccessPlugin().

Here is the call graph for this function:

testCollectRoutesWithArguments ( )

Tests the collectRoutes method with arguments.

See Also
::collectRoutes()

References PathPluginBaseTest\setupViewExecutableAccessPlugin().

Here is the call graph for this function:

testCollectRoutesWithArgumentsNotSpecifiedInPath ( )

Tests the collectRoutes method with arguments not specified in the path.

See Also
::collectRoutes()

References PathPluginBaseTest\setupViewExecutableAccessPlugin().

Here is the call graph for this function:

testCollectRoutesWithDisplayReturnResponse ( )

Tests the collectRoutes method with a display returning a response.

See Also
::collectRoutes()

References PathPluginBaseTest\setupViewExecutableAccessPlugin(), and Drupal\state().

Here is the call graph for this function:

testCollectRoutesWithSpecialRouteName ( )

Tests the collect routes method with an alternative route name in the UI.

References PathPluginBaseTest\setupViewExecutableAccessPlugin().

Here is the call graph for this function:

testGetRouteName ( )

Tests the getRouteName method.

References PathPluginBaseTest\setupViewExecutableAccessPlugin().

Here is the call graph for this function:


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