Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage67 msPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException68 msPassed
attributeChangedOutsideTransactionThrowsIllegalStateException67 msPassed
attributeChangedSetsAttributeLoadStatusToLoaded79 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue69 msPassed
changesToRemovedObjectAreIgnoredOnCommit70 msPassed
clearCleansUpPersistenceContext76 msPassed
clearResetsCloneBuilder70 msPassed
commitAddsNewObjectsToCache88 msPassed
commitAddsNewlyAddedReferenceToObjectToCache73 msPassed
commitDetachesPersistedInstance0.11 secPassed
commitEvictsInferredClassesFromCache67 msPassed
commitEvictsRemovedObjectsFromCache93 msPassed
commitInactiveUoWThrowsIllegalStateException0.1 secPassed
commitPersistsAllNewlyRegisteredObjects75 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction85 msPassed
commitRemovesRemovedObjectsFromStorage0.17 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances68 msPassed
containsReturnsTrueForRegisteredExistingObject0.14 secPassed
detachReplacesInheritedIndirectCollectionWithRegularOne88 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject80 msPassed
getContextsRetrievesContextsFromStorage86 msPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject71 msPassed
getManagedOriginalForDifferentContextReturnsNull98 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull78 msPassed
getManagedOriginalReturnsManagedOriginalInstance69 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects66 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType65 msPassed
getOriginalReturnsOriginalRegisteredByReadObject66 msPassed
getOriginalWithNullArgumentReturnsNull65 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction77 msPassed
isConsistentCallsStorageConsistencyCheck64 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper75 msPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded82 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged65 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance75 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject74 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute86 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute72 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject68 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance66 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject0.11 secPassed
isLoadedReturnsUnknownForUnregisteredObject98 msPassed
isObjectManagedReturnsTrueForRegisteredExistingObject81 msPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument64 msPassed
isObjectNewReturnsFalseForNullArgument95 msPassed
isObjectNewReturnsFalseForRegisteredExistingObject90 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject77 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded73 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded73 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException69 msPassed
loadFieldLoadsLiteralValueAttribute95 msPassed
loadFieldLoadsManagedTypeAttribute97 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes0.1 secPassed
readAlreadyManagedObjectReturnsTheManagedOne67 msPassed
readNewlyRegisteredObjectReturnsIt72 msPassed
readObjectLoadsObjectFromStorage98 msPassed
readObjectWithNullClassThrowsNullPointerException94 msPassed
readObjectWithNullDescriptorThrowsNullPointerException69 msPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException64 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState74 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet72 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges74 msPassed
refreshOverwritesChangesSentToRepository70 msPassed
refreshOverwritesObjectPropertyChanges71 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance85 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity89 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance69 msPassed
refreshThrowsIllegalArgumentForRemovedInstance80 msPassed
registerExistingObjectInvokesPostCloneListeners66 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.17 secPassed
registerExistingObjectReturnsRegisteredClone70 msPassed
registerExistingObjectTwiceReturnsSameClone72 msPassed
registerNewObjectAddsArgumentToPersistenceContext70 msPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne69 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated82 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument75 msPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor69 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions69 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities67 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive66 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException64 msPassed
removeObjectFromCacheEvictsObjectFromCacheManager67 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository67 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext71 msPassed
restoreDeletedRegistersObjectAgain65 msPassed
restoreDeletedReinsertsObjectIntoRepository67 msPassed
rollbackDetachesAllManagedEntities71 msPassed
rollbackInactiveUoWThrowsIllegalStateException68 msPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext78 msPassed
testCalculateModificationsDataProperty66 msPassed
testGetState86 msPassed
testGetStateWithDescriptor0.1 secPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit72 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit71 msPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached71 msPassed
unregisterObjectRemovesItFromCloneBuilderCache0.1 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.11 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull72 msPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext77 msPassed
unwrapReturnsItselfWhenClassMatches67 msPassed