Drupal 8  8.0.2
ThemeInstallerTest Class Reference
Inheritance diagram for ThemeInstallerTest:

Public Member Functions

 containerBuild (ContainerBuilder $container)
 
 testEmpty ()
 
 testInstall ()
 
 testInstallSubTheme ()
 
 testInstallNonExisting ()
 
 testInstallNameTooLong ()
 
 testUninstallDefault ()
 
 testUninstallAdmin ()
 
 testUninstallSubTheme ()
 
 testUninstallBaseBeforeSubTheme ()
 
 testUninstallNonExisting ()
 
 testUninstall ()
 
 testUninstallNotInstalled ()
 
 testThemeInfoAlter ()
 

Static Public Attributes

static $modules = array('system')
 

Protected Member Functions

 setUp ()
 
 themeHandler ()
 
 themeInstaller ()
 
 extensionConfig ()
 
 moduleHandler ()
 
 moduleInstaller ()
 

Detailed Description

Tests installing and uninstalling of themes.

Extension

Member Function Documentation

extensionConfig ( )
protected

Returns the system.theme config object.

Returns

References Drupal\config().

Referenced by ThemeInstallerTest\testEmpty(), and ThemeInstallerTest\testInstall().

Here is the call graph for this function:

Here is the caller graph for this function:

moduleHandler ( )
protected

Returns the ModuleHandler.

Returns

Referenced by ThemeInstallerTest\testThemeInfoAlter().

Here is the caller graph for this function:

moduleInstaller ( )
protected

Returns the ModuleInstaller.

Returns

Referenced by ThemeInstallerTest\testThemeInfoAlter().

Here is the caller graph for this function:

testEmpty ( )

Verifies that no themes are installed by default.

References ThemeInstallerTest\extensionConfig(), and ThemeInstallerTest\themeHandler().

Here is the call graph for this function:

testInstall ( )

Tests installing a theme.

References ThemeInstallerTest\extensionConfig(), ThemeInstallerTest\themeHandler(), and ThemeInstallerTest\themeInstaller().

Here is the call graph for this function:

testInstallNameTooLong ( )

Tests installing a theme with a too long name.

References ThemeInstallerTest\themeInstaller().

Here is the call graph for this function:

testInstallNonExisting ( )

Tests installing a non-existing theme.

References ThemeInstallerTest\themeHandler(), and ThemeInstallerTest\themeInstaller().

Here is the call graph for this function:

testInstallSubTheme ( )

Tests installing a sub-theme.

References ThemeInstallerTest\themeHandler(), and ThemeInstallerTest\themeInstaller().

Here is the call graph for this function:

testThemeInfoAlter ( )

Tests that theme info can be altered by a module.

See Also
module_test_system_info_alter()

References ThemeInstallerTest\moduleHandler(), ThemeInstallerTest\moduleInstaller(), ThemeInstallerTest\themeHandler(), and ThemeInstallerTest\themeInstaller().

Here is the call graph for this function:

testUninstall ( )

Tests uninstalling a theme.

References Drupal\config(), ThemeInstallerTest\themeHandler(), and ThemeInstallerTest\themeInstaller().

Here is the call graph for this function:

testUninstallAdmin ( )

Tests uninstalling the admin theme.

References Drupal\config(), ThemeInstallerTest\themeHandler(), and ThemeInstallerTest\themeInstaller().

Here is the call graph for this function:

testUninstallBaseBeforeSubTheme ( )

Tests uninstalling a base theme before its sub-theme.

References ThemeInstallerTest\themeHandler(), and ThemeInstallerTest\themeInstaller().

Here is the call graph for this function:

testUninstallDefault ( )

Tests uninstalling the default theme.

References ThemeInstallerTest\themeHandler(), and ThemeInstallerTest\themeInstaller().

Here is the call graph for this function:

testUninstallNonExisting ( )

Tests uninstalling a non-existing theme.

References ThemeInstallerTest\themeHandler(), and ThemeInstallerTest\themeInstaller().

Here is the call graph for this function:

testUninstallNotInstalled ( )

Tests uninstalling a theme that is not installed.

References ThemeInstallerTest\themeInstaller().

Here is the call graph for this function:

testUninstallSubTheme ( )

Tests uninstalling a sub-theme.

References ThemeInstallerTest\themeHandler(), and ThemeInstallerTest\themeInstaller().

Here is the call graph for this function:


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