Drupal 8  8.0.2
BreadcrumbManagerTest Class Reference
Inheritance diagram for BreadcrumbManagerTest:

Public Member Functions

 testBuildWithoutBuilder ()
 
 testBuildWithSingleBuilder ()
 
 testBuildWithMultipleApplyingBuilders ()
 
 testBuildWithOneNotApplyingBuilders ()
 
 testBuildWithInvalidBreadcrumbResult ()
 
- 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

 $container
 
 $breadcrumb
 
 $breadcrumbManager
 
 $moduleHandler
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

Breadcrumb

Member Function Documentation

setUp ( )
protected

{}

References Drupal\moduleHandler(), and Drupal\setContainer().

Here is the call graph for this function:

testBuildWithInvalidBreadcrumbResult ( )

Tests a breadcrumb builder with a bad return value.

testBuildWithMultipleApplyingBuilders ( )

Tests multiple breadcrumb builder with different priority.

References Drupal\moduleHandler(), and Cache\PERMANENT.

Here is the call graph for this function:

testBuildWithOneNotApplyingBuilders ( )

Tests multiple breadcrumb builders of which one returns NULL.

References Drupal\moduleHandler(), and Cache\PERMANENT.

Here is the call graph for this function:

testBuildWithoutBuilder ( )

Tests the breadcrumb manager without any set breadcrumb.

References Drupal\moduleHandler(), and Cache\PERMANENT.

Here is the call graph for this function:

testBuildWithSingleBuilder ( )

Tests the build method with a single breadcrumb builder.

References Drupal\moduleHandler(), and Cache\PERMANENT.

Here is the call graph for this function:


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