Drupal 8  8.0.2
KernelTestBaseTest Class Reference
Inheritance diagram for KernelTestBaseTest:

Public Member Functions

 testSetUp ()
 
 testEnableModulesLoad ()
 
 testEnableModulesInstall ()
 
 testEnableModulesInstallContainer ()
 
 testInstallSchema ()
 
 testInstallEntitySchema ()
 
 testInstallConfig ()
 
 testEnableModulesFixedList ()
 
 testNoThemeByDefault ()
 
 testDrupalGetProfile ()
 
 run (array $methods=array())
 

Static Public Attributes

static $modules = array('entity_test')
 

Protected Member Functions

 setUp ()
 

Detailed Description

Tests KernelTestBase functionality.

simpletest

Member Function Documentation

run ( array  $methods = array())

{}

References Database\getConnection(), and Database\getConnectionInfo().

Here is the call graph for this function:

setUp ( )
protected

{}

References Drupal\getContainer().

Here is the call graph for this function:

testDrupalGetProfile ( )

Tests that drupal_get_profile() returns NULL.

As the currently active installation profile is used when installing configuration, for example, this is essential to ensure test isolation.

testEnableModulesFixedList ( )

Tests that the module list is retained after enabling/installing/disabling.

References Drupal\entityManager().

Here is the call graph for this function:

testEnableModulesInstall ( )

Tests expected installation behavior of enableModules().

References db_table_exists(), drupal_get_module_schema(), Drupal\moduleHandler(), and Drupal\service().

Here is the call graph for this function:

testEnableModulesInstallContainer ( )

Tests installing modules with DependencyInjection services.

References Drupal\entityQuery().

Here is the call graph for this function:

testEnableModulesLoad ( )

Tests expected load behavior of enableModules().

References Drupal\moduleHandler().

Here is the call graph for this function:

testInstallConfig ( )

Tests expected behavior of installConfig().

References Drupal\config().

Here is the call graph for this function:

testInstallEntitySchema ( )

Tests expected behavior of installEntitySchema().

References db_table_exists().

Here is the call graph for this function:

testInstallSchema ( )

Tests expected behavior of installSchema().

References db_table_exists(), and drupal_get_module_schema().

Here is the call graph for this function:

testNoThemeByDefault ( )

Tests that there is no theme by default.

References Drupal\config().

Here is the call graph for this function:

testSetUp ( )

Tests expected behavior of setUp().

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

Here is the call graph for this function:


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