Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage68 msPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException64 msPassed
attributeChangedOutsideTransactionThrowsIllegalStateException64 msPassed
attributeChangedSetsAttributeLoadStatusToLoaded0.18 secPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue66 msPassed
changesToRemovedObjectAreIgnoredOnCommit64 msPassed
clearCleansUpPersistenceContext74 msPassed
clearResetsCloneBuilder0.14 secPassed
commitAddsNewObjectsToCache0.11 secPassed
commitAddsNewlyAddedReferenceToObjectToCache65 msPassed
commitDetachesPersistedInstance0.11 secPassed
commitEvictsInferredClassesFromCache0.12 secPassed
commitEvictsRemovedObjectsFromCache0.13 secPassed
commitInactiveUoWThrowsIllegalStateException98 msPassed
commitPersistsAllNewlyRegisteredObjects64 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction0.12 secPassed
commitRemovesRemovedObjectsFromStorage0.21 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances65 msPassed
containsReturnsTrueForRegisteredExistingObject0.11 secPassed
detachReplacesInheritedIndirectCollectionWithRegularOne64 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject0.11 secPassed
getContextsRetrievesContextsFromStorage0.11 secPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject0.11 secPassed
getManagedOriginalForDifferentContextReturnsNull0.13 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull94 msPassed
getManagedOriginalReturnsManagedOriginalInstance0.1 secPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects0.13 secPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType0.11 secPassed
getOriginalReturnsOriginalRegisteredByReadObject0.11 secPassed
getOriginalWithNullArgumentReturnsNull0.1 secPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.12 secPassed
isConsistentCallsStorageConsistencyCheck0.11 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.11 secPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.11 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged0.13 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance0.1 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.1 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute75 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.2 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject62 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance0.13 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject60 msPassed
isLoadedReturnsUnknownForUnregisteredObject0.1 secPassed
isObjectManagedReturnsTrueForRegisteredExistingObject0.11 secPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.11 secPassed
isObjectNewReturnsFalseForNullArgument0.12 secPassed
isObjectNewReturnsFalseForRegisteredExistingObject73 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject96 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded0.13 secPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded69 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException74 msPassed
loadFieldLoadsLiteralValueAttribute0.11 secPassed
loadFieldLoadsManagedTypeAttribute0.11 secPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes0.1 secPassed
readAlreadyManagedObjectReturnsTheManagedOne0.13 secPassed
readNewlyRegisteredObjectReturnsIt60 msPassed
readObjectLoadsObjectFromStorage63 msPassed
readObjectWithNullClassThrowsNullPointerException0.1 secPassed
readObjectWithNullDescriptorThrowsNullPointerException62 msPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.11 secPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState65 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet65 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges0.11 secPassed
refreshOverwritesChangesSentToRepository0.12 secPassed
refreshOverwritesObjectPropertyChanges77 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance72 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity0.1 secPassed
refreshThrowsIllegalArgumentForNonManagedInstance0.14 secPassed
refreshThrowsIllegalArgumentForRemovedInstance0.1 secPassed
registerExistingObjectInvokesPostCloneListeners0.11 secPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.15 secPassed
registerExistingObjectReturnsRegisteredClone0.17 secPassed
registerExistingObjectTwiceReturnsSameClone99 msPassed
registerNewObjectAddsArgumentToPersistenceContext0.11 secPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne61 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated66 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument0.16 secPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor0.13 secPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions63 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities64 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive72 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException0.11 secPassed
removeObjectFromCacheEvictsObjectFromCacheManager0.11 secPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository64 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext0.11 secPassed
restoreDeletedRegistersObjectAgain0.16 secPassed
restoreDeletedReinsertsObjectIntoRepository0.11 secPassed
rollbackDetachesAllManagedEntities0.11 secPassed
rollbackInactiveUoWThrowsIllegalStateException0.14 secPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext64 msPassed
testCalculateModificationsDataProperty0.12 secPassed
testGetState63 msPassed
testGetStateWithDescriptor0.13 secPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit0.12 secPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit0.1 secPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached66 msPassed
unregisterObjectRemovesItFromCloneBuilderCache0.13 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.17 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.12 secPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.13 secPassed
unwrapReturnsItselfWhenClassMatches73 msPassed