Drupal 8  8.0.2
EntityResolverManagerTest Class Reference
Inheritance diagram for EntityResolverManagerTest:

Public Member Functions

 testSetRouteOptionsWithStandardRoute ($controller)
 
 providerTestSetRouteOptionsWithStandardRoute ()
 
 testSetRouteOptionsWithStandardRouteWithArgument ($controller)
 
 providerTestSetRouteOptionsWithStandardRouteWithArgument ()
 
 testSetRouteOptionsWithContentController ($controller)
 
 providerTestSetRouteOptionsWithContentController ()
 
 testSetRouteOptionsWithEntityTypeNoUpcasting ($controller)
 
 providerTestSetRouteOptionsWithEntityTypeNoUpcasting ()
 
 testSetRouteOptionsWithEntityTypeUpcasting ($controller)
 
 providerTestSetRouteOptionsWithEntityTypeUpcasting ()
 
 testSetRouteOptionsWithEntityFormUpcasting ()
 
 testSetRouteOptionsWithEntityUpcastingNoCreate ()
 
 testSetRouteOptionsWithEntityFormNoUpcasting ()
 
 testSetRouteOptionsWithEntityViewRouteAndManualParameters ()
 
 testSetRouteOptionsWithEntityViewRoute ()
 
 testSetRouteOptionsWithEntityListRoute ()
 
 testSetRouteOptionsWithEntityFormRoute ()
 
- Public Member Functions inherited from UnitTestCase
 randomMachineName ($length=8)
 
 getConfigFactoryStub (array $configs=array())
 
 getConfigStorageStub (array $configs)
 
 getStringTranslationStub ()
 

Protected Member Functions

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

 $entityResolverManager
 
 $entityManager
 
 $classResolver
 
 $container
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

Entity

Member Function Documentation

providerTestSetRouteOptionsWithContentController ( )

Data provider for testSetRouteOptionsWithContentController.

providerTestSetRouteOptionsWithEntityTypeNoUpcasting ( )

Data provider for testSetRouteOptionsWithEntityTypeNoUpcasting.

providerTestSetRouteOptionsWithEntityTypeUpcasting ( )

Data provider for testSetRouteOptionsWithEntityTypeUpcasting.

providerTestSetRouteOptionsWithStandardRoute ( )

Data provider for testSetRouteOptionsWithStandardRoute.

providerTestSetRouteOptionsWithStandardRouteWithArgument ( )

Data provider for testSetRouteOptionsWithStandardRouteWithArgument.

setUp ( )
protected

{}

::__construct

References Drupal\entityManager(), and UnitTestCase\getClassResolverStub().

Here is the call graph for this function:

testSetRouteOptionsWithContentController (   $controller)

Tests setRouteOptions() with a _content default.

::setRouteOptions ::getControllerClass

providerTestSetRouteOptionsWithContentController

testSetRouteOptionsWithEntityFormNoUpcasting ( )

Tests setRouteOptions() with an form parameter without interface.

::setRouteOptions ::getControllerClass ::getEntityTypes ::setParametersFromReflection

References EntityResolverManagerTest\setupEntityTypes().

Here is the call graph for this function:

testSetRouteOptionsWithEntityFormRoute ( )

Tests setRouteOptions() with an _entity_form route.

::setRouteOptions ::getControllerClass ::getEntityTypes ::setParametersFromReflection ::setParametersFromEntityInformation

References EntityResolverManagerTest\setupEntityTypes().

Here is the call graph for this function:

testSetRouteOptionsWithEntityFormUpcasting ( )

Tests setRouteOptions() with an entity type parameter form.

::setRouteOptions ::getControllerClass ::getEntityTypes ::setParametersFromReflection

References EntityResolverManagerTest\setupEntityTypes().

Here is the call graph for this function:

testSetRouteOptionsWithEntityListRoute ( )

Tests setRouteOptions() with an _entity_list route.

::setRouteOptions ::getControllerClass ::getEntityTypes ::setParametersFromReflection ::setParametersFromEntityInformation

References EntityResolverManagerTest\setupEntityTypes().

Here is the call graph for this function:

testSetRouteOptionsWithEntityTypeNoUpcasting (   $controller)

Tests setRouteOptions() with an entity type parameter.

::setRouteOptions ::getControllerClass ::getEntityTypes ::setParametersFromReflection

providerTestSetRouteOptionsWithEntityTypeNoUpcasting

References EntityResolverManagerTest\setupEntityTypes().

Here is the call graph for this function:

testSetRouteOptionsWithEntityTypeUpcasting (   $controller)

Tests setRouteOptions() with an entity type parameter, upcasting.

::setRouteOptions ::getControllerClass ::getEntityTypes ::setParametersFromReflection

providerTestSetRouteOptionsWithEntityTypeUpcasting

References EntityResolverManagerTest\setupEntityTypes().

Here is the call graph for this function:

testSetRouteOptionsWithEntityUpcastingNoCreate ( )

Tests setRouteOptions() with entity form upcasting, no create method.

::setRouteOptions ::getControllerClass ::getEntityTypes ::setParametersFromReflection

References EntityResolverManagerTest\setupEntityTypes().

Here is the call graph for this function:

testSetRouteOptionsWithEntityViewRoute ( )

Tests setRouteOptions() with an _entity_view route.

::setRouteOptions ::getControllerClass ::getEntityTypes ::setParametersFromReflection ::setParametersFromEntityInformation

References EntityResolverManagerTest\setupEntityTypes().

Here is the call graph for this function:

testSetRouteOptionsWithEntityViewRouteAndManualParameters ( )

Tests setRouteOptions() with an _entity_view route.

::setRouteOptions ::getControllerClass ::getEntityTypes ::setParametersFromReflection ::setParametersFromEntityInformation

References EntityResolverManagerTest\setupEntityTypes().

Here is the call graph for this function:

testSetRouteOptionsWithStandardRoute (   $controller)

Tests setRouteOptions() with no parameter.

We don't have any entity type involved, so we don't need any upcasting.

::setRouteOptions ::getControllerClass

providerTestSetRouteOptionsWithStandardRoute

testSetRouteOptionsWithStandardRouteWithArgument (   $controller)

Tests setRouteOptions() with a controller with a non entity argument.

::setRouteOptions ::getControllerClass

providerTestSetRouteOptionsWithStandardRouteWithArgument


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