Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

0 failures (±0)
100 tests (±0)
Took 7.9 sec.

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage99 msPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException63 msPassed
attributeChangedOutsideTransactionThrowsIllegalStateException70 msPassed
attributeChangedSetsAttributeLoadStatusToLoaded0.1 secPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue78 msPassed
changesToRemovedObjectAreIgnoredOnCommit0.1 secPassed
clearCleansUpPersistenceContext79 msPassed
clearResetsCloneBuilder76 msPassed
commitAddsNewObjectsToCache67 msPassed
commitAddsNewlyAddedReferenceToObjectToCache86 msPassed
commitDetachesPersistedInstance66 msPassed
commitEvictsInferredClassesFromCache66 msPassed
commitEvictsRemovedObjectsFromCache64 msPassed
commitInactiveUoWThrowsIllegalStateException73 msPassed
commitPersistsAllNewlyRegisteredObjects0.11 secPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction73 msPassed
commitRemovesRemovedObjectsFromStorage0.24 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances92 msPassed
containsReturnsTrueForRegisteredExistingObject89 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne74 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject65 msPassed
getContextsRetrievesContextsFromStorage62 msPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject68 msPassed
getManagedOriginalForDifferentContextReturnsNull64 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull62 msPassed
getManagedOriginalReturnsManagedOriginalInstance64 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects0.14 secPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType67 msPassed
getOriginalReturnsOriginalRegisteredByReadObject63 msPassed
getOriginalWithNullArgumentReturnsNull61 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction68 msPassed
isConsistentCallsStorageConsistencyCheck64 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper72 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged63 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance69 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.13 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute77 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute71 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject76 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance64 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject76 msPassed
isLoadedReturnsUnknownForUnregisteredObject69 msPassed
isObjectManagedReturnsTrueForRegisteredExistingObject64 msPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument63 msPassed
isObjectNewReturnsFalseForNullArgument62 msPassed
isObjectNewReturnsFalseForRegisteredExistingObject77 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject64 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded73 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded76 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException76 msPassed
loadFieldLoadsLiteralValueAttribute66 msPassed
loadFieldLoadsManagedTypeAttribute75 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes76 msPassed
readAlreadyManagedObjectReturnsTheManagedOne64 msPassed
readNewlyRegisteredObjectReturnsIt77 msPassed
readObjectLoadsObjectFromStorage76 msPassed
readObjectWithNullClassThrowsNullPointerException75 msPassed
readObjectWithNullDescriptorThrowsNullPointerException81 msPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException63 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState0.11 secPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet66 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges71 msPassed
refreshOverwritesChangesSentToRepository69 msPassed
refreshOverwritesObjectPropertyChanges82 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance72 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity67 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance63 msPassed
refreshThrowsIllegalArgumentForRemovedInstance0.13 secPassed
registerExistingObjectInvokesPostCloneListeners64 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.13 secPassed
registerExistingObjectReturnsRegisteredClone65 msPassed
registerExistingObjectTwiceReturnsSameClone70 msPassed
registerNewObjectAddsArgumentToPersistenceContext74 msPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne0.11 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated0.1 secPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument63 msPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor73 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions0.1 secPassed
releaseRemovesIndirectCollectionsFromManagedEntities0.1 secPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive75 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException62 msPassed
removeObjectFromCacheEvictsObjectFromCacheManager64 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository0.12 secPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext63 msPassed
restoreDeletedRegistersObjectAgain64 msPassed
restoreDeletedReinsertsObjectIntoRepository63 msPassed
rollbackDetachesAllManagedEntities93 msPassed
rollbackInactiveUoWThrowsIllegalStateException72 msPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext76 msPassed
testCalculateModificationsDataProperty66 msPassed
testGetState82 msPassed
testGetStateWithDescriptor77 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit69 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit71 msPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached0.15 secPassed
unregisterObjectRemovesItFromCloneBuilderCache76 msPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection64 msPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull73 msPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext63 msPassed
unwrapReturnsItselfWhenClassMatches62 msPassed