Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
95 tests (±0)
Took 3.4 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded48 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue50 msPassed
changesToRemovedObjectAreIgnoredOnCommit37 msPassed
clearCleansUpPersistenceContext36 msPassed
clearResetsCloneBuilder29 msPassed
commitDetachesPersistedInstance35 msPassed
commitEvictsInferredClassesFromCache50 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction30 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances31 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne38 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject47 msPassed
getManagedOriginalForDifferentContextReturnsNull35 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull31 msPassed
getManagedOriginalReturnsManagedOriginalInstance79 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects47 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType36 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction42 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper29 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged34 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance30 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject28 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute33 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject29 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute42 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance37 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject29 msPassed
isLoadedReturnsUnknownForUnregisteredObject39 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded35 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull30 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded32 msPassed
loadFieldLoadsLiteralValueAttribute35 msPassed
loadFieldLoadsManagedTypeAttribute37 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes44 msPassed
readAlreadyManagedObjectReturnsTheManagedOne41 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState32 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet31 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges31 msPassed
refreshOverwritesChangesSentToRepository35 msPassed
refreshOverwritesObjectPropertyChanges39 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance49 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity35 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance32 msPassed
refreshThrowsIllegalArgumentForRemovedInstance38 msPassed
registerExistingObjectInvokesPostCloneListeners38 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder33 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated31 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions29 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities40 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository28 msPassed
restoreDeletedRegistersObjectAgain37 msPassed
restoreDeletedReinsertsObjectIntoRepository39 msPassed
rollbackDetachesAllManagedEntities29 msPassed
testAttributeChanged30 msPassed
testAttributeChangedNotRegistered29 msPassed
testAttributeChangedOutsideTransaction29 msPassed
testCalculateDeletedObjects35 msPassed
testCalculateModificationsDataProperty35 msPassed
testCalculateModificationsObjectProperty39 msPassed
testCalculateNewObjects43 msPassed
testClearCacheAfterCommit41 msPassed
testCommitFailed32 msPassed
testCommitInactive41 msPassed
testContains33 msPassed
testGetContexts35 msPassed
testGetOriginal29 msPassed
testGetOriginalNull27 msPassed
testGetState30 msPassed
testGetStateWithDescriptor42 msPassed
testIsConsistent28 msPassed
testIsObjectManaged28 msPassed
testIsObjectManagerNull32 msPassed
testIsObjectNew27 msPassed
testIsObjectNewWithNullAndManaged28 msPassed
testLoadFieldValueNotRegistered28 msPassed
testReadObjectFromOntology29 msPassed
testReadObjectJustPersisted29 msPassed
testReadObjectNullClass44 msPassed
testReadObjectNullContext30 msPassed
testReadObjectNullPrimaryKey28 msPassed
testRegisterExistingObject85 msPassed
testRegisterExistingObjectTwice38 msPassed
testRegisterNewObject28 msPassed
testRegisterNewObjectNull45 msPassed
testRegisterNewObjectNullDescriptor43 msPassed
testReleaseUnitOfWork40 msPassed
testRemoveNewObject35 msPassed
testRemoveObjectFromCache29 msPassed
testRemoveObjectNotRegistered40 msPassed
testRollback47 msPassed
testRollbackInactive40 msPassed
testUnregisterObject75 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit42 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit33 msPassed
unregisterObjectRemovesItFromCloneBuilderCache41 msPassed
unwrapReturnsItselfWhenClassMatches33 msPassed