Drupal 8  8.0.2
LibraryDiscoveryCollectorTest Class Reference
Inheritance diagram for LibraryDiscoveryCollectorTest:

Public Member Functions

 testResolveCacheMiss ()
 
 testDestruct ()
 
- 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

 $cache
 
 $lock
 
 $libraryDiscoveryParser
 
 $libraryDiscoveryCollector
 
 $themeManager
 
 $libraryData
 
 $activeTheme
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

Asset

Member Function Documentation

setUp ( )
protected

{}

References Drupal\cache(), and Drupal\lock().

Here is the call graph for this function:

testDestruct ( )

Tests the destruct method.

::destruct

References Drupal\cache(), Drupal\lock(), and Cache\PERMANENT.

Here is the call graph for this function:

testResolveCacheMiss ( )

Tests the resolve cache miss function.

::resolveCacheMiss

References Drupal\cache(), and Drupal\lock().

Here is the call graph for this function:

Field Documentation

$libraryData
protected
Initial value:
= array(
'test_1' => array(
'js' => array(),
'css' => array(),
),
'test_2' => array(
'js' => array(),
'css' => array(),
),
)

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