Skip to content

Test Result : OnCommitChangePropagatingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext56 msPassed
clearResetsCloneBuilder55 msPassed
commitAddsNewObjectsToCache59 msPassed
commitAddsNewlyAddedReferenceToObjectToCache60 msPassed
commitDetachesPersistedInstance54 msPassed
commitEvictsInferredClassesFromCache57 msPassed
commitEvictsRemovedObjectsFromCache57 msPassed
commitInactiveUoWThrowsIllegalStateException60 msPassed
commitPersistsAllNewlyRegisteredObjects57 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction89 msPassed
commitRegistersChangesDoneByPreUpdateCallback54 msPassed
commitRemovesRemovedObjectsFromStorage60 msPassed
commitThrowsAttributeModificationForbiddenExceptionWhenChangeConcernsLexicalValueAttribute56 msPassed
commitToStorageCalculatesChangesToExistingObjectsAndPropagatesThemToStorage53 msPassed
commitToStorageDeletesRemovedObjectsFromStorage54 msPassed
containsReturnsTrueForRegisteredExistingObject56 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject58 msPassed
getContextsRetrievesContextsFromStorage56 msPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject56 msPassed
getManagedOriginalForDifferentContextReturnsNull57 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull54 msPassed
getManagedOriginalReturnsManagedOriginalInstance56 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects55 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType57 msPassed
getOriginalReturnsOriginalRegisteredByReadObject56 msPassed
getOriginalWithNullArgumentReturnsNull56 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction61 msPassed
isConsistentCallsStorageConsistencyCheck54 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper58 msPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded66 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged58 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance55 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject56 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute56 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute63 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject55 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance55 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject57 msPassed
isLoadedReturnsUnknownForUnregisteredObject57 msPassed
isObjectManagedReturnsTrueForRegisteredExistingObject56 msPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument55 msPassed
isObjectNewReturnsFalseForNullArgument55 msPassed
isObjectNewReturnsFalseForRegisteredExistingObject56 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject55 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded64 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException55 msPassed
loadFieldLoadsLiteralValueAttribute56 msPassed
loadFieldLoadsManagedTypeAttribute67 msPassed
mergeDetachedRegistersChangesToSpecifiedObjectAndReturnsManagedClone55 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes57 msPassed
readAlreadyManagedObjectReturnsTheManagedOne58 msPassed
readNewlyRegisteredObjectReturnsIt55 msPassed
readObjectLoadsObjectFromStorage56 msPassed
readObjectWithNullClassThrowsNullPointerException55 msPassed
readObjectWithNullDescriptorThrowsNullPointerException56 msPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException59 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState58 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges89 msPassed
refreshOverwritesChangesSentToRepository59 msPassed
refreshOverwritesObjectPropertyChanges59 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance57 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity58 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance54 msPassed
refreshThrowsIllegalArgumentForRemovedInstance68 msPassed
registerExistingObjectInvokesPostCloneListeners57 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder56 msPassed
registerExistingObjectReturnsRegisteredClone56 msPassed
registerExistingObjectTwiceReturnsSameClone56 msPassed
registerNewObjectAddsArgumentToPersistenceContext56 msPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne55 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated56 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument56 msPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor54 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive55 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException55 msPassed
removeObjectFromCacheEvictsObjectFromCacheManager55 msPassed
removeObjectRegistersObjectForDeletion52 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext53 msPassed
restoreDeletedRegistersObjectAgain0.17 secPassed
restoreDeletedReinsertsObjectIntoRepository54 msPassed
rollbackDetachesAllManagedEntities57 msPassed
rollbackInactiveUoWThrowsIllegalStateException54 msPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext55 msPassed
testCalculateModificationsDataProperty57 msPassed
testGetState57 msPassed
testGetStateWithDescriptor56 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit81 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit68 msPassed
unregisterObjectRemovesItFromCloneBuilderCache63 msPassed
unregisterObjectReplacesChangeTrackingProxiesWithReferencedObjects57 msPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection55 msPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull64 msPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext57 msPassed
unwrapReturnsItselfWhenClassMatches62 msPassed