Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage58 msPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException59 msPassed
attributeChangedOutsideTransactionThrowsIllegalStateException58 msPassed
attributeChangedSetsAttributeLoadStatusToLoaded64 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue60 msPassed
changesToRemovedObjectAreIgnoredOnCommit59 msPassed
clearCleansUpPersistenceContext76 msPassed
clearResetsCloneBuilder58 msPassed
commitAddsNewObjectsToCache63 msPassed
commitAddsNewlyAddedReferenceToObjectToCache62 msPassed
commitDetachesPersistedInstance59 msPassed
commitEvictsInferredClassesFromCache71 msPassed
commitEvictsRemovedObjectsFromCache76 msPassed
commitInactiveUoWThrowsIllegalStateException70 msPassed
commitPersistsAllNewlyRegisteredObjects0.1 secPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction60 msPassed
commitRemovesRemovedObjectsFromStorage0.17 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances58 msPassed
containsReturnsTrueForRegisteredExistingObject65 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne58 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject62 msPassed
getContextsRetrievesContextsFromStorage58 msPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject65 msPassed
getManagedOriginalForDifferentContextReturnsNull86 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull74 msPassed
getManagedOriginalReturnsManagedOriginalInstance59 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects70 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType59 msPassed
getOriginalReturnsOriginalRegisteredByReadObject59 msPassed
getOriginalWithNullArgumentReturnsNull59 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction63 msPassed
isConsistentCallsStorageConsistencyCheck69 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper59 msPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded74 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged58 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance80 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject74 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute72 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute77 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject64 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance65 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject59 msPassed
isLoadedReturnsUnknownForUnregisteredObject69 msPassed
isObjectManagedReturnsTrueForRegisteredExistingObject59 msPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument58 msPassed
isObjectNewReturnsFalseForNullArgument0.1 secPassed
isObjectNewReturnsFalseForRegisteredExistingObject74 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject85 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded91 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded64 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException75 msPassed
loadFieldLoadsLiteralValueAttribute77 msPassed
loadFieldLoadsManagedTypeAttribute77 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes70 msPassed
readAlreadyManagedObjectReturnsTheManagedOne60 msPassed
readNewlyRegisteredObjectReturnsIt57 msPassed
readObjectLoadsObjectFromStorage72 msPassed
readObjectWithNullClassThrowsNullPointerException70 msPassed
readObjectWithNullDescriptorThrowsNullPointerException59 msPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException58 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState75 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet60 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges59 msPassed
refreshOverwritesChangesSentToRepository61 msPassed
refreshOverwritesObjectPropertyChanges77 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance76 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity62 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance68 msPassed
refreshThrowsIllegalArgumentForRemovedInstance0.1 secPassed
registerExistingObjectInvokesPostCloneListeners59 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.14 secPassed
registerExistingObjectReturnsRegisteredClone59 msPassed
registerExistingObjectTwiceReturnsSameClone0.1 secPassed
registerNewObjectAddsArgumentToPersistenceContext70 msPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne59 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated71 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument58 msPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor58 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions58 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities58 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive72 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException58 msPassed
removeObjectFromCacheEvictsObjectFromCacheManager58 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository58 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext60 msPassed
restoreDeletedRegistersObjectAgain87 msPassed
restoreDeletedReinsertsObjectIntoRepository59 msPassed
rollbackDetachesAllManagedEntities60 msPassed
rollbackInactiveUoWThrowsIllegalStateException58 msPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext73 msPassed
testCalculateModificationsDataProperty60 msPassed
testGetState92 msPassed
testGetStateWithDescriptor75 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit62 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit57 msPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached60 msPassed
unregisterObjectRemovesItFromCloneBuilderCache69 msPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.12 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull77 msPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext59 msPassed
unwrapReturnsItselfWhenClassMatches58 msPassed