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

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

Méthodes publiques

Méthode Description
getCleanStateOfPropertyReturnsNullIfObjectWasNotReconstituted ( )
getCleanStateOfPropertyReturnsNullIfPropertyWasNotInObjectData ( )
getCleanStateOfPropertyReturnsPropertyData ( )
getIdentifierByObjectReturnsHashForObjectBeingAOPProxy ( ) Does it return the value object hash for an AOP proxy not being in the identity map but having Persistence_Object_Identifier?
getIdentifierByObjectReturnsNullForUnknownObjectBeingAOPProxy ( ) Does it return NULL for an AOP proxy not being in the identity map and not having Persistence_Object_Identifier?
getIdentifierByObjectReturnsRegisteredUUIDForObject ( )
getIdentifierByObjectReturnsUUIDForKnownObject ( ) Does it return the UUID for an object know to the identity map?
getIdentifierByObjectReturnsUuidForObjectBeingAOPProxy ( ) Does it return the UUID for an AOP proxy not being in the identity map but having Persistence_Object_Identifier?
getIdentifierByObjectReturnsValueOfPropertyTaggedWithId ( )
getObjectByIdentifierReturnsRegisteredObjectForUUID ( )
hasIdentifierReturnsTrueForRegisteredObject ( )
hasObjectReturnsTrueForRegisteredObject ( )
isDirtyAsksIsPropertyDirtyForChangedLiterals ( )
isDirtyReturnsFalseForCleanArrays ( )
isDirtyReturnsFalseForCleanNestedArrays ( )
isDirtyReturnsFalseForNullInBothCurrentAndCleanValue ( )
isDirtyReturnsFalseForUnactivatedLazyObjects ( )
isDirtyReturnsTrueForArraysWhoseContainedObjectsDiffer ( )
isDirtyReturnsTrueForArraysWithNewMembers ( )
isDirtyReturnsTrueForNestedArrayWhoseCountDiffers ( )
isDirtyReturnsTrueForSplObjectStorageWhoseContainedObjectsDiffer ( )
isDirtyReturnsTrueForTraversablesWhoseCountDiffers ( )
isDirtyReturnsTrueForUnregisteredReconstitutedEntities ( )
isSingleValuedPropertyDirtyWorksAsExpected ( $type, $current, $clean, $expected )
newObjectsAreConsideredDirty ( )
objectRegisteredWithRegisterReconstitutedEntityCanBeRetrievedWithGetReconstitutedEntities ( )
propertyData ( ) Returns tuples of the form for isSingleValuedPropertyDirty()
unregisterObjectRemovesRegisteredObject ( )
unregisterReconstitutedEntityRemovesObjectFromSession ( )

Method Details

getCleanStateOfPropertyReturnsNullIfObjectWasNotReconstituted() public méthode

getCleanStateOfPropertyReturnsNullIfPropertyWasNotInObjectData() public méthode

getCleanStateOfPropertyReturnsPropertyData() public méthode

getIdentifierByObjectReturnsHashForObjectBeingAOPProxy() public méthode

Does it return the value object hash for an AOP proxy not being in the identity map but having Persistence_Object_Identifier?

getIdentifierByObjectReturnsNullForUnknownObjectBeingAOPProxy() public méthode

Does it return NULL for an AOP proxy not being in the identity map and not having Persistence_Object_Identifier?

getIdentifierByObjectReturnsRegisteredUUIDForObject() public méthode

getIdentifierByObjectReturnsUUIDForKnownObject() public méthode

Does it return the UUID for an object know to the identity map?

getIdentifierByObjectReturnsUuidForObjectBeingAOPProxy() public méthode

Does it return the UUID for an AOP proxy not being in the identity map but having Persistence_Object_Identifier?

getIdentifierByObjectReturnsValueOfPropertyTaggedWithId() public méthode

getObjectByIdentifierReturnsRegisteredObjectForUUID() public méthode

hasIdentifierReturnsTrueForRegisteredObject() public méthode

hasObjectReturnsTrueForRegisteredObject() public méthode

isDirtyAsksIsPropertyDirtyForChangedLiterals() public méthode

isDirtyReturnsFalseForCleanArrays() public méthode

isDirtyReturnsFalseForCleanNestedArrays() public méthode

isDirtyReturnsFalseForNullInBothCurrentAndCleanValue() public méthode

isDirtyReturnsFalseForUnactivatedLazyObjects() public méthode

isDirtyReturnsTrueForArraysWhoseContainedObjectsDiffer() public méthode

isDirtyReturnsTrueForArraysWithNewMembers() public méthode

isDirtyReturnsTrueForNestedArrayWhoseCountDiffers() public méthode

isDirtyReturnsTrueForSplObjectStorageWhoseContainedObjectsDiffer() public méthode

isDirtyReturnsTrueForTraversablesWhoseCountDiffers() public méthode

isDirtyReturnsTrueForUnregisteredReconstitutedEntities() public méthode

isSingleValuedPropertyDirtyWorksAsExpected() public méthode

public isSingleValuedPropertyDirtyWorksAsExpected ( $type, $current, $clean, $expected )

newObjectsAreConsideredDirty() public méthode

objectRegisteredWithRegisterReconstitutedEntityCanBeRetrievedWithGetReconstitutedEntities() public méthode

propertyData() public méthode

Returns tuples of the form for isSingleValuedPropertyDirty()
public propertyData ( )

unregisterObjectRemovesRegisteredObject() public méthode

unregisterReconstitutedEntityRemovesObjectFromSession() public méthode