Skip to content

Test Result : OnCommitChangePropagatingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext75 msPassed
clearResetsCloneBuilder50 msPassed
commitAddsNewObjectsToCache64 msPassed
commitAddsNewlyAddedReferenceToObjectToCache60 msPassed
commitDetachesPersistedInstance50 msPassed
commitEvictsInferredClassesFromCache51 msPassed
commitEvictsRemovedObjectsFromCache60 msPassed
commitInactiveUoWThrowsIllegalStateException99 msPassed
commitPersistsAllNewlyRegisteredObjects54 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction53 msPassed
commitRegistersChangesDoneByPreUpdateCallback0.1 secPassed
commitRemovesRemovedObjectsFromStorage0.11 secPassed
commitThrowsAttributeModificationForbiddenExceptionWhenChangeConcernsLexicalValueAttribute0.1 secPassed
commitToStorageCalculatesChangesToExistingObjectsAndPropagatesThemToStorage0.11 secPassed
commitToStorageDeletesRemovedObjectsFromStorage0.1 secPassed
containsReturnsTrueForRegisteredExistingObject50 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject52 msPassed
getContextsRetrievesContextsFromStorage49 msPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject0.1 secPassed
getManagedOriginalForDifferentContextReturnsNull59 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull48 msPassed
getManagedOriginalReturnsManagedOriginalInstance50 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects50 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType54 msPassed
getOriginalReturnsOriginalRegisteredByReadObject49 msPassed
getOriginalWithNullArgumentReturnsNull94 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction56 msPassed
isConsistentCallsStorageConsistencyCheck50 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper51 msPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded58 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged50 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance49 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject51 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute63 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute56 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject54 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance49 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject53 msPassed
isLoadedReturnsUnknownForUnregisteredObject59 msPassed
isObjectManagedReturnsTrueForRegisteredExistingObject50 msPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument50 msPassed
isObjectNewReturnsFalseForNullArgument57 msPassed
isObjectNewReturnsFalseForRegisteredExistingObject62 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject49 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded0.11 secPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException63 msPassed
loadFieldLoadsLiteralValueAttribute50 msPassed
loadFieldLoadsManagedTypeAttribute70 msPassed
mergeDetachedRegistersChangesToSpecifiedObjectAndReturnsManagedClone0.11 secPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes51 msPassed
readAlreadyManagedObjectReturnsTheManagedOne51 msPassed
readNewlyRegisteredObjectReturnsIt51 msPassed
readObjectLoadsObjectFromStorage60 msPassed
readObjectWithNullClassThrowsNullPointerException58 msPassed
readObjectWithNullDescriptorThrowsNullPointerException61 msPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException55 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState59 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges54 msPassed
refreshOverwritesChangesSentToRepository0.1 secPassed
refreshOverwritesObjectPropertyChanges92 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance65 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity61 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance49 msPassed
refreshThrowsIllegalArgumentForRemovedInstance50 msPassed
registerExistingObjectInvokesPostCloneListeners49 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder65 msPassed
registerExistingObjectReturnsRegisteredClone49 msPassed
registerExistingObjectTwiceReturnsSameClone50 msPassed
registerNewObjectAddsArgumentToPersistenceContext51 msPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne0.15 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated59 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument50 msPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor49 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive78 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException48 msPassed
removeObjectFromCacheEvictsObjectFromCacheManager50 msPassed
removeObjectRegistersObjectForDeletion0.1 secPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext0.15 secPassed
restoreDeletedRegistersObjectAgain0.1 secPassed
restoreDeletedReinsertsObjectIntoRepository49 msPassed
rollbackDetachesAllManagedEntities51 msPassed
rollbackInactiveUoWThrowsIllegalStateException50 msPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext62 msPassed
testCalculateModificationsDataProperty54 msPassed
testGetState52 msPassed
testGetStateWithDescriptor51 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit0.11 secPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit49 msPassed
unregisterObjectRemovesItFromCloneBuilderCache50 msPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection58 msPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull56 msPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext50 msPassed
unwrapReturnsItselfWhenClassMatches0.1 secPassed