Skip to content

Test Result : OnCommitChangePropagatingUnitOfWorkTest

0 failures (±0)
94 tests (±0)
Took 7.9 sec.

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext73 msPassed
clearResetsCloneBuilder56 msPassed
commitAddsNewObjectsToCache0.14 secPassed
commitAddsNewlyAddedReferenceToObjectToCache67 msPassed
commitDetachesPersistedInstance62 msPassed
commitEvictsInferredClassesFromCache0.13 secPassed
commitEvictsRemovedObjectsFromCache0.15 secPassed
commitInactiveUoWThrowsIllegalStateException66 msPassed
commitPersistsAllNewlyRegisteredObjects65 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction0.16 secPassed
commitRegistersChangesDoneByPreUpdateCallback74 msPassed
commitRemovesRemovedObjectsFromStorage81 msPassed
commitThrowsAttributeModificationForbiddenExceptionWhenChangeConcernsLexicalValueAttribute71 msPassed
commitToStorageCalculatesChangesToExistingObjectsAndPropagatesThemToStorage68 msPassed
commitToStorageDeletesRemovedObjectsFromStorage66 msPassed
containsReturnsTrueForRegisteredExistingObject66 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject60 msPassed
getContextsRetrievesContextsFromStorage54 msPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject61 msPassed
getManagedOriginalForDifferentContextReturnsNull63 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull60 msPassed
getManagedOriginalReturnsManagedOriginalInstance56 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects0.13 secPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType58 msPassed
getOriginalReturnsOriginalRegisteredByReadObject61 msPassed
getOriginalWithNullArgumentReturnsNull60 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction66 msPassed
isConsistentCallsStorageConsistencyCheck66 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper58 msPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded65 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged56 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance0.13 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject76 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute60 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute77 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject55 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance0.13 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject57 msPassed
isLoadedReturnsUnknownForUnregisteredObject69 msPassed
isObjectManagedReturnsTrueForRegisteredExistingObject59 msPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument69 msPassed
isObjectNewReturnsFalseForNullArgument0.13 secPassed
isObjectNewReturnsFalseForRegisteredExistingObject65 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject0.13 secPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded0.15 secPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException69 msPassed
loadFieldLoadsLiteralValueAttribute58 msPassed
loadFieldLoadsManagedTypeAttribute88 msPassed
mergeDetachedRegistersChangesToSpecifiedObjectAndReturnsManagedClone58 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes0.16 secPassed
readAlreadyManagedObjectReturnsTheManagedOne59 msPassed
readNewlyRegisteredObjectReturnsIt62 msPassed
readObjectLoadsObjectFromStorage58 msPassed
readObjectWithNullClassThrowsNullPointerException66 msPassed
readObjectWithNullDescriptorThrowsNullPointerException56 msPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException58 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState66 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges0.15 secPassed
refreshOverwritesChangesSentToRepository59 msPassed
refreshOverwritesObjectPropertyChanges80 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance66 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity0.15 secPassed
refreshThrowsIllegalArgumentForNonManagedInstance0.12 secPassed
refreshThrowsIllegalArgumentForRemovedInstance0.15 secPassed
registerExistingObjectInvokesPostCloneListeners78 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder78 msPassed
registerExistingObjectReturnsRegisteredClone59 msPassed
registerExistingObjectTwiceReturnsSameClone0.1 secPassed
registerNewObjectAddsArgumentToPersistenceContext68 msPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne61 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated65 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument0.13 secPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor0.1 secPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive0.13 secPassed
removeNotRegisteredObjectThrowsIllegalArgumentException58 msPassed
removeObjectFromCacheEvictsObjectFromCacheManager0.12 secPassed
removeObjectRegistersObjectForDeletion73 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext58 msPassed
restoreDeletedRegistersObjectAgain57 msPassed
restoreDeletedReinsertsObjectIntoRepository99 msPassed
rollbackDetachesAllManagedEntities55 msPassed
rollbackInactiveUoWThrowsIllegalStateException55 msPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext64 msPassed
testCalculateModificationsDataProperty0.14 secPassed
testGetState56 msPassed
testGetStateWithDescriptor66 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit66 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit0.15 secPassed
unregisterObjectRemovesItFromCloneBuilderCache0.15 secPassed
unregisterObjectReplacesChangeTrackingProxiesWithReferencedObjects0.13 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection70 msPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull78 msPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext56 msPassed
unwrapReturnsItselfWhenClassMatches80 msPassed