Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage89 msPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException0.19 secPassed
attributeChangedOutsideTransactionThrowsIllegalStateException89 msPassed
attributeChangedSetsAttributeLoadStatusToLoaded95 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue90 msPassed
changesToRemovedObjectAreIgnoredOnCommit88 msPassed
clearCleansUpPersistenceContext0.12 secPassed
clearResetsCloneBuilder0.19 secPassed
commitAddsNewObjectsToCache0.19 secPassed
commitAddsNewlyAddedReferenceToObjectToCache0.14 secPassed
commitDetachesPersistedInstance0.19 secPassed
commitEvictsInferredClassesFromCache0.2 secPassed
commitEvictsRemovedObjectsFromCache0.2 secPassed
commitInactiveUoWThrowsIllegalStateException0.2 secPassed
commitPersistsAllNewlyRegisteredObjects0.17 secPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction0.17 secPassed
commitRemovesRemovedObjectsFromStorage0.18 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances89 msPassed
containsReturnsTrueForRegisteredExistingObject0.2 secPassed
detachReplacesInheritedIndirectCollectionWithRegularOne0.17 secPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject0.2 secPassed
getContextsRetrievesContextsFromStorage0.16 secPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject0.22 secPassed
getManagedOriginalForDifferentContextReturnsNull0.22 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull0.19 secPassed
getManagedOriginalReturnsManagedOriginalInstance0.19 secPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects0.2 secPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType0.25 secPassed
getOriginalReturnsOriginalRegisteredByReadObject0.19 secPassed
getOriginalWithNullArgumentReturnsNull0.2 secPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.21 secPassed
isConsistentCallsStorageConsistencyCheck0.19 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.17 secPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.18 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged0.18 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance0.19 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.25 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute99 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.21 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0.22 secPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance0.25 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject0.15 secPassed
isLoadedReturnsUnknownForUnregisteredObject0.21 secPassed
isObjectManagedReturnsTrueForRegisteredExistingObject0.19 secPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.18 secPassed
isObjectNewReturnsFalseForNullArgument0.19 secPassed
isObjectNewReturnsFalseForRegisteredExistingObject0.1 secPassed
isObjectNewReturnsTrueForNewlyRegisteredObject0.19 secPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded0.21 secPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded95 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException86 msPassed
loadFieldLoadsLiteralValueAttribute0.2 secPassed
loadFieldLoadsManagedTypeAttribute0.22 secPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes0.2 secPassed
readAlreadyManagedObjectReturnsTheManagedOne0.17 secPassed
readNewlyRegisteredObjectReturnsIt0.13 secPassed
readObjectLoadsObjectFromStorage94 msPassed
readObjectWithNullClassThrowsNullPointerException0.2 secPassed
readObjectWithNullDescriptorThrowsNullPointerException0.15 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.2 secPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState0.11 secPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet0.1 secPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges0.18 secPassed
refreshOverwritesChangesSentToRepository0.22 secPassed
refreshOverwritesObjectPropertyChanges0.15 secPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance0.1 secPassed
refreshThrowsEntityNotFoundForNonExistentEntity0.17 secPassed
refreshThrowsIllegalArgumentForNonManagedInstance0.19 secPassed
refreshThrowsIllegalArgumentForRemovedInstance0.24 secPassed
registerExistingObjectInvokesPostCloneListeners0.17 secPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.2 secPassed
registerExistingObjectReturnsRegisteredClone0.2 secPassed
registerExistingObjectTwiceReturnsSameClone0.21 secPassed
registerNewObjectAddsArgumentToPersistenceContext0.13 secPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne0.14 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated0.1 secPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument0.17 secPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor0.25 secPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions0.1 secPassed
releaseRemovesIndirectCollectionsFromManagedEntities88 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive86 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException0.2 secPassed
removeObjectFromCacheEvictsObjectFromCacheManager0.21 secPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository0.1 secPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext0.2 secPassed
restoreDeletedRegistersObjectAgain0.17 secPassed
restoreDeletedReinsertsObjectIntoRepository0.22 secPassed
rollbackDetachesAllManagedEntities0.18 secPassed
rollbackInactiveUoWThrowsIllegalStateException0.13 secPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext0.1 secPassed
testCalculateModificationsDataProperty0.19 secPassed
testGetState0.15 secPassed
testGetStateWithDescriptor0.16 secPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit0.21 secPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit0.17 secPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached0.1 secPassed
unregisterObjectRemovesItFromCloneBuilderCache0.17 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.21 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.29 secPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.19 secPassed
unwrapReturnsItselfWhenClassMatches0.16 secPassed