Drupal 8  8.0.2
EntityAdapterUnitTest Class Reference
Inheritance diagram for EntityAdapterUnitTest:

Public Member Functions

 testGetConstraints ()
 
 testGetName ()
 
 testGetRoot ()
 
 testGetPropertyPath ()
 
 testGetParent ()
 
 testSetContext ()
 
 testGetValue ()
 
 testSetValue ()
 
 testGet ()
 
 testGetInvalidField ()
 
 testGetWithoutData ()
 
 testSet ()
 
 testSetWithoutData ()
 
 testGetProperties ()
 
 testToArray ()
 
 testToArrayWithoutData ()
 
 testIsEmpty ()
 
 testOnChange ()
 
 testGetDataDefinition ()
 
 testGetString ()
 
 testApplyDefaultValue ()
 
 testGetIterator ()
 
- 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

 $bundle
 
 $entity
 
 $entityAdapter
 
 $entityType
 
 $entityManager
 
 $entityTypeId
 
 $typedDataManager
 
 $fieldItemList
 
 $fieldTypePluginManager
 
 $languageManager
 
 $uuid
 
 $id
 
 $fieldDefinitions
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

Entity TypedData

Member Function Documentation

setUp ( )
protected

{}

References BaseFieldDefinition\create(), EntityAdapter\createFromEntity(), Drupal\entityManager(), LanguageInterface\LANGCODE_DEFAULT, LanguageInterface\LANGCODE_NOT_SPECIFIED, Drupal\languageManager(), UnitTestCase\randomMachineName(), Drupal\setContainer(), and Drupal\typedDataManager().

Here is the call graph for this function:

testApplyDefaultValue ( )

::applyDefaultValue

testGet ( )

::get

testGetConstraints ( )

::getConstraints

testGetDataDefinition ( )

::getDataDefinition

testGetInvalidField ( )

::get

testGetIterator ( )

::getIterator

testGetName ( )

::getName

testGetParent ( )

::getParent

testGetProperties ( )

::getProperties

testGetPropertyPath ( )

::getPropertyPath

testGetRoot ( )

::getRoot

testGetString ( )

::getString

testGetValue ( )

::getValue

testGetWithoutData ( )

::get

testIsEmpty ( )

::isEmpty

testOnChange ( )

::onChange

testSet ( )

::set

testSetContext ( )

::setContext

References UnitTestCase\randomMachineName().

Here is the call graph for this function:

testSetValue ( )

::setValue

testSetWithoutData ( )

::set

testToArray ( )

::toArray

testToArrayWithoutData ( )

::toArray


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