Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage71 msPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException69 msPassed
attributeChangedOutsideTransactionThrowsIllegalStateException63 msPassed
attributeChangedSetsAttributeLoadStatusToLoaded0.12 secPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue0.11 secPassed
changesToRemovedObjectAreIgnoredOnCommit0.11 secPassed
clearCleansUpPersistenceContext65 msPassed
clearResetsCloneBuilder65 msPassed
commitAddsNewObjectsToCache72 msPassed
commitAddsNewlyAddedReferenceToObjectToCache67 msPassed
commitDetachesPersistedInstance65 msPassed
commitEvictsInferredClassesFromCache65 msPassed
commitEvictsRemovedObjectsFromCache81 msPassed
commitInactiveUoWThrowsIllegalStateException61 msPassed
commitPersistsAllNewlyRegisteredObjects69 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction80 msPassed
commitRemovesRemovedObjectsFromStorage0.14 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances64 msPassed
containsReturnsTrueForRegisteredExistingObject64 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne0.1 secPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject65 msPassed
getContextsRetrievesContextsFromStorage61 msPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject70 msPassed
getManagedOriginalForDifferentContextReturnsNull83 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull64 msPassed
getManagedOriginalReturnsManagedOriginalInstance62 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects65 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType66 msPassed
getOriginalReturnsOriginalRegisteredByReadObject64 msPassed
getOriginalWithNullArgumentReturnsNull64 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction68 msPassed
isConsistentCallsStorageConsistencyCheck63 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper79 msPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded84 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged64 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance64 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject63 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute70 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute72 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject66 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance64 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject0.13 secPassed
isLoadedReturnsUnknownForUnregisteredObject85 msPassed
isObjectManagedReturnsTrueForRegisteredExistingObject65 msPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument63 msPassed
isObjectNewReturnsFalseForNullArgument66 msPassed
isObjectNewReturnsFalseForRegisteredExistingObject88 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject64 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded71 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded71 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException65 msPassed
loadFieldLoadsLiteralValueAttribute70 msPassed
loadFieldLoadsManagedTypeAttribute83 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes84 msPassed
readAlreadyManagedObjectReturnsTheManagedOne0.12 secPassed
readNewlyRegisteredObjectReturnsIt63 msPassed
readObjectLoadsObjectFromStorage69 msPassed
readObjectWithNullClassThrowsNullPointerException61 msPassed
readObjectWithNullDescriptorThrowsNullPointerException65 msPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException62 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState74 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet73 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges79 msPassed
refreshOverwritesChangesSentToRepository69 msPassed
refreshOverwritesObjectPropertyChanges67 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance70 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity72 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance63 msPassed
refreshThrowsIllegalArgumentForRemovedInstance63 msPassed
registerExistingObjectInvokesPostCloneListeners81 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.15 secPassed
registerExistingObjectReturnsRegisteredClone93 msPassed
registerExistingObjectTwiceReturnsSameClone72 msPassed
registerNewObjectAddsArgumentToPersistenceContext62 msPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne67 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated68 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument61 msPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor63 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions89 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities0.11 secPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive61 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException61 msPassed
removeObjectFromCacheEvictsObjectFromCacheManager63 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository0.1 secPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext65 msPassed
restoreDeletedRegistersObjectAgain68 msPassed
restoreDeletedReinsertsObjectIntoRepository64 msPassed
rollbackDetachesAllManagedEntities0.12 secPassed
rollbackInactiveUoWThrowsIllegalStateException62 msPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext69 msPassed
testCalculateModificationsDataProperty65 msPassed
testGetState69 msPassed
testGetStateWithDescriptor63 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit69 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit73 msPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached77 msPassed
unregisterObjectRemovesItFromCloneBuilderCache71 msPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection75 msPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull71 msPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext64 msPassed
unwrapReturnsItselfWhenClassMatches67 msPassed