Drupal 8  8.0.2
ViewsHandlerManagerTest Class Reference
Inheritance diagram for ViewsHandlerManagerTest:

Public Member Functions

 testAlterHookInvocation ()
 
 testGetHandlerBaseInformationPropagation ()
 
 testGetHandlerOverride ()
 
 testGetHandlerNoOverride ()
 
- Public Member Functions inherited from UnitTestCase
 randomMachineName ($length=8)
 
 getConfigFactoryStub (array $configs=array())
 
 getConfigStorageStub (array $configs)
 
 getStringTranslationStub ()
 

Protected Member Functions

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

 $handlerManager
 
 $moduleHandler
 
 $viewsData
 
 $factory
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

Tests the ViewsHandlerManager class.

views

Member Function Documentation

setUp ( )
protected

{}

References Drupal\moduleHandler().

Here is the call graph for this function:

setupMockedFactory ( )
protected

Setups of the plugin factory.

Referenced by ViewsHandlerManagerTest\testGetHandlerBaseInformationPropagation(), ViewsHandlerManagerTest\testGetHandlerNoOverride(), and ViewsHandlerManagerTest\testGetHandlerOverride().

Here is the caller graph for this function:

testAlterHookInvocation ( )

Tests that hook_views_plugins_TYPE_alter() is invoked for a handler type.

::__construct ::getDefinitions

References Drupal\moduleHandler().

Here is the call graph for this function:

testGetHandlerBaseInformationPropagation ( )

Tests getHandler() and its base information propagation.

References ViewsHandlerManagerTest\setupMockedFactory().

Here is the call graph for this function:

testGetHandlerNoOverride ( )

Tests getHandler() without an override.

References ViewsHandlerManagerTest\setupMockedFactory().

Here is the call graph for this function:

testGetHandlerOverride ( )

Tests getHandler() with an override.

References ViewsHandlerManagerTest\setupMockedFactory().

Here is the call graph for this function:


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