Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

0 failures (±0)
101 tests (+1)
Took 9.6 sec.

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage61 msPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException0.11 secPassed
attributeChangedOutsideTransactionThrowsIllegalStateException0.11 secPassed
attributeChangedSetsAttributeLoadStatusToLoaded66 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue63 msPassed
changesToRemovedObjectAreIgnoredOnCommit62 msPassed
clearCleansUpPersistenceContext62 msPassed
clearResetsCloneBuilder61 msPassed
commitAddsNewObjectsToCache0.1 secPassed
commitAddsNewlyAddedReferenceToObjectToCache64 msPassed
commitDetachesPersistedInstance0.1 secPassed
commitEvictsInferredClassesFromCache0.1 secPassed
commitEvictsRemovedObjectsFromCache0.1 secPassed
commitInactiveUoWThrowsIllegalStateException0.1 secPassed
commitPersistsAllNewlyRegisteredObjects61 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction0.1 secPassed
commitRemovesRemovedObjectsFromStorage0.2 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances0.1 secPassed
containsReturnsTrueForRegisteredExistingObject0.1 secPassed
detachReplacesInheritedIndirectCollectionWithRegularOne61 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject0.11 secPassed
getContextsRetrievesContextsFromStorage0.1 secPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject0.11 secPassed
getManagedOriginalForDifferentContextReturnsNull95 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull0.11 secPassed
getManagedOriginalReturnsManagedOriginalInstance0.11 secPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects0.12 secPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType0.1 secPassed
getOriginalReturnsOriginalRegisteredByReadObject94 msPassed
getOriginalWithNullArgumentReturnsNull0.1 secPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.1 secPassed
isConsistentCallsStorageConsistencyCheck0.1 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.1 secPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.11 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged0.11 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance0.17 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.1 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute61 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.1 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject59 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance0.11 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject60 msPassed
isLoadedReturnsUnknownForUnregisteredObject0.1 secPassed
isObjectManagedReturnsTrueForRegisteredExistingObject97 msPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument93 msPassed
isObjectNewReturnsFalseForNullArgument0.1 secPassed
isObjectNewReturnsFalseForRegisteredExistingObject71 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject0.17 secPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded0.11 secPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded0.1 secPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException62 msPassed
loadFieldLoadsLiteralValueAttribute0.1 secPassed
loadFieldLoadsManagedTypeAttribute0.12 secPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes0.1 secPassed
readAlreadyManagedObjectReturnsTheManagedOne0.1 secPassed
readNewlyRegisteredObjectReturnsIt60 msPassed
readObjectLoadsObjectFromStorage62 msPassed
readObjectWithNullClassThrowsNullPointerException0.1 secPassed
readObjectWithNullDescriptorThrowsNullPointerException59 msPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException99 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState65 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet0.11 secPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges0.11 secPassed
refreshOverwritesChangesSentToRepository0.1 secPassed
refreshOverwritesObjectPropertyChanges67 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance66 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity0.1 secPassed
refreshThrowsIllegalArgumentForNonManagedInstance99 msPassed
refreshThrowsIllegalArgumentForRemovedInstance0.1 secPassed
registerExistingObjectInvokesPostCloneListeners98 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.13 secPassed
registerExistingObjectReturnsRegisteredClone0.11 secPassed
registerExistingObjectTwiceReturnsSameClone0.1 secPassed
registerNewObjectAddsArgumentToPersistenceContext60 msPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne62 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated64 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument0.11 secPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor60 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions61 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities61 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive60 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException94 msPassed
removeObjectFromCacheEvictsObjectFromCacheManager0.11 secPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository62 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext0.1 secPassed
restoreDeletedRegistersObjectAgain0.1 secPassed
restoreDeletedReinsertsObjectIntoRepository0.1 secPassed
rollbackDetachesAllManagedEntities0.13 secPassed
rollbackInactiveUoWThrowsIllegalStateException60 msPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext68 msPassed
testCalculateModificationsDataProperty0.1 secPassed
testGetState62 msPassed
testGetStateWithDescriptor0.1 secPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit0.1 secPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit97 msPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached63 msPassed
unregisterObjectRemovesItFromCloneBuilderCache0.1 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection94 msPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.12 secPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.11 secPassed
unwrapReturnsItselfWhenClassMatches97 msPassed