Drupal 8  8.0.2
LocalTaskDefaultTest Class Reference
Inheritance diagram for LocalTaskDefaultTest:

Public Member Functions

 testGetRouteParametersForStaticRoute ()
 
 testGetRouteParametersInPluginDefinitions ()
 
 testGetRouteParametersForDynamicRouteWithNonUpcastedParameters ()
 
 testGetRouteParametersForDynamicRouteWithUpcastedParameters ()
 
 providerTestGetWeight ()
 
 testGetWeight ($plugin_definition, $plugin_id, $expected_weight)
 
 testActive ()
 
 testGetTitle ()
 
 testGetTitleWithContext ()
 
 testGetTitleWithTitleArguments ()
 
 testGetOptions ()
 
 testCacheabilityMetadata ()
 
- Public Member Functions inherited from UnitTestCase
 randomMachineName ($length=8)
 
 getConfigFactoryStub (array $configs=array())
 
 getConfigStorageStub (array $configs)
 
 getStringTranslationStub ()
 

Protected Member Functions

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

 $localTaskBase
 
 $config = array()
 
 $pluginId = 'local_task_default'
 
 $pluginDefinition
 
 $stringTranslation
 
 $routeProvider
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

Menu

Member Function Documentation

providerTestGetWeight ( )

Defines a data provider for testGetWeight().

Returns
array A list or test plugin definition and expected weight.
setupLocalTaskDefault ( )
protected
testActive ( )

::getActive ::setActive

References LocalTaskDefaultTest\setupLocalTaskDefault().

Here is the call graph for this function:

testCacheabilityMetadata ( )

::getCacheContexts ::getCacheTags ::getCacheMaxAge

References LocalTaskDefaultTest\setupLocalTaskDefault().

Here is the call graph for this function:

testGetOptions ( )

::getOptions

References LocalTaskDefaultTest\setupLocalTaskDefault().

Here is the call graph for this function:

testGetRouteParametersForDynamicRouteWithNonUpcastedParameters ( )

::getRouteParameters

References LocalTaskDefaultTest\setupLocalTaskDefault().

Here is the call graph for this function:

testGetRouteParametersForDynamicRouteWithUpcastedParameters ( )

Tests the getRouteParameters method for a route with upcasted parameters.

::getRouteParameters

References LocalTaskDefaultTest\setupLocalTaskDefault().

Here is the call graph for this function:

testGetRouteParametersForStaticRoute ( )

::getRouteParameters

References LocalTaskDefaultTest\setupLocalTaskDefault().

Here is the call graph for this function:

testGetRouteParametersInPluginDefinitions ( )

::getRouteParameters

References LocalTaskDefaultTest\setupLocalTaskDefault().

Here is the call graph for this function:

testGetTitle ( )

::getTitle

References LocalTaskDefaultTest\setupLocalTaskDefault().

Here is the call graph for this function:

testGetTitleWithContext ( )

::getTitle

References LocalTaskDefaultTest\setupLocalTaskDefault().

Here is the call graph for this function:

testGetTitleWithTitleArguments ( )

::getTitle

References LocalTaskDefaultTest\setupLocalTaskDefault().

Here is the call graph for this function:

testGetWeight (   $plugin_definition,
  $plugin_id,
  $expected_weight 
)

providerTestGetWeight ::getWeight

References LocalTaskDefaultTest\setupLocalTaskDefault().

Here is the call graph for this function:

Field Documentation

$pluginDefinition
protected
Initial value:
= array(
'id' => 'local_task_default',
)

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