Drupal 8  8.0.2
UnroutedUrlAssemblerTest Class Reference
Inheritance diagram for UnroutedUrlAssemblerTest:

Public Member Functions

 testAssembleWithNeitherExternalNorDomainLocalUri ()
 
 testAssembleWithLeadingSlash ()
 
 testAssembleWithExternalUrl ($uri, array $options, $expected)
 
 providerTestAssembleWithExternalUrl ()
 
 testAssembleWithLocalUri ($uri, array $options, $subdir, $expected)
 
 providerTestAssembleWithLocalUri ()
 
 testAssembleWithNotEnabledProcessing ()
 
 testAssembleWithEnabledProcessing ()
 
- Public Member Functions inherited from UnitTestCase
 randomMachineName ($length=8)
 
 getConfigFactoryStub (array $configs=array())
 
 getConfigStorageStub (array $configs)
 
 getStringTranslationStub ()
 

Protected Member Functions

 setUp ()
 
 setupRequestStack ($subdir)
 
- 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
 
 $configFactory
 
 $unroutedUrlAssembler
 
 $pathProcessor
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

Utility

Member Function Documentation

providerTestAssembleWithExternalUrl ( )

Provides test data for testAssembleWithExternalUrl

providerTestAssembleWithLocalUri ( )
Returns
array
setUp ( )
protected

{}

References Drupal\requestStack().

Here is the call graph for this function:

setupRequestStack (   $subdir)
protected

Setups the request stack for a given subdir.

Parameters
string$subdirThe wanted subdir.

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

Referenced by UnroutedUrlAssemblerTest\testAssembleWithEnabledProcessing(), UnroutedUrlAssemblerTest\testAssembleWithExternalUrl(), UnroutedUrlAssemblerTest\testAssembleWithLocalUri(), and UnroutedUrlAssemblerTest\testAssembleWithNotEnabledProcessing().

Here is the call graph for this function:

Here is the caller graph for this function:

testAssembleWithEnabledProcessing ( )

::assemble

References UnroutedUrlAssemblerTest\setupRequestStack().

Here is the call graph for this function:

testAssembleWithExternalUrl (   $uri,
array  $options,
  $expected 
)

::assemble ::buildExternalUrl

providerTestAssembleWithExternalUrl

References UnroutedUrlAssemblerTest\setupRequestStack().

Here is the call graph for this function:

testAssembleWithLeadingSlash ( )

::assemble

testAssembleWithLocalUri (   $uri,
array  $options,
  $subdir,
  $expected 
)

::assemble ::buildLocalUrl

providerTestAssembleWithLocalUri

References UnroutedUrlAssemblerTest\setupRequestStack().

Here is the call graph for this function:

testAssembleWithNeitherExternalNorDomainLocalUri ( )

::assemble

testAssembleWithNotEnabledProcessing ( )

::assemble

References UnroutedUrlAssemblerTest\setupRequestStack().

Here is the call graph for this function:


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