Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded35 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue40 msPassed
changesToRemovedObjectAreIgnoredOnCommit42 msPassed
clearCleansUpPersistenceContext45 msPassed
clearResetsCloneBuilder28 msPassed
commitDetachesPersistedInstance33 msPassed
commitEvictsInferredClassesFromCache39 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction31 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances39 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne51 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject36 msPassed
getManagedOriginalForDifferentContextReturnsNull44 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull89 msPassed
getManagedOriginalReturnsManagedOriginalInstance29 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects36 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType38 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction40 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper30 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged34 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance47 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject28 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute41 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject35 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute32 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance35 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject38 msPassed
isLoadedReturnsUnknownForUnregisteredObject27 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded37 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull38 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded28 msPassed
loadFieldLoadsLiteralValueAttribute42 msPassed
loadFieldLoadsManagedTypeAttribute32 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes31 msPassed
readAlreadyManagedObjectReturnsTheManagedOne40 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState41 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet34 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges33 msPassed
refreshOverwritesChangesSentToRepository36 msPassed
refreshOverwritesObjectPropertyChanges36 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance40 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity43 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance35 msPassed
refreshThrowsIllegalArgumentForRemovedInstance30 msPassed
registerExistingObjectInvokesPostCloneListeners33 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder41 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated41 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions29 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities29 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository28 msPassed
restoreDeletedRegistersObjectAgain32 msPassed
restoreDeletedReinsertsObjectIntoRepository32 msPassed
rollbackDetachesAllManagedEntities29 msPassed
testAttributeChanged46 msPassed
testAttributeChangedNotRegistered37 msPassed
testAttributeChangedOutsideTransaction78 msPassed
testCalculateDeletedObjects42 msPassed
testCalculateModificationsDataProperty35 msPassed
testCalculateModificationsObjectProperty39 msPassed
testCalculateNewObjects38 msPassed
testClearCacheAfterCommit31 msPassed
testCommitFailed39 msPassed
testCommitInactive33 msPassed
testContains44 msPassed
testGetContexts37 msPassed
testGetOriginal38 msPassed
testGetOriginalNull27 msPassed
testGetState40 msPassed
testGetStateWithDescriptor30 msPassed
testIsConsistent36 msPassed
testIsObjectManaged29 msPassed
testIsObjectManagerNull28 msPassed
testIsObjectNew28 msPassed
testIsObjectNewWithNullAndManaged28 msPassed
testLoadFieldValueNotRegistered29 msPassed
testReadObjectFromOntology30 msPassed
testReadObjectJustPersisted32 msPassed
testReadObjectNullClass31 msPassed
testReadObjectNullContext43 msPassed
testReadObjectNullPrimaryKey29 msPassed
testRegisterExistingObject40 msPassed
testRegisterExistingObjectTwice31 msPassed
testRegisterNewObject37 msPassed
testRegisterNewObjectNull30 msPassed
testRegisterNewObjectNullDescriptor33 msPassed
testReleaseUnitOfWork28 msPassed
testRemoveNewObject31 msPassed
testRemoveObjectFromCache28 msPassed
testRemoveObjectNotRegistered28 msPassed
testRollback35 msPassed
testRollbackInactive29 msPassed
testUnregisterObject32 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit37 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit33 msPassed
unregisterObjectRemovesItFromCloneBuilderCache28 msPassed
unwrapReturnsItselfWhenClassMatches30 msPassed