Skip to content

Test Result : OnCommitChangePropagatingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext0.13 secPassed
clearResetsCloneBuilder0.12 secPassed
commitAddsNewObjectsToCache61 msPassed
commitAddsNewlyAddedReferenceToObjectToCache72 msPassed
commitDetachesPersistedInstance57 msPassed
commitEvictsInferredClassesFromCache68 msPassed
commitEvictsRemovedObjectsFromCache59 msPassed
commitInactiveUoWThrowsIllegalStateException0.14 secPassed
commitPersistsAllNewlyRegisteredObjects81 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction59 msPassed
commitRegistersChangesDoneByPreUpdateCallback59 msPassed
commitRemovesRemovedObjectsFromStorage0.13 secPassed
commitThrowsAttributeModificationForbiddenExceptionWhenChangeConcernsLexicalValueAttribute61 msPassed
commitToStorageCalculatesChangesToExistingObjectsAndPropagatesThemToStorage64 msPassed
commitToStorageDeletesRemovedObjectsFromStorage69 msPassed
containsReturnsTrueForRegisteredExistingObject0.15 secPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject0.14 secPassed
getContextsRetrievesContextsFromStorage0.12 secPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject59 msPassed
getManagedOriginalForDifferentContextReturnsNull0.12 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull0.12 secPassed
getManagedOriginalReturnsManagedOriginalInstance0.12 secPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects70 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType0.13 secPassed
getOriginalReturnsOriginalRegisteredByReadObject0.17 secPassed
getOriginalWithNullArgumentReturnsNull0.13 secPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction64 msPassed
isConsistentCallsStorageConsistencyCheck0.13 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.12 secPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.16 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged0.13 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance60 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.16 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute0.13 secPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.13 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0.12 secPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance68 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject0.13 secPassed
isLoadedReturnsUnknownForUnregisteredObject0.13 secPassed
isObjectManagedReturnsTrueForRegisteredExistingObject0.16 secPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.16 secPassed
isObjectNewReturnsFalseForNullArgument58 msPassed
isObjectNewReturnsFalseForRegisteredExistingObject0.12 secPassed
isObjectNewReturnsTrueForNewlyRegisteredObject57 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded0.15 secPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException0.14 secPassed
loadFieldLoadsLiteralValueAttribute0.13 secPassed
loadFieldLoadsManagedTypeAttribute0.14 secPassed
mergeDetachedRegistersChangesToSpecifiedObjectAndReturnsManagedClone70 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes58 msPassed
readAlreadyManagedObjectReturnsTheManagedOne0.12 secPassed
readNewlyRegisteredObjectReturnsIt65 msPassed
readObjectLoadsObjectFromStorage0.12 secPassed
readObjectWithNullClassThrowsNullPointerException0.12 secPassed
readObjectWithNullDescriptorThrowsNullPointerException0.14 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.12 secPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState0.31 secPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges59 msPassed
refreshOverwritesChangesSentToRepository65 msPassed
refreshOverwritesObjectPropertyChanges0.16 secPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance0.16 secPassed
refreshThrowsEntityNotFoundForNonExistentEntity59 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance55 msPassed
refreshThrowsIllegalArgumentForRemovedInstance56 msPassed
registerExistingObjectInvokesPostCloneListeners0.15 secPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.12 secPassed
registerExistingObjectReturnsRegisteredClone0.12 secPassed
registerExistingObjectTwiceReturnsSameClone0.15 secPassed
registerNewObjectAddsArgumentToPersistenceContext66 msPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne69 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated0.14 secPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument57 msPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor58 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive0.12 secPassed
removeNotRegisteredObjectThrowsIllegalArgumentException56 msPassed
removeObjectFromCacheEvictsObjectFromCacheManager57 msPassed
removeObjectRegistersObjectForDeletion56 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext56 msPassed
restoreDeletedRegistersObjectAgain58 msPassed
restoreDeletedReinsertsObjectIntoRepository59 msPassed
rollbackDetachesAllManagedEntities0.12 secPassed
rollbackInactiveUoWThrowsIllegalStateException0.12 secPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext0.11 secPassed
testCalculateModificationsDataProperty60 msPassed
testGetState0.12 secPassed
testGetStateWithDescriptor0.15 secPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit77 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit56 msPassed
unregisterObjectRemovesItFromCloneBuilderCache58 msPassed
unregisterObjectReplacesChangeTrackingProxiesWithReferencedObjects69 msPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.11 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.14 secPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.12 secPassed
unwrapReturnsItselfWhenClassMatches0.13 secPassed