Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage64 msPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException62 msPassed
attributeChangedOutsideTransactionThrowsIllegalStateException62 msPassed
attributeChangedSetsAttributeLoadStatusToLoaded68 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue65 msPassed
changesToRemovedObjectAreIgnoredOnCommit62 msPassed
clearCleansUpPersistenceContext97 msPassed
clearResetsCloneBuilder0.11 secPassed
commitAddsNewObjectsToCache64 msPassed
commitAddsNewlyAddedReferenceToObjectToCache0.17 secPassed
commitDetachesPersistedInstance62 msPassed
commitEvictsInferredClassesFromCache63 msPassed
commitEvictsRemovedObjectsFromCache65 msPassed
commitInactiveUoWThrowsIllegalStateException63 msPassed
commitPersistsAllNewlyRegisteredObjects0.11 secPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction0.11 secPassed
commitRemovesRemovedObjectsFromStorage0.18 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances64 msPassed
containsReturnsTrueForRegisteredExistingObject97 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne62 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject68 msPassed
getContextsRetrievesContextsFromStorage0.1 secPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject67 msPassed
getManagedOriginalForDifferentContextReturnsNull63 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull61 msPassed
getManagedOriginalReturnsManagedOriginalInstance95 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects63 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType63 msPassed
getOriginalReturnsOriginalRegisteredByReadObject61 msPassed
getOriginalWithNullArgumentReturnsNull63 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction68 msPassed
isConsistentCallsStorageConsistencyCheck60 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.11 secPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.12 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged60 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance60 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject97 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute0.12 secPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute68 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0.1 secPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance60 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject0.11 secPassed
isLoadedReturnsUnknownForUnregisteredObject61 msPassed
isObjectManagedReturnsTrueForRegisteredExistingObject62 msPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument60 msPassed
isObjectNewReturnsFalseForNullArgument61 msPassed
isObjectNewReturnsFalseForRegisteredExistingObject0.11 secPassed
isObjectNewReturnsTrueForNewlyRegisteredObject60 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded70 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded69 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException0.11 secPassed
loadFieldLoadsLiteralValueAttribute0.15 secPassed
loadFieldLoadsManagedTypeAttribute71 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes64 msPassed
readAlreadyManagedObjectReturnsTheManagedOne61 msPassed
readNewlyRegisteredObjectReturnsIt0.14 secPassed
readObjectLoadsObjectFromStorage98 msPassed
readObjectWithNullClassThrowsNullPointerException62 msPassed
readObjectWithNullDescriptorThrowsNullPointerException0.1 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException61 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState99 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet66 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges0.11 secPassed
refreshOverwritesChangesSentToRepository63 msPassed
refreshOverwritesObjectPropertyChanges0.1 secPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance0.11 secPassed
refreshThrowsEntityNotFoundForNonExistentEntity64 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance60 msPassed
refreshThrowsIllegalArgumentForRemovedInstance96 msPassed
registerExistingObjectInvokesPostCloneListeners61 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.18 secPassed
registerExistingObjectReturnsRegisteredClone62 msPassed
registerExistingObjectTwiceReturnsSameClone98 msPassed
registerNewObjectAddsArgumentToPersistenceContext0.13 secPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne0.11 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated0.11 secPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument94 msPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor0.11 secPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions61 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities63 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive0.1 secPassed
removeNotRegisteredObjectThrowsIllegalArgumentException61 msPassed
removeObjectFromCacheEvictsObjectFromCacheManager0.1 secPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository61 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext67 msPassed
restoreDeletedRegistersObjectAgain66 msPassed
restoreDeletedReinsertsObjectIntoRepository63 msPassed
rollbackDetachesAllManagedEntities0.1 secPassed
rollbackInactiveUoWThrowsIllegalStateException0.11 secPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext95 msPassed
testCalculateModificationsDataProperty62 msPassed
testGetState0.1 secPassed
testGetStateWithDescriptor79 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit67 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit0.1 secPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached64 msPassed
unregisterObjectRemovesItFromCloneBuilderCache63 msPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection63 msPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull67 msPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.11 secPassed
unwrapReturnsItselfWhenClassMatches61 msPassed