PHP Класс Neos\Flow\Tests\Unit\Persistence\Generic\DataMapperTest

Наследование: extends Neos\Flow\Tests\UnitTestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

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() публичный Метод

См. также: http://forge.typo3.org/issues/9684

thawPropertiesSetsPropertyValues() публичный Метод

thawPropertiesSkipsPropertiesNoLongerInClassSchema() публичный Метод

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