Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage98 msPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException97 msPassed
attributeChangedOutsideTransactionThrowsIllegalStateException94 msPassed
attributeChangedSetsAttributeLoadStatusToLoaded0.1 secPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue99 msPassed
changesToRemovedObjectAreIgnoredOnCommit96 msPassed
clearCleansUpPersistenceContext0.18 secPassed
clearResetsCloneBuilder92 msPassed
commitAddsNewObjectsToCache96 msPassed
commitAddsNewlyAddedReferenceToObjectToCache0.11 secPassed
commitDetachesPersistedInstance0.17 secPassed
commitEvictsInferredClassesFromCache95 msPassed
commitEvictsRemovedObjectsFromCache98 msPassed
commitInactiveUoWThrowsIllegalStateException0.25 secPassed
commitPersistsAllNewlyRegisteredObjects0.11 secPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction0.13 secPassed
commitRemovesRemovedObjectsFromStorage0.11 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances96 msPassed
containsReturnsTrueForRegisteredExistingObject94 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne99 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject0.11 secPassed
getContextsRetrievesContextsFromStorage90 msPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject0.1 secPassed
getManagedOriginalForDifferentContextReturnsNull0.11 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull99 msPassed
getManagedOriginalReturnsManagedOriginalInstance0.1 secPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects95 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType92 msPassed
getOriginalReturnsOriginalRegisteredByReadObject0.1 secPassed
getOriginalWithNullArgumentReturnsNull0.11 secPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.1 secPassed
isConsistentCallsStorageConsistencyCheck0.11 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper95 msPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.1 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged0.1 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance96 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.1 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute0.16 secPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.12 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0.17 secPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance92 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject0.18 secPassed
isLoadedReturnsUnknownForUnregisteredObject0.11 secPassed
isObjectManagedReturnsTrueForRegisteredExistingObject0.1 secPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.13 secPassed
isObjectNewReturnsFalseForNullArgument91 msPassed
isObjectNewReturnsFalseForRegisteredExistingObject0.11 secPassed
isObjectNewReturnsTrueForNewlyRegisteredObject91 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded0.12 secPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded0.1 secPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException0.27 secPassed
loadFieldLoadsLiteralValueAttribute99 msPassed
loadFieldLoadsManagedTypeAttribute0.13 secPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes98 msPassed
readAlreadyManagedObjectReturnsTheManagedOne0.14 secPassed
readNewlyRegisteredObjectReturnsIt0.1 secPassed
readObjectLoadsObjectFromStorage0.17 secPassed
readObjectWithNullClassThrowsNullPointerException0.11 secPassed
readObjectWithNullDescriptorThrowsNullPointerException0.18 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.1 secPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState0.13 secPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet0.1 secPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges0.11 secPassed
refreshOverwritesChangesSentToRepository0.1 secPassed
refreshOverwritesObjectPropertyChanges0.11 secPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance0.11 secPassed
refreshThrowsEntityNotFoundForNonExistentEntity99 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance92 msPassed
refreshThrowsIllegalArgumentForRemovedInstance0.11 secPassed
registerExistingObjectInvokesPostCloneListeners0.22 secPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.15 secPassed
registerExistingObjectReturnsRegisteredClone89 msPassed
registerExistingObjectTwiceReturnsSameClone94 msPassed
registerNewObjectAddsArgumentToPersistenceContext92 msPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne0.11 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated0.11 secPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument0.11 secPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor0.13 secPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions99 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities0.13 secPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive0.17 secPassed
removeNotRegisteredObjectThrowsIllegalArgumentException0.11 secPassed
removeObjectFromCacheEvictsObjectFromCacheManager0.11 secPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository97 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext97 msPassed
restoreDeletedRegistersObjectAgain97 msPassed
restoreDeletedReinsertsObjectIntoRepository96 msPassed
rollbackDetachesAllManagedEntities95 msPassed
rollbackInactiveUoWThrowsIllegalStateException0.11 secPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext0.13 secPassed
testCalculateModificationsDataProperty0.12 secPassed
testGetState0.18 secPassed
testGetStateWithDescriptor94 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit0.1 secPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit0.12 secPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached98 msPassed
unregisterObjectRemovesItFromCloneBuilderCache0.1 secPassed
unregisterObjectReplacesChangeTrackingProxiesWithReferencedObjects0.1 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.11 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.12 secPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext92 msPassed
unwrapReturnsItselfWhenClassMatches0.1 secPassed