Drupal 8  8.0.2
ConfigEntityBaseUnitTest Class Reference
Inheritance diagram for ConfigEntityBaseUnitTest:

Public Member Functions

 testCalculateDependencies ()
 
 testPreSaveDuringSync ()
 
 testAddDependency ()
 
 testCalculateDependenciesWithPluginCollections ($definition, $expected_dependencies)
 
 providerCalculateDependenciesWithPluginCollections ()
 
 testCalculateDependenciesWithThirdPartySettings ()
 
 testGetOriginalId ()
 
 testIsNew ()
 
 testGet ()
 
 testSetStatus ()
 
 testEnable ()
 
 testDisable ()
 
 testIsSyncing ()
 
 testCreateDuplicate ()
 
 testSort ()
 
 testToArray ()
 
 testToArrayIdKey ()
 
 testToArraySchemaFallback ()
 
 testToArrayFallback ()
 
 testThirdPartySettings ()
 
- Public Member Functions inherited from UnitTestCase
 randomMachineName ($length=8)
 
 getConfigFactoryStub (array $configs=array())
 
 getConfigStorageStub (array $configs)
 
 getStringTranslationStub ()
 

Protected Member Functions

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

Protected Attributes

 $entity
 
 $entityType
 
 $entityManager
 
 $entityTypeId
 
 $uuid
 
 $provider
 
 $languageManager
 
 $id
 
 $cacheTagsInvalidator
 
 $typedConfigManager
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

Config

Member Function Documentation

providerCalculateDependenciesWithPluginCollections ( )

Data provider for testCalculateDependenciesWithPluginCollections.

Returns
array

References UnitTestCase\randomMachineName().

Here is the call graph for this function:

setUp ( )
protected

{}

References Drupal\entityManager(), Drupal\languageManager(), UnitTestCase\randomMachineName(), and Drupal\setContainer().

Here is the call graph for this function:

testAddDependency ( )

::addDependency

testCalculateDependencies ( )

::calculateDependencies ::getDependencies

testCalculateDependenciesWithPluginCollections (   $definition,
  $expected_dependencies 
)

::getDependencies ::calculateDependencies

providerCalculateDependenciesWithPluginCollections

References UnitTestCase\randomMachineName().

Here is the call graph for this function:

testCalculateDependenciesWithThirdPartySettings ( )

::calculateDependencies ::getDependencies ::onDependencyRemoval

testCreateDuplicate ( )

::createDuplicate

testDisable ( )

::disable testSetStatus

testEnable ( )

::enable testSetStatus

testGet ( )

::set ::get

References UnitTestCase\randomMachineName().

Here is the call graph for this function:

testGetOriginalId ( )

::setOriginalId ::getOriginalId

References UnitTestCase\randomMachineName().

Here is the call graph for this function:

testIsNew ( )

::isNew

testIsSyncing ( )

::setSyncing ::isSyncing

testPreSaveDuringSync ( )

::preSave

testSetStatus ( )

::setStatus ::status

testSort ( )

::sort

References Drupal\entityManager().

Here is the call graph for this function:

testThirdPartySettings ( )

::getThirdPartySetting ::setThirdPartySetting ::getThirdPartySettings ::unsetThirdPartySetting ::getThirdPartyProviders

References UnitTestCase\getRandomGenerator().

Here is the call graph for this function:

testToArray ( )

::toArray

testToArrayFallback ( )

::toArray

testToArrayIdKey ( )

::toArray

testToArraySchemaFallback ( )

::toArray


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