Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

0 failures (±0)
102 tests (±0)
Took 8.5 sec.

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage85 msPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException79 msPassed
attributeChangedOutsideTransactionThrowsIllegalStateException83 msPassed
attributeChangedSetsAttributeLoadStatusToLoaded88 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue86 msPassed
changesToRemovedObjectAreIgnoredOnCommit84 msPassed
clearCleansUpPersistenceContext85 msPassed
clearResetsCloneBuilder80 msPassed
commitAddsNewObjectsToCache82 msPassed
commitAddsNewlyAddedReferenceToObjectToCache84 msPassed
commitDetachesPersistedInstance79 msPassed
commitEvictsInferredClassesFromCache80 msPassed
commitEvictsRemovedObjectsFromCache80 msPassed
commitInactiveUoWThrowsIllegalStateException78 msPassed
commitPersistsAllNewlyRegisteredObjects81 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction81 msPassed
commitRemovesRemovedObjectsFromStorage82 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances0.14 secPassed
containsReturnsTrueForRegisteredExistingObject78 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne83 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject80 msPassed
getContextsRetrievesContextsFromStorage79 msPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject83 msPassed
getManagedOriginalForDifferentContextReturnsNull80 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull78 msPassed
getManagedOriginalReturnsManagedOriginalInstance79 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects79 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType78 msPassed
getOriginalReturnsOriginalRegisteredByReadObject79 msPassed
getOriginalWithNullArgumentReturnsNull77 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction84 msPassed
isConsistentCallsStorageConsistencyCheck80 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper80 msPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded88 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged78 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance78 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject80 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute80 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute86 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject79 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance78 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject80 msPassed
isLoadedReturnsUnknownForUnregisteredObject78 msPassed
isObjectManagedReturnsTrueForRegisteredExistingObject79 msPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument85 msPassed
isObjectNewReturnsFalseForNullArgument78 msPassed
isObjectNewReturnsFalseForRegisteredExistingObject80 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject79 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded88 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded90 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException0.15 secPassed
loadFieldLoadsLiteralValueAttribute0.11 secPassed
loadFieldLoadsManagedTypeAttribute88 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes81 msPassed
readAlreadyManagedObjectReturnsTheManagedOne78 msPassed
readNewlyRegisteredObjectReturnsIt79 msPassed
readObjectLoadsObjectFromStorage79 msPassed
readObjectWithNullClassThrowsNullPointerException78 msPassed
readObjectWithNullDescriptorThrowsNullPointerException78 msPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException78 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState81 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet80 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges80 msPassed
refreshOverwritesChangesSentToRepository81 msPassed
refreshOverwritesObjectPropertyChanges83 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance81 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity81 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance78 msPassed
refreshThrowsIllegalArgumentForRemovedInstance80 msPassed
registerExistingObjectInvokesPostCloneListeners0.15 secPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder79 msPassed
registerExistingObjectReturnsRegisteredClone79 msPassed
registerExistingObjectTwiceReturnsSameClone80 msPassed
registerNewObjectAddsArgumentToPersistenceContext78 msPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne79 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated82 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument78 msPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor78 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions86 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities85 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive80 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException77 msPassed
removeObjectFromCacheEvictsObjectFromCacheManager0.13 secPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository84 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext78 msPassed
restoreDeletedRegistersObjectAgain79 msPassed
restoreDeletedReinsertsObjectIntoRepository79 msPassed
rollbackDetachesAllManagedEntities80 msPassed
rollbackInactiveUoWThrowsIllegalStateException78 msPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext84 msPassed
testCalculateModificationsDataProperty79 msPassed
testGetState80 msPassed
testGetStateWithDescriptor78 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit84 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit78 msPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached85 msPassed
unregisterObjectRemovesItFromCloneBuilderCache80 msPassed
unregisterObjectReplacesChangeTrackingProxiesWithReferencedObjects81 msPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection79 msPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull84 msPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext80 msPassed
unwrapReturnsItselfWhenClassMatches79 msPassed