Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage0.11 secPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException0.11 secPassed
attributeChangedOutsideTransactionThrowsIllegalStateException0.11 secPassed
attributeChangedSetsAttributeLoadStatusToLoaded86 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue0.11 secPassed
changesToRemovedObjectAreIgnoredOnCommit0.12 secPassed
clearCleansUpPersistenceContext64 msPassed
clearResetsCloneBuilder69 msPassed
commitAddsNewObjectsToCache97 msPassed
commitAddsNewlyAddedReferenceToObjectToCache0.11 secPassed
commitDetachesPersistedInstance0.11 secPassed
commitEvictsInferredClassesFromCache0.1 secPassed
commitEvictsRemovedObjectsFromCache97 msPassed
commitInactiveUoWThrowsIllegalStateException92 msPassed
commitPersistsAllNewlyRegisteredObjects0.13 secPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction97 msPassed
commitRemovesRemovedObjectsFromStorage0.16 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances0.13 secPassed
containsReturnsTrueForRegisteredExistingObject92 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne63 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject0.13 secPassed
getContextsRetrievesContextsFromStorage91 msPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject0.13 secPassed
getManagedOriginalForDifferentContextReturnsNull94 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull93 msPassed
getManagedOriginalReturnsManagedOriginalInstance92 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects0.1 secPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType0.11 secPassed
getOriginalReturnsOriginalRegisteredByReadObject0.1 secPassed
getOriginalWithNullArgumentReturnsNull0.14 secPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.12 secPassed
isConsistentCallsStorageConsistencyCheck91 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper97 msPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.1 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged0.1 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance95 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject92 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute62 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.11 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0.19 secPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance0.1 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject0.13 secPassed
isLoadedReturnsUnknownForUnregisteredObject91 msPassed
isObjectManagedReturnsTrueForRegisteredExistingObject0.13 secPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.11 secPassed
isObjectNewReturnsFalseForNullArgument91 msPassed
isObjectNewReturnsFalseForRegisteredExistingObject62 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject97 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded0.13 secPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded0.12 secPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException61 msPassed
loadFieldLoadsLiteralValueAttribute96 msPassed
loadFieldLoadsManagedTypeAttribute0.1 secPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes95 msPassed
readAlreadyManagedObjectReturnsTheManagedOne0.11 secPassed
readNewlyRegisteredObjectReturnsIt0.11 secPassed
readObjectLoadsObjectFromStorage63 msPassed
readObjectWithNullClassThrowsNullPointerException92 msPassed
readObjectWithNullDescriptorThrowsNullPointerException0.11 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.11 secPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState63 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet0.11 secPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges97 msPassed
refreshOverwritesChangesSentToRepository0.11 secPassed
refreshOverwritesObjectPropertyChanges64 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance66 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity95 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance93 msPassed
refreshThrowsIllegalArgumentForRemovedInstance95 msPassed
registerExistingObjectInvokesPostCloneListeners0.11 secPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.11 secPassed
registerExistingObjectReturnsRegisteredClone0.11 secPassed
registerExistingObjectTwiceReturnsSameClone93 msPassed
registerNewObjectAddsArgumentToPersistenceContext0.1 secPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne0.12 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated62 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument90 msPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor93 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions0.11 secPassed
releaseRemovesIndirectCollectionsFromManagedEntities0.11 secPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive59 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException0.11 secPassed
removeObjectFromCacheEvictsObjectFromCacheManager0.1 secPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository0.11 secPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext0.13 secPassed
restoreDeletedRegistersObjectAgain0.11 secPassed
restoreDeletedReinsertsObjectIntoRepository0.11 secPassed
rollbackDetachesAllManagedEntities0.1 secPassed
rollbackInactiveUoWThrowsIllegalStateException88 msPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext61 msPassed
testCalculateModificationsDataProperty0.11 secPassed
testGetState0.12 secPassed
testGetStateWithDescriptor94 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit0.12 secPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit93 msPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached0.11 secPassed
unregisterObjectRemovesItFromCloneBuilderCache93 msPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.1 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.12 secPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext93 msPassed
unwrapReturnsItselfWhenClassMatches0.11 secPassed