Drupal 8  8.0.2
ResolvedLibraryDefinitionsFilesMatchTest Class Reference
Inheritance diagram for ResolvedLibraryDefinitionsFilesMatchTest:

Public Member Functions

 testCoreLibraryCompleteness ()
 

Protected Member Functions

 setUp ()
 
 verifyLibraryFilesExist ($library_definitions)
 
 getAllLibraries ()
 

Protected Attributes

 $themeHandler
 
 $themeInitialization
 
 $themeManager
 
 $libraryDiscovery
 
 $allModules
 
 $allThemes
 
 $librariesToSkip
 
 $pathsChecked
 

Detailed Description

Tests that the asset files for all core libraries exist.

This test also changes the active theme to each core theme to verify the libraries after theme-level libraries-override and libraries-extend are applied.

Asset

Member Function Documentation

getAllLibraries ( )
protected

Gets all libraries for core and all installed modules.

Returns
[]

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

Here is the call graph for this function:

setUp ( )
protected

{}

testCoreLibraryCompleteness ( )

Ensures that all core module and theme library files exist.

verifyLibraryFilesExist (   $library_definitions)
protected

Checks that all the library files exist.

Parameters
array[]An array of library definitions, keyed by extension, then by library, and so on.

References Drupal\root().

Here is the call graph for this function:

Field Documentation

$allThemes
protected
Initial value:
= [
'bartik',
'classy',
'seven',
'stable',
'stark',
]
$librariesToSkip
protected
Initial value:
= [
'locale/translations',
]

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