Drupal 8  8.0.2
RedirectDestinationTest Class Reference
Inheritance diagram for RedirectDestinationTest:

Public Member Functions

 testGet (Request $request, $expected_destination)
 
 testGetAsArray (Request $request, $expected_destination)
 
 providerGet ()
 
 testSetBeforeGetCall ()
 
 testSetAfterGetCall ()
 
- Public Member Functions inherited from UnitTestCase
 randomMachineName ($length=8)
 
 getConfigFactoryStub (array $configs=array())
 
 getConfigStorageStub (array $configs)
 
 getStringTranslationStub ()
 

Protected Member Functions

 setUp ()
 
 setupUrlGenerator ()
 
- 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

 $requestStack
 
 $urlGenerator
 
 $redirectDestination
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

Routing

Member Function Documentation

setUp ( )
protected

{}

References Drupal\requestStack(), and Drupal\urlGenerator().

Here is the call graph for this function:

testGet ( Request  $request,
  $expected_destination 
)

Tests destination passed via $_GET.

Parameters
\Symfony\Component\HttpFoundation\Request$requestThe request to test.
string$expected_destinationThe expected destination.

providerGet

::get

References Drupal\requestStack().

Here is the call graph for this function:

testGetAsArray ( Request  $request,
  $expected_destination 
)

providerGet

::getAsArray

References Drupal\requestStack().

Here is the call graph for this function:

testSetAfterGetCall ( )

::set ::get

References Drupal\requestStack().

Here is the call graph for this function:

testSetBeforeGetCall ( )

::set ::get


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