Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

0 failures (±0)
102 tests (±0)
Took 16 sec.

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage87 msPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException91 msPassed
attributeChangedOutsideTransactionThrowsIllegalStateException0.15 secPassed
attributeChangedSetsAttributeLoadStatusToLoaded95 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue90 msPassed
changesToRemovedObjectAreIgnoredOnCommit89 msPassed
clearCleansUpPersistenceContext0.1 secPassed
clearResetsCloneBuilder0.44 secPassed
commitAddsNewObjectsToCache0.16 secPassed
commitAddsNewlyAddedReferenceToObjectToCache0.15 secPassed
commitDetachesPersistedInstance0.11 secPassed
commitEvictsInferredClassesFromCache0.19 secPassed
commitEvictsRemovedObjectsFromCache0.17 secPassed
commitInactiveUoWThrowsIllegalStateException0.16 secPassed
commitPersistsAllNewlyRegisteredObjects0.16 secPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction0.17 secPassed
commitRemovesRemovedObjectsFromStorage0.18 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances0.19 secPassed
containsReturnsTrueForRegisteredExistingObject0.15 secPassed
detachReplacesInheritedIndirectCollectionWithRegularOne90 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject0.17 secPassed
getContextsRetrievesContextsFromStorage0.16 secPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject0.1 secPassed
getManagedOriginalForDifferentContextReturnsNull0.16 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull0.15 secPassed
getManagedOriginalReturnsManagedOriginalInstance0.15 secPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects0.18 secPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType0.15 secPassed
getOriginalReturnsOriginalRegisteredByReadObject0.18 secPassed
getOriginalWithNullArgumentReturnsNull0.18 secPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.12 secPassed
isConsistentCallsStorageConsistencyCheck0.15 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.15 secPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.17 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged0.15 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance0.17 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.15 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute0.22 secPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.16 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0.17 secPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance0.17 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject0.24 secPassed
isLoadedReturnsUnknownForUnregisteredObject0.15 secPassed
isObjectManagedReturnsTrueForRegisteredExistingObject0.18 secPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.19 secPassed
isObjectNewReturnsFalseForNullArgument0.16 secPassed
isObjectNewReturnsFalseForRegisteredExistingObject0.18 secPassed
isObjectNewReturnsTrueForNewlyRegisteredObject0.15 secPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded0.2 secPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded95 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException0.19 secPassed
loadFieldLoadsLiteralValueAttribute0.15 secPassed
loadFieldLoadsManagedTypeAttribute0.17 secPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes0.15 secPassed
readAlreadyManagedObjectReturnsTheManagedOne0.21 secPassed
readNewlyRegisteredObjectReturnsIt0.14 secPassed
readObjectLoadsObjectFromStorage0.17 secPassed
readObjectWithNullClassThrowsNullPointerException0.15 secPassed
readObjectWithNullDescriptorThrowsNullPointerException0.27 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.16 secPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState0.18 secPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet96 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges0.15 secPassed
refreshOverwritesChangesSentToRepository96 msPassed
refreshOverwritesObjectPropertyChanges0.19 secPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance0.17 secPassed
refreshThrowsEntityNotFoundForNonExistentEntity0.16 secPassed
refreshThrowsIllegalArgumentForNonManagedInstance0.2 secPassed
refreshThrowsIllegalArgumentForRemovedInstance0.16 secPassed
registerExistingObjectInvokesPostCloneListeners0.3 secPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.18 secPassed
registerExistingObjectReturnsRegisteredClone0.17 secPassed
registerExistingObjectTwiceReturnsSameClone0.15 secPassed
registerNewObjectAddsArgumentToPersistenceContext0.14 secPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne0.15 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated0.22 secPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument0.14 secPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor0.14 secPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions89 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities89 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive89 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException0.11 secPassed
removeObjectFromCacheEvictsObjectFromCacheManager0.14 secPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository87 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext0.1 secPassed
restoreDeletedRegistersObjectAgain92 msPassed
restoreDeletedReinsertsObjectIntoRepository0.11 secPassed
rollbackDetachesAllManagedEntities0.16 secPassed
rollbackInactiveUoWThrowsIllegalStateException0.32 secPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext0.17 secPassed
testCalculateModificationsDataProperty0.18 secPassed
testGetState0.23 secPassed
testGetStateWithDescriptor0.15 secPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit98 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit0.19 secPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached90 msPassed
unregisterObjectRemovesItFromCloneBuilderCache0.15 secPassed
unregisterObjectReplacesChangeTrackingProxiesWithReferencedObjects0.18 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.15 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.16 secPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.39 secPassed
unwrapReturnsItselfWhenClassMatches0.18 secPassed