Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

0 failures (±0)
102 tests (+1)
Took 15 sec.

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage88 msPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException86 msPassed
attributeChangedOutsideTransactionThrowsIllegalStateException85 msPassed
attributeChangedSetsAttributeLoadStatusToLoaded0.28 secPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue91 msPassed
changesToRemovedObjectAreIgnoredOnCommit0.11 secPassed
clearCleansUpPersistenceContext88 msPassed
clearResetsCloneBuilder0.16 secPassed
commitAddsNewObjectsToCache0.14 secPassed
commitAddsNewlyAddedReferenceToObjectToCache0.17 secPassed
commitDetachesPersistedInstance0.18 secPassed
commitEvictsInferredClassesFromCache0.16 secPassed
commitEvictsRemovedObjectsFromCache0.19 secPassed
commitInactiveUoWThrowsIllegalStateException0.13 secPassed
commitPersistsAllNewlyRegisteredObjects0.16 secPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction0.18 secPassed
commitRemovesRemovedObjectsFromStorage0.21 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances87 msPassed
containsReturnsTrueForRegisteredExistingObject0.33 secPassed
detachReplacesInheritedIndirectCollectionWithRegularOne93 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject0.26 secPassed
getContextsRetrievesContextsFromStorage0.15 secPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject0.16 secPassed
getManagedOriginalForDifferentContextReturnsNull0.2 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull0.2 secPassed
getManagedOriginalReturnsManagedOriginalInstance0.15 secPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects0.14 secPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType0.14 secPassed
getOriginalReturnsOriginalRegisteredByReadObject0.19 secPassed
getOriginalWithNullArgumentReturnsNull0.18 secPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.18 secPassed
isConsistentCallsStorageConsistencyCheck0.14 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.16 secPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.16 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged0.13 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance0.16 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.15 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute86 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.15 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0.15 secPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance0.13 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject0.18 secPassed
isLoadedReturnsUnknownForUnregisteredObject0.13 secPassed
isObjectManagedReturnsTrueForRegisteredExistingObject0.19 secPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.18 secPassed
isObjectNewReturnsFalseForNullArgument0.18 secPassed
isObjectNewReturnsFalseForRegisteredExistingObject99 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject0.19 secPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded0.18 secPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded93 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException84 msPassed
loadFieldLoadsLiteralValueAttribute0.15 secPassed
loadFieldLoadsManagedTypeAttribute0.15 secPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes0.13 secPassed
readAlreadyManagedObjectReturnsTheManagedOne0.18 secPassed
readNewlyRegisteredObjectReturnsIt0.15 secPassed
readObjectLoadsObjectFromStorage83 msPassed
readObjectWithNullClassThrowsNullPointerException0.13 secPassed
readObjectWithNullDescriptorThrowsNullPointerException0.18 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.15 secPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState0.18 secPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet88 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges0.16 secPassed
refreshOverwritesChangesSentToRepository0.21 secPassed
refreshOverwritesObjectPropertyChanges89 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance85 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity0.14 secPassed
refreshThrowsIllegalArgumentForNonManagedInstance0.15 secPassed
refreshThrowsIllegalArgumentForRemovedInstance0.22 secPassed
registerExistingObjectInvokesPostCloneListeners0.17 secPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.18 secPassed
registerExistingObjectReturnsRegisteredClone0.17 secPassed
registerExistingObjectTwiceReturnsSameClone0.14 secPassed
registerNewObjectAddsArgumentToPersistenceContext0.16 secPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne0.17 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated83 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument0.15 secPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor0.14 secPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions89 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities90 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive89 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException0.17 secPassed
removeObjectFromCacheEvictsObjectFromCacheManager0.14 secPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository88 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext0.22 secPassed
restoreDeletedRegistersObjectAgain0.17 secPassed
restoreDeletedReinsertsObjectIntoRepository0.18 secPassed
rollbackDetachesAllManagedEntities0.16 secPassed
rollbackInactiveUoWThrowsIllegalStateException0.16 secPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext83 msPassed
testCalculateModificationsDataProperty0.14 secPassed
testGetState0.17 secPassed
testGetStateWithDescriptor0.26 secPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit0.21 secPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit0.17 secPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached89 msPassed
unregisterObjectRemovesItFromCloneBuilderCache0.16 secPassed
unregisterObjectReplacesChangeTrackingProxiesWithReferencedObjects0.14 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.19 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.14 secPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.14 secPassed
unwrapReturnsItselfWhenClassMatches0.11 secPassed