Drupal 8  8.0.2
DefaultPluginManagerTest Class Reference
Inheritance diagram for DefaultPluginManagerTest:

Public Member Functions

 testDefaultPluginManagerWithDisabledModule ()
 
 testDefaultPluginManagerWithObjects ()
 
 testDefaultPluginManager ()
 
 testDefaultPluginManagerWithAlter ()
 
 testDefaultPluginManagerWithEmptyCache ()
 
 testDefaultPluginManagerWithFilledCache ()
 
 testDefaultPluginManagerNoCache ()
 
 testCacheClearWithTags ()
 
 testCreateInstanceWithJustValidInterfaces ()
 
 testCreateInstanceWithInvalidInterfaces ()
 
 testGetDefinitionsWithoutRequiredInterface ()
 
- 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

 $expectedDefinitions
 
 $namespaces
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

Tests the DefaultPluginManager.

Plugin

Member Function Documentation

setUp ( )
protected

{}

References Drupal\root().

Here is the call graph for this function:

testCacheClearWithTags ( )

Tests the plugin manager cache clear with tags.

References UnitTestCase\getContainerWithCacheTagsInvalidator(), and UnitTestCase\randomMachineName().

Here is the call graph for this function:

testCreateInstanceWithInvalidInterfaces ( )

Tests plugins without the proper interface.

::createInstance

Plugin "kale" (Drupal) must implement interface

testCreateInstanceWithJustValidInterfaces ( )

Tests plugins with the proper interface.

::createInstance

testDefaultPluginManager ( )

Tests the plugin manager with no cache and altering.

testDefaultPluginManagerNoCache ( )

Tests the plugin manager with caching disabled.

References UnitTestCase\randomMachineName().

Here is the call graph for this function:

testDefaultPluginManagerWithAlter ( )

Tests the plugin manager with no cache and altering.

References UnitTestCase\randomMachineName().

Here is the call graph for this function:

testDefaultPluginManagerWithDisabledModule ( )

Tests the plugin manager with a disabled module.

testDefaultPluginManagerWithEmptyCache ( )

Tests the plugin manager with caching and altering.

References UnitTestCase\randomMachineName().

Here is the call graph for this function:

testDefaultPluginManagerWithFilledCache ( )

Tests the plugin manager with caching and altering.

References UnitTestCase\randomMachineName().

Here is the call graph for this function:

testDefaultPluginManagerWithObjects ( )

Tests the plugin manager and object plugin definitions.

testGetDefinitionsWithoutRequiredInterface ( )

Tests plugins without a required interface.

::getDefinitions


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