Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage70 msPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException71 msPassed
attributeChangedOutsideTransactionThrowsIllegalStateException71 msPassed
attributeChangedSetsAttributeLoadStatusToLoaded68 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue65 msPassed
changesToRemovedObjectAreIgnoredOnCommit61 msPassed
clearCleansUpPersistenceContext0.16 secPassed
clearResetsCloneBuilder0.1 secPassed
commitAddsNewObjectsToCache66 msPassed
commitAddsNewlyAddedReferenceToObjectToCache0.12 secPassed
commitDetachesPersistedInstance61 msPassed
commitEvictsInferredClassesFromCache82 msPassed
commitEvictsRemovedObjectsFromCache63 msPassed
commitInactiveUoWThrowsIllegalStateException91 msPassed
commitPersistsAllNewlyRegisteredObjects0.1 secPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction0.13 secPassed
commitRemovesRemovedObjectsFromStorage0.2 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances71 msPassed
containsReturnsTrueForRegisteredExistingObject0.11 secPassed
detachReplacesInheritedIndirectCollectionWithRegularOne62 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject64 msPassed
getContextsRetrievesContextsFromStorage99 msPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject68 msPassed
getManagedOriginalForDifferentContextReturnsNull62 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull81 msPassed
getManagedOriginalReturnsManagedOriginalInstance0.1 secPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects81 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType62 msPassed
getOriginalReturnsOriginalRegisteredByReadObject63 msPassed
getOriginalWithNullArgumentReturnsNull61 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction69 msPassed
isConsistentCallsStorageConsistencyCheck0.21 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.14 secPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.12 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged67 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance81 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.11 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute0.12 secPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute89 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0.1 secPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance76 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject0.11 secPassed
isLoadedReturnsUnknownForUnregisteredObject60 msPassed
isObjectManagedReturnsTrueForRegisteredExistingObject61 msPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument61 msPassed
isObjectNewReturnsFalseForNullArgument67 msPassed
isObjectNewReturnsFalseForRegisteredExistingObject0.13 secPassed
isObjectNewReturnsTrueForNewlyRegisteredObject85 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded70 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded79 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException0.1 secPassed
loadFieldLoadsLiteralValueAttribute0.11 secPassed
loadFieldLoadsManagedTypeAttribute70 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes0.1 secPassed
readAlreadyManagedObjectReturnsTheManagedOne62 msPassed
readNewlyRegisteredObjectReturnsIt0.1 secPassed
readObjectLoadsObjectFromStorage0.11 secPassed
readObjectWithNullClassThrowsNullPointerException61 msPassed
readObjectWithNullDescriptorThrowsNullPointerException0.11 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException61 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState0.11 secPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet73 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges0.12 secPassed
refreshOverwritesChangesSentToRepository80 msPassed
refreshOverwritesObjectPropertyChanges0.14 secPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance0.12 secPassed
refreshThrowsEntityNotFoundForNonExistentEntity64 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance79 msPassed
refreshThrowsIllegalArgumentForRemovedInstance0.1 secPassed
registerExistingObjectInvokesPostCloneListeners61 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.22 secPassed
registerExistingObjectReturnsRegisteredClone65 msPassed
registerExistingObjectTwiceReturnsSameClone0.1 secPassed
registerNewObjectAddsArgumentToPersistenceContext0.1 secPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne0.1 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated0.1 secPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument0.1 secPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor0.1 secPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions61 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities63 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive0.1 secPassed
removeNotRegisteredObjectThrowsIllegalArgumentException61 msPassed
removeObjectFromCacheEvictsObjectFromCacheManager0.1 secPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository63 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext62 msPassed
restoreDeletedRegistersObjectAgain63 msPassed
restoreDeletedReinsertsObjectIntoRepository64 msPassed
rollbackDetachesAllManagedEntities0.16 secPassed
rollbackInactiveUoWThrowsIllegalStateException0.1 secPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext0.11 secPassed
testCalculateModificationsDataProperty64 msPassed
testGetState0.11 secPassed
testGetStateWithDescriptor0.11 secPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit0.1 secPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit0.15 secPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached64 msPassed
unregisterObjectRemovesItFromCloneBuilderCache0.1 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection63 msPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull90 msPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.1 secPassed
unwrapReturnsItselfWhenClassMatches73 msPassed