PHP Class Neos\Flow\Tests\Unit\Persistence\Generic\DataMapperTest

Inheritance: extends Neos\Flow\Tests\UnitTestCase
Afficher le fichier Open project: neos/flow-development-collection

Méthodes publiques

Méthode Description
mapArrayCreatesExpectedArray ( )
mapArrayMapsNestedArray ( )
mapDateTimeCreatesDateTimeFromTimestamp ( )
mapSplObjectStorageCreatesSplObjectStorage ( )
mapToObjectReconstitutesExpectedObjectAndRegistersItWithIdentityMapToObjects ( ) Test that an object is reconstituted, registered with the identity map and memorizes it's clean state.
mapToObjectReturnsObjectFromIdentityMapIfAvailable ( )
mapToObjectThrowsExceptionOnEmptyInput ( )
mapToObjectsMapsArrayToObjectByCallingMapToObject ( )
thawPropertiesAssignsMetadataToTheProxyIfItExists ( ) After thawing the properties, metadata in the object data will be set as a special proxy property.
thawPropertiesAssignsTheUuidToTheProxy ( ) After thawing the properties, the nodes' uuid will be available in the identifier property of the proxy class.
thawPropertiesDelegatesHandlingOfArraysAndObjects ( )
thawPropertiesFollowsOrderOfGivenObjectData ( )
thawPropertiesSetsPropertyValues ( )
thawPropertiesSkipsPropertiesNoLongerInClassSchema ( ) If a property has been removed from a class old data still in the persistence must be skipped when reconstituting.

Method Details

mapArrayCreatesExpectedArray() public méthode

mapArrayMapsNestedArray() public méthode

mapDateTimeCreatesDateTimeFromTimestamp() public méthode

mapSplObjectStorageCreatesSplObjectStorage() public méthode

mapToObjectReconstitutesExpectedObjectAndRegistersItWithIdentityMapToObjects() public méthode

Test that an object is reconstituted, registered with the identity map and memorizes it's clean state.

mapToObjectReturnsObjectFromIdentityMapIfAvailable() public méthode

mapToObjectThrowsExceptionOnEmptyInput() public méthode

mapToObjectsMapsArrayToObjectByCallingMapToObject() public méthode

thawPropertiesAssignsMetadataToTheProxyIfItExists() public méthode

After thawing the properties, metadata in the object data will be set as a special proxy property.

thawPropertiesAssignsTheUuidToTheProxy() public méthode

After thawing the properties, the nodes' uuid will be available in the identifier property of the proxy class.

thawPropertiesDelegatesHandlingOfArraysAndObjects() public méthode

thawPropertiesFollowsOrderOfGivenObjectData() public méthode

See also: http://forge.typo3.org/issues/9684

thawPropertiesSetsPropertyValues() public méthode

thawPropertiesSkipsPropertiesNoLongerInClassSchema() public méthode

If a property has been removed from a class old data still in the persistence must be skipped when reconstituting.