Drupal 8  8.0.2
ComposerIntegrationTest Class Reference
Inheritance diagram for ComposerIntegrationTest:

Public Member Functions

 testComposerJson ()
 
 testAllModulesReplaced ()
 
- Public Member Functions inherited from UnitTestCase
 randomMachineName ($length=8)
 
 getConfigFactoryStub (array $configs=array())
 
 getConfigStorageStub (array $configs)
 
 getStringTranslationStub ()
 

Protected Member Functions

 getErrorMessages ()
 
 getPaths ()
 
- Protected Member Functions inherited from UnitTestCase
 setUp ()
 
 getRandomGenerator ()
 
 assertArrayEquals (array $expected, array $actual, $message=NULL)
 
 getBlockMockWithMachineName ($machine_name)
 
 getContainerWithCacheTagsInvalidator (CacheTagsInvalidatorInterface $cache_tags_validator)
 
 getClassResolverStub ()
 

Additional Inherited Members

- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

Tests Composer integration.

Composer

Member Function Documentation

getErrorMessages ( )
protected

Gets human-readable JSON error messages.

Returns
string[] Keys are JSON_ERROR_* constants.

Referenced by ComposerIntegrationTest\testComposerJson().

Here is the caller graph for this function:

getPaths ( )
protected

Gets the paths to the folders that contain the Composer integration.

Returns
string[] The paths.

References Drupal\root().

Referenced by ComposerIntegrationTest\testComposerJson().

Here is the call graph for this function:

Here is the caller graph for this function:

testAllModulesReplaced ( )

Tests core's composer.json replace section.

Verify that all core modules are also listed in the 'replace' section of core's composer.json.

References Drupal\root().

Here is the call graph for this function:

testComposerJson ( )

Tests composer.json.

References ComposerIntegrationTest\getErrorMessages(), and ComposerIntegrationTest\getPaths().

Here is the call graph for this function:


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