Skip to content

Test Result : OnCommitChangePropagatingUnitOfWorkTest

0 failures (±0)
93 tests (±0)
Took 6.5 sec.

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext53 msPassed
clearResetsCloneBuilder71 msPassed
commitAddsNewObjectsToCache67 msPassed
commitAddsNewlyAddedReferenceToObjectToCache54 msPassed
commitDetachesPersistedInstance51 msPassed
commitEvictsInferredClassesFromCache0.13 secPassed
commitEvictsRemovedObjectsFromCache63 msPassed
commitInactiveUoWThrowsIllegalStateException50 msPassed
commitPersistsAllNewlyRegisteredObjects53 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction56 msPassed
commitRegistersChangesDoneByPreUpdateCallback98 msPassed
commitRemovesRemovedObjectsFromStorage56 msPassed
commitThrowsAttributeModificationForbiddenExceptionWhenChangeConcernsLexicalValueAttribute65 msPassed
commitToStorageCalculatesChangesToExistingObjectsAndPropagatesThemToStorage53 msPassed
commitToStorageDeletesRemovedObjectsFromStorage52 msPassed
containsReturnsTrueForRegisteredExistingObject51 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject63 msPassed
getContextsRetrievesContextsFromStorage63 msPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject65 msPassed
getManagedOriginalForDifferentContextReturnsNull69 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull56 msPassed
getManagedOriginalReturnsManagedOriginalInstance62 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects0.17 secPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType0.12 secPassed
getOriginalReturnsOriginalRegisteredByReadObject50 msPassed
getOriginalWithNullArgumentReturnsNull60 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.14 secPassed
isConsistentCallsStorageConsistencyCheck73 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper59 msPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded61 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged0.13 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance71 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject50 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute53 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.15 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject50 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance0.14 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject51 msPassed
isLoadedReturnsUnknownForUnregisteredObject48 msPassed
isObjectManagedReturnsTrueForRegisteredExistingObject62 msPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument51 msPassed
isObjectNewReturnsFalseForNullArgument73 msPassed
isObjectNewReturnsFalseForRegisteredExistingObject51 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject60 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded70 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException52 msPassed
loadFieldLoadsLiteralValueAttribute64 msPassed
loadFieldLoadsManagedTypeAttribute58 msPassed
mergeDetachedRegistersChangesToSpecifiedObjectAndReturnsManagedClone53 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes51 msPassed
readAlreadyManagedObjectReturnsTheManagedOne0.15 secPassed
readNewlyRegisteredObjectReturnsIt52 msPassed
readObjectLoadsObjectFromStorage53 msPassed
readObjectWithNullClassThrowsNullPointerException50 msPassed
readObjectWithNullDescriptorThrowsNullPointerException50 msPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.12 secPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState53 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges56 msPassed
refreshOverwritesChangesSentToRepository68 msPassed
refreshOverwritesObjectPropertyChanges55 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance57 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity51 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance74 msPassed
refreshThrowsIllegalArgumentForRemovedInstance51 msPassed
registerExistingObjectInvokesPostCloneListeners54 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder51 msPassed
registerExistingObjectReturnsRegisteredClone52 msPassed
registerExistingObjectTwiceReturnsSameClone50 msPassed
registerNewObjectAddsArgumentToPersistenceContext50 msPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne51 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated50 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument68 msPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor60 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive52 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException0.12 secPassed
removeObjectFromCacheEvictsObjectFromCacheManager61 msPassed
removeObjectRegistersObjectForDeletion59 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext60 msPassed
restoreDeletedRegistersObjectAgain62 msPassed
restoreDeletedReinsertsObjectIntoRepository0.11 secPassed
rollbackDetachesAllManagedEntities67 msPassed
rollbackInactiveUoWThrowsIllegalStateException74 msPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext51 msPassed
testCalculateModificationsDataProperty0.13 secPassed
testGetState51 msPassed
testGetStateWithDescriptor50 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit60 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit52 msPassed
unregisterObjectRemovesItFromCloneBuilderCache51 msPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection95 msPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.19 secPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext61 msPassed
unwrapReturnsItselfWhenClassMatches50 msPassed