Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

0 failures (±0)
101 tests (±0)
Took 7.1 sec.

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage65 msPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException70 msPassed
attributeChangedOutsideTransactionThrowsIllegalStateException68 msPassed
attributeChangedSetsAttributeLoadStatusToLoaded72 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue71 msPassed
changesToRemovedObjectAreIgnoredOnCommit65 msPassed
clearCleansUpPersistenceContext66 msPassed
clearResetsCloneBuilder75 msPassed
commitAddsNewObjectsToCache67 msPassed
commitAddsNewlyAddedReferenceToObjectToCache79 msPassed
commitDetachesPersistedInstance66 msPassed
commitEvictsInferredClassesFromCache62 msPassed
commitEvictsRemovedObjectsFromCache64 msPassed
commitInactiveUoWThrowsIllegalStateException67 msPassed
commitPersistsAllNewlyRegisteredObjects65 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction66 msPassed
commitRemovesRemovedObjectsFromStorage0.12 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances65 msPassed
containsReturnsTrueForRegisteredExistingObject69 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne70 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject73 msPassed
getContextsRetrievesContextsFromStorage67 msPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject77 msPassed
getManagedOriginalForDifferentContextReturnsNull0.1 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull60 msPassed
getManagedOriginalReturnsManagedOriginalInstance70 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects61 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType63 msPassed
getOriginalReturnsOriginalRegisteredByReadObject70 msPassed
getOriginalWithNullArgumentReturnsNull72 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction78 msPassed
isConsistentCallsStorageConsistencyCheck60 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper80 msPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded80 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged61 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance63 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject65 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute65 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute67 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject61 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance60 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject74 msPassed
isLoadedReturnsUnknownForUnregisteredObject63 msPassed
isObjectManagedReturnsTrueForRegisteredExistingObject71 msPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument72 msPassed
isObjectNewReturnsFalseForNullArgument61 msPassed
isObjectNewReturnsFalseForRegisteredExistingObject64 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject63 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded81 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded75 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException63 msPassed
loadFieldLoadsLiteralValueAttribute63 msPassed
loadFieldLoadsManagedTypeAttribute74 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes67 msPassed
readAlreadyManagedObjectReturnsTheManagedOne66 msPassed
readNewlyRegisteredObjectReturnsIt74 msPassed
readObjectLoadsObjectFromStorage86 msPassed
readObjectWithNullClassThrowsNullPointerException65 msPassed
readObjectWithNullDescriptorThrowsNullPointerException80 msPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException64 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState87 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet69 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges71 msPassed
refreshOverwritesChangesSentToRepository78 msPassed
refreshOverwritesObjectPropertyChanges68 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance67 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity69 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance61 msPassed
refreshThrowsIllegalArgumentForRemovedInstance74 msPassed
registerExistingObjectInvokesPostCloneListeners66 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.11 secPassed
registerExistingObjectReturnsRegisteredClone65 msPassed
registerExistingObjectTwiceReturnsSameClone65 msPassed
registerNewObjectAddsArgumentToPersistenceContext84 msPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne66 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated89 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument76 msPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor76 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions63 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities64 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive61 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException67 msPassed
removeObjectFromCacheEvictsObjectFromCacheManager72 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository63 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext71 msPassed
restoreDeletedRegistersObjectAgain73 msPassed
restoreDeletedReinsertsObjectIntoRepository65 msPassed
rollbackDetachesAllManagedEntities74 msPassed
rollbackInactiveUoWThrowsIllegalStateException75 msPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext0.12 secPassed
testCalculateModificationsDataProperty65 msPassed
testGetState64 msPassed
testGetStateWithDescriptor66 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit79 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit64 msPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached68 msPassed
unregisterObjectRemovesItFromCloneBuilderCache69 msPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection66 msPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull68 msPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext71 msPassed
unwrapReturnsItselfWhenClassMatches73 msPassed