Drupal 8  8.0.2
ConfigImporterTest Class Reference
Inheritance diagram for ConfigImporterTest:

Public Member Functions

 testNoImport ()
 
 testEmptyImportFails ()
 
 testSiteUuidValidate ()
 
 testDeleted ()
 
 testNew ()
 
 testSecondaryWritePrimaryFirst ()
 
 testSecondaryWriteSecondaryFirst ()
 
 testSecondaryUpdateDeletedDeleterFirst ()
 
 testSecondaryUpdateDeletedDeleteeFirst ()
 
 testSecondaryDeletedDeleteeSecond ()
 
 testUpdated ()
 
 testIsInstallable ()
 
 testUnmetDependency ()
 
 testMissingCoreExtension ()
 
 testInstallProfile ()
 
 testConfigGetConfigDirectory ()
 

Static Public Attributes

static $modules = array('config_test', 'system', 'config_import_test')
 

Protected Member Functions

 setUp ()
 

Protected Attributes

 $configImporter
 

Detailed Description

Tests importing configuration from files into active configuration.

config

Member Function Documentation

testConfigGetConfigDirectory ( )

Tests config_get_config_directory().

testDeleted ( )

Tests deletion of configuration during import.

References Drupal\config().

Here is the call graph for this function:

testEmptyImportFails ( )

Tests that trying to import from an empty sync configuration directory fails.

testInstallProfile ( )

Tests install profile validation during configuration import.

See Also
testIsInstallable ( )

Tests the isInstallable method()

References Drupal\state().

Here is the call graph for this function:

testMissingCoreExtension ( )

Tests missing core.extension during configuration import.

See Also
testNew ( )

Tests creation of configuration during import.

References Drupal\config(), and Drupal\languageManager().

Here is the call graph for this function:

testNoImport ( )

Tests omission of module APIs for bare configuration operations.

References Drupal\config().

Here is the call graph for this function:

testSecondaryDeletedDeleteeSecond ( )

Tests that secondary deletes for deleted files work as expected.

References Drupal\entityManager().

Here is the call graph for this function:

testSecondaryUpdateDeletedDeleteeFirst ( )

Tests that secondary updates for deleted files work as expected.

This test is completely hypothetical since we only support full configuration tree imports. Therefore, any configuration updates that cause secondary deletes should be reflected already in the staged configuration.

References Drupal\entityManager().

Here is the call graph for this function:

testSecondaryUpdateDeletedDeleterFirst ( )

Tests that secondary updates for deleted files work as expected.

References Drupal\entityManager(), and SafeMarkup\format().

Here is the call graph for this function:

testSecondaryWritePrimaryFirst ( )

Tests that secondary writes are overwritten.

References Drupal\entityManager(), and SafeMarkup\format().

Here is the call graph for this function:

testSecondaryWriteSecondaryFirst ( )

Tests that secondary writes are overwritten.

References Drupal\entityManager(), and Html\escape().

Here is the call graph for this function:

testSiteUuidValidate ( )

Tests verification of site UUID before importing configuration.

References Drupal\config(), and Drupal\service().

Here is the call graph for this function:

testUnmetDependency ( )

Tests dependency validation during configuration import.

See Also
::createExtensionChangelist()
testUpdated ( )

Tests updating of configuration during import.

References Drupal\config(), and Drupal\configFactory().

Here is the call graph for this function:


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