Drupal 8  8.0.2
AssetResolverTest Class Reference
Inheritance diagram for AssetResolverTest:

Public Member Functions

 testGetCssAssets (AttachedAssetsInterface $assets_a, AttachedAssetsInterface $assets_b, $expected_cache_item_count)
 
 testGetJsAssets (AttachedAssetsInterface $assets_a, AttachedAssetsInterface $assets_b, $expected_cache_item_count)
 
 providerAttachedAssets ()
 
- 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

 $assetResolver
 
 $libraryDiscovery
 
 $libraryDependencyResolver
 
 $moduleHandler
 
 $themeManager
 
 $languageManager
 
 $cache
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

Asset

Member Function Documentation

setUp ( )
protected

{}

References Drupal\cache(), Drupal\languageManager(), and Drupal\moduleHandler().

Here is the call graph for this function:

testGetCssAssets ( AttachedAssetsInterface  $assets_a,
AttachedAssetsInterface  $assets_b,
  $expected_cache_item_count 
)

::getCssAssets providerAttachedAssets

References Drupal\cache().

Here is the call graph for this function:

testGetJsAssets ( AttachedAssetsInterface  $assets_a,
AttachedAssetsInterface  $assets_b,
  $expected_cache_item_count 
)

::getJsAssets providerAttachedAssets

References Drupal\cache().

Here is the call graph for this function:


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