Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage91 msPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException91 msPassed
attributeChangedOutsideTransactionThrowsIllegalStateException90 msPassed
attributeChangedSetsAttributeLoadStatusToLoaded96 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue91 msPassed
changesToRemovedObjectAreIgnoredOnCommit0.12 secPassed
clearCleansUpPersistenceContext0.19 secPassed
clearResetsCloneBuilder0.15 secPassed
commitAddsNewObjectsToCache0.16 secPassed
commitAddsNewlyAddedReferenceToObjectToCache0.14 secPassed
commitDetachesPersistedInstance93 msPassed
commitEvictsInferredClassesFromCache0.1 secPassed
commitEvictsRemovedObjectsFromCache0.16 secPassed
commitInactiveUoWThrowsIllegalStateException0.17 secPassed
commitPersistsAllNewlyRegisteredObjects0.15 secPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction0.18 secPassed
commitRemovesRemovedObjectsFromStorage0.15 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances95 msPassed
containsReturnsTrueForRegisteredExistingObject0.16 secPassed
detachReplacesInheritedIndirectCollectionWithRegularOne0.15 secPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject0.18 secPassed
getContextsRetrievesContextsFromStorage0.15 secPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject98 msPassed
getManagedOriginalForDifferentContextReturnsNull0.22 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull0.17 secPassed
getManagedOriginalReturnsManagedOriginalInstance0.17 secPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects96 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType0.18 secPassed
getOriginalReturnsOriginalRegisteredByReadObject0.21 secPassed
getOriginalWithNullArgumentReturnsNull0.17 secPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.1 secPassed
isConsistentCallsStorageConsistencyCheck0.22 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.15 secPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.16 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged0.17 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance92 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.15 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute0.28 secPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.2 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0.14 secPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance0.1 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject0.15 secPassed
isLoadedReturnsUnknownForUnregisteredObject0.21 secPassed
isObjectManagedReturnsTrueForRegisteredExistingObject0.22 secPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.18 secPassed
isObjectNewReturnsFalseForNullArgument0.13 secPassed
isObjectNewReturnsFalseForRegisteredExistingObject0.17 secPassed
isObjectNewReturnsTrueForNewlyRegisteredObject91 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded0.17 secPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded97 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException0.28 secPassed
loadFieldLoadsLiteralValueAttribute0.18 secPassed
loadFieldLoadsManagedTypeAttribute0.17 secPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes0.15 secPassed
readAlreadyManagedObjectReturnsTheManagedOne0.14 secPassed
readNewlyRegisteredObjectReturnsIt0.16 secPassed
readObjectLoadsObjectFromStorage0.18 secPassed
readObjectWithNullClassThrowsNullPointerException0.17 secPassed
readObjectWithNullDescriptorThrowsNullPointerException0.15 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.16 secPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState0.15 secPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet95 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges0.15 secPassed
refreshOverwritesChangesSentToRepository0.11 secPassed
refreshOverwritesObjectPropertyChanges0.15 secPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance0.23 secPassed
refreshThrowsEntityNotFoundForNonExistentEntity0.18 secPassed
refreshThrowsIllegalArgumentForNonManagedInstance0.1 secPassed
refreshThrowsIllegalArgumentForRemovedInstance0.22 secPassed
registerExistingObjectInvokesPostCloneListeners0.26 secPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.14 secPassed
registerExistingObjectReturnsRegisteredClone0.15 secPassed
registerExistingObjectTwiceReturnsSameClone0.14 secPassed
registerNewObjectAddsArgumentToPersistenceContext0.17 secPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne0.14 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated0.33 secPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument0.14 secPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor0.15 secPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions95 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities89 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive0.22 secPassed
removeNotRegisteredObjectThrowsIllegalArgumentException92 msPassed
removeObjectFromCacheEvictsObjectFromCacheManager0.14 secPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository92 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext90 msPassed
restoreDeletedRegistersObjectAgain0.31 secPassed
restoreDeletedReinsertsObjectIntoRepository97 msPassed
rollbackDetachesAllManagedEntities0.18 secPassed
rollbackInactiveUoWThrowsIllegalStateException0.17 secPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext0.18 secPassed
testCalculateModificationsDataProperty97 msPassed
testGetState0.22 secPassed
testGetStateWithDescriptor0.2 secPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit98 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit0.17 secPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached91 msPassed
unregisterObjectRemovesItFromCloneBuilderCache0.17 secPassed
unregisterObjectReplacesChangeTrackingProxiesWithReferencedObjects0.1 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.15 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.19 secPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.15 secPassed
unwrapReturnsItselfWhenClassMatches0.14 secPassed