Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage76 msPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException73 msPassed
attributeChangedOutsideTransactionThrowsIllegalStateException71 msPassed
attributeChangedSetsAttributeLoadStatusToLoaded74 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue70 msPassed
changesToRemovedObjectAreIgnoredOnCommit70 msPassed
clearCleansUpPersistenceContext0.12 secPassed
clearResetsCloneBuilder0.12 secPassed
commitAddsNewObjectsToCache0.15 secPassed
commitAddsNewlyAddedReferenceToObjectToCache0.12 secPassed
commitDetachesPersistedInstance67 msPassed
commitEvictsInferredClassesFromCache70 msPassed
commitEvictsRemovedObjectsFromCache85 msPassed
commitInactiveUoWThrowsIllegalStateException0.12 secPassed
commitPersistsAllNewlyRegisteredObjects0.12 secPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction0.14 secPassed
commitRemovesRemovedObjectsFromStorage0.23 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances69 msPassed
containsReturnsTrueForRegisteredExistingObject0.12 secPassed
detachReplacesInheritedIndirectCollectionWithRegularOne69 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject69 msPassed
getContextsRetrievesContextsFromStorage0.11 secPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject71 msPassed
getManagedOriginalForDifferentContextReturnsNull0.12 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull69 msPassed
getManagedOriginalReturnsManagedOriginalInstance0.12 secPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects72 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType67 msPassed
getOriginalReturnsOriginalRegisteredByReadObject67 msPassed
getOriginalWithNullArgumentReturnsNull65 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction73 msPassed
isConsistentCallsStorageConsistencyCheck71 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.16 secPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.15 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged68 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance0.11 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.11 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute0.12 secPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute77 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0.11 secPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance68 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject0.12 secPassed
isLoadedReturnsUnknownForUnregisteredObject0.14 secPassed
isObjectManagedReturnsTrueForRegisteredExistingObject67 msPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument66 msPassed
isObjectNewReturnsFalseForNullArgument90 msPassed
isObjectNewReturnsFalseForRegisteredExistingObject0.12 secPassed
isObjectNewReturnsTrueForNewlyRegisteredObject68 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded75 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded87 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException0.12 secPassed
loadFieldLoadsLiteralValueAttribute71 msPassed
loadFieldLoadsManagedTypeAttribute0.13 secPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes0.13 secPassed
readAlreadyManagedObjectReturnsTheManagedOne67 msPassed
readNewlyRegisteredObjectReturnsIt0.12 secPassed
readObjectLoadsObjectFromStorage0.12 secPassed
readObjectWithNullClassThrowsNullPointerException0.13 secPassed
readObjectWithNullDescriptorThrowsNullPointerException0.12 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException67 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState0.12 secPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet72 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges0.15 secPassed
refreshOverwritesChangesSentToRepository70 msPassed
refreshOverwritesObjectPropertyChanges0.12 secPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance0.12 secPassed
refreshThrowsEntityNotFoundForNonExistentEntity0.12 secPassed
refreshThrowsIllegalArgumentForNonManagedInstance82 msPassed
refreshThrowsIllegalArgumentForRemovedInstance0.12 secPassed
registerExistingObjectInvokesPostCloneListeners68 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.19 secPassed
registerExistingObjectReturnsRegisteredClone68 msPassed
registerExistingObjectTwiceReturnsSameClone0.13 secPassed
registerNewObjectAddsArgumentToPersistenceContext0.12 secPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne0.12 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated0.12 secPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument0.11 secPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor0.12 secPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions70 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities68 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive0.11 secPassed
removeNotRegisteredObjectThrowsIllegalArgumentException68 msPassed
removeObjectFromCacheEvictsObjectFromCacheManager0.12 secPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository69 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext66 msPassed
restoreDeletedRegistersObjectAgain72 msPassed
restoreDeletedReinsertsObjectIntoRepository67 msPassed
rollbackDetachesAllManagedEntities0.12 secPassed
rollbackInactiveUoWThrowsIllegalStateException0.12 secPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext0.12 secPassed
testCalculateModificationsDataProperty71 msPassed
testGetState0.12 secPassed
testGetStateWithDescriptor0.11 secPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit72 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit0.13 secPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached73 msPassed
unregisterObjectRemovesItFromCloneBuilderCache0.12 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.12 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull76 msPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.12 secPassed
unwrapReturnsItselfWhenClassMatches65 msPassed