Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded33 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue35 msPassed
changesToRemovedObjectAreIgnoredOnCommit36 msPassed
clearCleansUpPersistenceContext46 msPassed
clearResetsCloneBuilder29 msPassed
commitDetachesPersistedInstance31 msPassed
commitEvictsInferredClassesFromCache42 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction30 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances30 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne36 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject33 msPassed
getManagedOriginalForDifferentContextReturnsNull29 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull39 msPassed
getManagedOriginalReturnsManagedOriginalInstance31 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects37 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType34 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction36 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper29 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged29 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance45 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject28 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute48 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject36 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute28 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance29 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject31 msPassed
isLoadedReturnsUnknownForUnregisteredObject28 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded36 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull38 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded29 msPassed
loadFieldLoadsLiteralValueAttribute42 msPassed
loadFieldLoadsManagedTypeAttribute31 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes31 msPassed
readAlreadyManagedObjectReturnsTheManagedOne32 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState91 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet41 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges29 msPassed
refreshOverwritesChangesSentToRepository31 msPassed
refreshOverwritesObjectPropertyChanges41 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance40 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity30 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance38 msPassed
refreshThrowsIllegalArgumentForRemovedInstance28 msPassed
registerExistingObjectInvokesPostCloneListeners31 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder42 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated37 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions28 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities29 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository27 msPassed
restoreDeletedRegistersObjectAgain30 msPassed
restoreDeletedReinsertsObjectIntoRepository33 msPassed
rollbackDetachesAllManagedEntities31 msPassed
testAttributeChanged41 msPassed
testAttributeChangedNotRegistered28 msPassed
testAttributeChangedOutsideTransaction31 msPassed
testCalculateDeletedObjects46 msPassed
testCalculateModificationsDataProperty32 msPassed
testCalculateModificationsObjectProperty35 msPassed
testCalculateNewObjects45 msPassed
testClearCacheAfterCommit29 msPassed
testCommitFailed27 msPassed
testCommitInactive28 msPassed
testContains38 msPassed
testGetContexts33 msPassed
testGetOriginal29 msPassed
testGetOriginalNull27 msPassed
testGetState29 msPassed
testGetStateWithDescriptor29 msPassed
testIsConsistent27 msPassed
testIsObjectManaged28 msPassed
testIsObjectManagerNull28 msPassed
testIsObjectNew26 msPassed
testIsObjectNewWithNullAndManaged26 msPassed
testLoadFieldValueNotRegistered28 msPassed
testReadObjectFromOntology28 msPassed
testReadObjectJustPersisted33 msPassed
testReadObjectNullClass31 msPassed
testReadObjectNullContext40 msPassed
testReadObjectNullPrimaryKey28 msPassed
testRegisterExistingObject76 msPassed
testRegisterExistingObjectTwice34 msPassed
testRegisterNewObject28 msPassed
testRegisterNewObjectNull25 msPassed
testRegisterNewObjectNullDescriptor32 msPassed
testReleaseUnitOfWork29 msPassed
testRemoveNewObject29 msPassed
testRemoveObjectFromCache29 msPassed
testRemoveObjectNotRegistered27 msPassed
testRollback31 msPassed
testRollbackInactive28 msPassed
testUnregisterObject33 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit36 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit36 msPassed
unregisterObjectRemovesItFromCloneBuilderCache28 msPassed
unwrapReturnsItselfWhenClassMatches30 msPassed