Drupal 8  8.0.2
UnroutedUrlTest Class Reference
Inheritance diagram for UnroutedUrlTest:

Public Member Functions

 testFromUri ($uri, $is_external)
 
 providerFromUri ()
 
 testFromInvalidUri ($uri)
 
 providerFromInvalidUri ()
 
 testCreateFromRequest ()
 
 testIsExternal ($uri, $is_external)
 
 testToString ($uri)
 
 testGetRouteName ($uri)
 
 testGetRouteParameters ($uri)
 
 testGetInternalPath ($uri)
 
 testGetUri ($uri)
 
 testGetOptions ($uri)
 
- 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

 $urlAssembler
 
 $router
 
 $unroutedExternal = 'https://www.drupal.org'
 
 $unroutedInternal = 'base:robots.txt'
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

Member Function Documentation

providerFromInvalidUri ( )

Data provider for testFromInvalidUri().

providerFromUri ( )

Data provider for testFromUri().

setUp ( )
protected

{}

References Drupal\setContainer().

Here is the call graph for this function:

testCreateFromRequest ( )

Tests the createFromRequest method.

::createFromRequest

References Url\createFromRequest().

Here is the call graph for this function:

testFromInvalidUri (   $uri)

Tests the fromUri() method.

::fromUri providerFromInvalidUri

References Url\fromUri().

Here is the call graph for this function:

testFromUri (   $uri,
  $is_external 
)

Tests the fromUri() method.

::fromUri

providerFromUri

References Url\fromUri().

Here is the call graph for this function:

testGetInternalPath (   $uri)

Tests the getInternalPath() method.

testFromUri providerFromUri

::getInternalPath

References Url\fromUri().

Here is the call graph for this function:

testGetOptions (   $uri)

Tests the getOptions() method.

testFromUri providerFromUri

::getOptions

References Url\fromUri().

Here is the call graph for this function:

testGetRouteName (   $uri)

Tests the getRouteName() method.

testFromUri providerFromUri

::getRouteName

References Url\fromUri().

Here is the call graph for this function:

testGetRouteParameters (   $uri)

Tests the getRouteParameters() method.

testFromUri providerFromUri

::getRouteParameters

References Url\fromUri().

Here is the call graph for this function:

testGetUri (   $uri)

Tests the getPath() method.

testFromUri providerFromUri

::getUri

References Url\fromUri().

Here is the call graph for this function:

testIsExternal (   $uri,
  $is_external 
)

Tests the isExternal() method.

testFromUri providerFromUri

::isExternal

References Url\fromUri().

Here is the call graph for this function:

testToString (   $uri)

Tests the toString() method.

testFromUri providerFromUri

::toString

References Url\fromUri().

Here is the call graph for this function:


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