Drupal 8  8.0.2
RouteProcessorCsrfTest Class Reference
Inheritance diagram for RouteProcessorCsrfTest:

Public Member Functions

 testProcessOutboundNoRequirement ()
 
 testProcessOutbound ()
 
 testProcessOutboundDynamicOne ()
 
 testProcessOutboundDynamicTwo ()
 
- 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

 $csrfToken
 
 $processor
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

Access

Member Function Documentation

testProcessOutbound ( )

Tests the processOutbound() method with a _csrf_token route requirement.

testProcessOutboundDynamicOne ( )

Tests the processOutbound() method with a dynamic path and one replacement.

testProcessOutboundDynamicTwo ( )

Tests the processOutbound() method with two parameter replacements.

testProcessOutboundNoRequirement ( )

Tests the processOutbound() method with no _csrf_token route requirement.

References Drupal\csrfToken().

Here is the call graph for this function:


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