Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

0 failures (±0)
102 tests (±0)
Took 12 sec.

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage0.23 secPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException90 msPassed
attributeChangedOutsideTransactionThrowsIllegalStateException89 msPassed
attributeChangedSetsAttributeLoadStatusToLoaded94 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue91 msPassed
changesToRemovedObjectAreIgnoredOnCommit88 msPassed
clearCleansUpPersistenceContext0.1 secPassed
clearResetsCloneBuilder0.11 secPassed
commitAddsNewObjectsToCache96 msPassed
commitAddsNewlyAddedReferenceToObjectToCache0.1 secPassed
commitDetachesPersistedInstance0.1 secPassed
commitEvictsInferredClassesFromCache94 msPassed
commitEvictsRemovedObjectsFromCache93 msPassed
commitInactiveUoWThrowsIllegalStateException0.17 secPassed
commitPersistsAllNewlyRegisteredObjects0.1 secPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction0.19 secPassed
commitRemovesRemovedObjectsFromStorage93 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances89 msPassed
containsReturnsTrueForRegisteredExistingObject0.18 secPassed
detachReplacesInheritedIndirectCollectionWithRegularOne88 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject90 msPassed
getContextsRetrievesContextsFromStorage0.19 secPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject0.1 secPassed
getManagedOriginalForDifferentContextReturnsNull0.18 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull0.17 secPassed
getManagedOriginalReturnsManagedOriginalInstance0.16 secPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects93 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType0.1 secPassed
getOriginalReturnsOriginalRegisteredByReadObject89 msPassed
getOriginalWithNullArgumentReturnsNull88 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.15 secPassed
isConsistentCallsStorageConsistencyCheck0.17 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.25 secPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.23 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged0.1 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance90 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.17 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute94 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.19 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0.14 secPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance93 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject0.12 secPassed
isLoadedReturnsUnknownForUnregisteredObject0.18 secPassed
isObjectManagedReturnsTrueForRegisteredExistingObject89 msPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.1 secPassed
isObjectNewReturnsFalseForNullArgument90 msPassed
isObjectNewReturnsFalseForRegisteredExistingObject0.1 secPassed
isObjectNewReturnsTrueForNewlyRegisteredObject90 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded97 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded0.27 secPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException0.19 secPassed
loadFieldLoadsLiteralValueAttribute0.18 secPassed
loadFieldLoadsManagedTypeAttribute0.19 secPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes95 msPassed
readAlreadyManagedObjectReturnsTheManagedOne0.11 secPassed
readNewlyRegisteredObjectReturnsIt0.1 secPassed
readObjectLoadsObjectFromStorage0.1 secPassed
readObjectWithNullClassThrowsNullPointerException0.17 secPassed
readObjectWithNullDescriptorThrowsNullPointerException0.12 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.1 secPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState0.11 secPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet93 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges94 msPassed
refreshOverwritesChangesSentToRepository94 msPassed
refreshOverwritesObjectPropertyChanges93 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance0.1 secPassed
refreshThrowsEntityNotFoundForNonExistentEntity95 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance91 msPassed
refreshThrowsIllegalArgumentForRemovedInstance94 msPassed
registerExistingObjectInvokesPostCloneListeners0.2 secPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.1 secPassed
registerExistingObjectReturnsRegisteredClone0.11 secPassed
registerExistingObjectTwiceReturnsSameClone0.18 secPassed
registerNewObjectAddsArgumentToPersistenceContext0.1 secPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne0.1 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated0.1 secPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument91 msPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor92 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions89 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities89 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive92 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException0.1 secPassed
removeObjectFromCacheEvictsObjectFromCacheManager92 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository88 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext0.1 secPassed
restoreDeletedRegistersObjectAgain0.1 secPassed
restoreDeletedReinsertsObjectIntoRepository0.1 secPassed
rollbackDetachesAllManagedEntities0.2 secPassed
rollbackInactiveUoWThrowsIllegalStateException0.16 secPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext0.1 secPassed
testCalculateModificationsDataProperty93 msPassed
testGetState0.11 secPassed
testGetStateWithDescriptor0.18 secPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit98 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit96 msPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached97 msPassed
unregisterObjectRemovesItFromCloneBuilderCache94 msPassed
unregisterObjectReplacesChangeTrackingProxiesWithReferencedObjects97 msPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.18 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.11 secPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.1 secPassed
unwrapReturnsItselfWhenClassMatches87 msPassed