Skip to content

Test Result : OnCommitChangePropagatingUnitOfWorkTest

0 failures (±0)
92 tests (±0)
Took 3.7 sec.

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext34 msPassed
clearResetsCloneBuilder33 msPassed
commitAddsNewObjectsToCache51 msPassed
commitAddsNewlyAddedReferenceToObjectToCache35 msPassed
commitDetachesPersistedInstance39 msPassed
commitEvictsInferredClassesFromCache38 msPassed
commitEvictsRemovedObjectsFromCache47 msPassed
commitInactiveUoWThrowsIllegalStateException51 msPassed
commitPersistsAllNewlyRegisteredObjects33 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction38 msPassed
commitRegistersChangesDoneByPreUpdateCallback41 msPassed
commitRemovesRemovedObjectsFromStorage36 msPassed
commitThrowsAttributeModificationForbiddenExceptionWhenChangeConcernsLexicalValueAttribute44 msPassed
commitToStorageCalculatesChangesToExistingObjectsAndPropagatesThemToStorage57 msPassed
commitToStorageDeletesRemovedObjectsFromStorage43 msPassed
containsReturnsTrueForRegisteredExistingObject36 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject38 msPassed
getContextsRetrievesContextsFromStorage37 msPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject38 msPassed
getManagedOriginalForDifferentContextReturnsNull45 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull52 msPassed
getManagedOriginalReturnsManagedOriginalInstance37 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects43 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType41 msPassed
getOriginalReturnsOriginalRegisteredByReadObject37 msPassed
getOriginalWithNullArgumentReturnsNull31 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction99 msPassed
isConsistentCallsStorageConsistencyCheck60 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper37 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged39 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance44 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject37 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute33 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute47 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject31 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance40 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject32 msPassed
isLoadedReturnsUnknownForUnregisteredObject44 msPassed
isObjectManagedReturnsTrueForRegisteredExistingObject36 msPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument36 msPassed
isObjectNewReturnsFalseForNullArgument46 msPassed
isObjectNewReturnsFalseForRegisteredExistingObject32 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject54 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded53 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException31 msPassed
loadFieldLoadsLiteralValueAttribute47 msPassed
loadFieldLoadsManagedTypeAttribute58 msPassed
mergeDetachedRegistersChangesToSpecifiedObjectAndReturnsManagedClone42 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes72 msPassed
readAlreadyManagedObjectReturnsTheManagedOne38 msPassed
readNewlyRegisteredObjectReturnsIt31 msPassed
readObjectLoadsObjectFromStorage32 msPassed
readObjectWithNullClassThrowsNullPointerException46 msPassed
readObjectWithNullDescriptorThrowsNullPointerException31 msPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException38 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState33 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges38 msPassed
refreshOverwritesChangesSentToRepository42 msPassed
refreshOverwritesObjectPropertyChanges34 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance34 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity48 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance42 msPassed
refreshThrowsIllegalArgumentForRemovedInstance37 msPassed
registerExistingObjectInvokesPostCloneListeners38 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder33 msPassed
registerExistingObjectReturnsRegisteredClone38 msPassed
registerExistingObjectTwiceReturnsSameClone35 msPassed
registerNewObjectAddsArgumentToPersistenceContext31 msPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne31 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated31 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument36 msPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor32 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive32 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException49 msPassed
removeObjectFromCacheEvictsObjectFromCacheManager49 msPassed
removeObjectRegistersObjectForDeletion42 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext36 msPassed
restoreDeletedRegistersObjectAgain40 msPassed
restoreDeletedReinsertsObjectIntoRepository66 msPassed
rollbackDetachesAllManagedEntities37 msPassed
rollbackInactiveUoWThrowsIllegalStateException31 msPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext33 msPassed
testCalculateModificationsDataProperty42 msPassed
testGetState33 msPassed
testGetStateWithDescriptor37 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit48 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit35 msPassed
unregisterObjectRemovesItFromCloneBuilderCache37 msPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection47 msPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull50 msPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext62 msPassed
unwrapReturnsItselfWhenClassMatches39 msPassed