Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage62 msPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException65 msPassed
attributeChangedOutsideTransactionThrowsIllegalStateException63 msPassed
attributeChangedSetsAttributeLoadStatusToLoaded70 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue67 msPassed
changesToRemovedObjectAreIgnoredOnCommit64 msPassed
clearCleansUpPersistenceContext78 msPassed
clearResetsCloneBuilder94 msPassed
commitAddsNewObjectsToCache0.13 secPassed
commitAddsNewlyAddedReferenceToObjectToCache87 msPassed
commitDetachesPersistedInstance0.11 secPassed
commitEvictsInferredClassesFromCache0.11 secPassed
commitEvictsRemovedObjectsFromCache0.12 secPassed
commitInactiveUoWThrowsIllegalStateException0.11 secPassed
commitPersistsAllNewlyRegisteredObjects84 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction0.14 secPassed
commitRemovesRemovedObjectsFromStorage0.28 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances64 msPassed
containsReturnsTrueForRegisteredExistingObject0.12 secPassed
detachReplacesInheritedIndirectCollectionWithRegularOne64 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject0.11 secPassed
getContextsRetrievesContextsFromStorage0.14 secPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject0.12 secPassed
getManagedOriginalForDifferentContextReturnsNull0.13 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull0.11 secPassed
getManagedOriginalReturnsManagedOriginalInstance0.16 secPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects0.11 secPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType0.11 secPassed
getOriginalReturnsOriginalRegisteredByReadObject0.11 secPassed
getOriginalWithNullArgumentReturnsNull0.11 secPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.12 secPassed
isConsistentCallsStorageConsistencyCheck0.11 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.14 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged0.11 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance0.11 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.12 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute70 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.12 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject61 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance0.11 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject96 msPassed
isLoadedReturnsUnknownForUnregisteredObject0.11 secPassed
isObjectManagedReturnsTrueForRegisteredExistingObject0.11 secPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.11 secPassed
isObjectNewReturnsFalseForNullArgument0.11 secPassed
isObjectNewReturnsFalseForRegisteredExistingObject69 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject0.1 secPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded74 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded69 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException80 msPassed
loadFieldLoadsLiteralValueAttribute0.11 secPassed
loadFieldLoadsManagedTypeAttribute0.13 secPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes0.12 secPassed
readAlreadyManagedObjectReturnsTheManagedOne0.11 secPassed
readNewlyRegisteredObjectReturnsIt74 msPassed
readObjectLoadsObjectFromStorage68 msPassed
readObjectWithNullClassThrowsNullPointerException0.11 secPassed
readObjectWithNullDescriptorThrowsNullPointerException90 msPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.11 secPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState69 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet66 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges0.14 secPassed
refreshOverwritesChangesSentToRepository67 msPassed
refreshOverwritesObjectPropertyChanges86 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance70 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity0.12 secPassed
refreshThrowsIllegalArgumentForNonManagedInstance0.1 secPassed
refreshThrowsIllegalArgumentForRemovedInstance0.12 secPassed
registerExistingObjectInvokesPostCloneListeners0.11 secPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.15 secPassed
registerExistingObjectReturnsRegisteredClone0.11 secPassed
registerExistingObjectTwiceReturnsSameClone0.12 secPassed
registerNewObjectAddsArgumentToPersistenceContext82 msPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne95 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated68 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument0.19 secPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor92 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions74 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities65 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive79 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException0.11 secPassed
removeObjectFromCacheEvictsObjectFromCacheManager84 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository64 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext0.11 secPassed
restoreDeletedRegistersObjectAgain99 msPassed
restoreDeletedReinsertsObjectIntoRepository0.11 secPassed
rollbackDetachesAllManagedEntities0.15 secPassed
rollbackInactiveUoWThrowsIllegalStateException79 msPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext74 msPassed
testCalculateModificationsDataProperty0.11 secPassed
testGetState89 msPassed
testGetStateWithDescriptor0.12 secPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit68 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit0.14 secPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached0.17 secPassed
unregisterObjectRemovesItFromCloneBuilderCache0.12 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.12 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.13 secPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.23 secPassed
unwrapReturnsItselfWhenClassMatches61 msPassed