Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
95 tests (+1)
Took 3.5 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded34 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue35 msPassed
changesToRemovedObjectAreIgnoredOnCommit55 msPassed
clearCleansUpPersistenceContext42 msPassed
clearResetsCloneBuilder33 msPassed
commitDetachesPersistedInstance55 msPassed
commitEvictsInferredClassesFromCache36 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction37 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances41 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne57 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject35 msPassed
getManagedOriginalForDifferentContextReturnsNull39 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull32 msPassed
getManagedOriginalReturnsManagedOriginalInstance37 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects33 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType54 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction64 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance33 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject35 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute35 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject35 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute35 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance34 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject34 msPassed
isLoadedReturnsUnknownForUnregisteredObject33 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded38 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull34 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded34 msPassed
loadFieldLoadsLiteralValueAttribute34 msPassed
loadFieldLoadsManagedTypeAttribute36 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes36 msPassed
readAlreadyManagedObjectReturnsTheManagedOne54 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState35 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet37 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges35 msPassed
refreshOverwritesChangesSentToRepository36 msPassed
refreshOverwritesObjectPropertyChanges39 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance36 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity36 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance33 msPassed
refreshThrowsIllegalArgumentForRemovedInstance34 msPassed
registerExistingObjectInvokesPostCloneListeners54 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder34 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated34 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions35 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities34 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository35 msPassed
restoreDeletedRegistersObjectAgain34 msPassed
restoreDeletedReinsertsObjectIntoRepository55 msPassed
rollbackDetachesAllManagedEntities36 msPassed
testAttributeChanged35 msPassed
testAttributeChangedNotRegistered35 msPassed
testAttributeChangedOutsideTransaction35 msPassed
testCalculateDeletedObjects37 msPassed
testCalculateModificationsDataProperty46 msPassed
testCalculateModificationsObjectProperty59 msPassed
testCalculateNewObjects37 msPassed
testClearCacheAfterCommit36 msPassed
testCommitFailed33 msPassed
testCommitInactive35 msPassed
testContains33 msPassed
testGetContexts53 msPassed
testGetOriginal34 msPassed
testGetOriginalNull33 msPassed
testGetState34 msPassed
testGetStateWithDescriptor34 msPassed
testIsConsistent33 msPassed
testIsObjectManaged34 msPassed
testIsObjectManagerNull34 msPassed
testIsObjectNew33 msPassed
testIsObjectNewWithNullAndManaged34 msPassed
testLoadFieldValueNotRegistered35 msPassed
testReadObjectFromOntology34 msPassed
testReadObjectJustPersisted53 msPassed
testReadObjectNullClass33 msPassed
testReadObjectNullContext34 msPassed
testReadObjectNullPrimaryKey33 msPassed
testRegisterExistingObject33 msPassed
testRegisterExistingObjectTwice33 msPassed
testRegisterNewObject33 msPassed
testRegisterNewObjectNull33 msPassed
testRegisterNewObjectNullDescriptor33 msPassed
testReleaseUnitOfWork34 msPassed
testRemoveNewObject58 msPassed
testRemoveObjectFromCache35 msPassed
testRemoveObjectNotRegistered33 msPassed
testRollback35 msPassed
testRollbackInactive33 msPassed
testSwitchQueryProcessingOntology32 msPassed
testUnregisterObject56 msPassed
testUseTransactionalOntologyForQueryProcessing33 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit39 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit37 msPassed
unregisterObjectRemovesItFromCloneBuilderCache35 msPassed
unwrapReturnsItselfWhenClassMatches33 msPassed