Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage68 msPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException66 msPassed
attributeChangedOutsideTransactionThrowsIllegalStateException69 msPassed
attributeChangedSetsAttributeLoadStatusToLoaded75 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue72 msPassed
changesToRemovedObjectAreIgnoredOnCommit70 msPassed
clearCleansUpPersistenceContext0.13 secPassed
clearResetsCloneBuilder0.12 secPassed
commitAddsNewObjectsToCache0.13 secPassed
commitAddsNewlyAddedReferenceToObjectToCache0.12 secPassed
commitDetachesPersistedInstance68 msPassed
commitEvictsInferredClassesFromCache71 msPassed
commitEvictsRemovedObjectsFromCache0.14 secPassed
commitInactiveUoWThrowsIllegalStateException0.12 secPassed
commitPersistsAllNewlyRegisteredObjects0.13 secPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction0.13 secPassed
commitRemovesRemovedObjectsFromStorage0.19 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances68 msPassed
containsReturnsTrueForRegisteredExistingObject0.12 secPassed
detachReplacesInheritedIndirectCollectionWithRegularOne68 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject68 msPassed
getContextsRetrievesContextsFromStorage0.12 secPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject72 msPassed
getManagedOriginalForDifferentContextReturnsNull0.16 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull0.11 secPassed
getManagedOriginalReturnsManagedOriginalInstance0.12 secPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects0.12 secPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType68 msPassed
getOriginalReturnsOriginalRegisteredByReadObject68 msPassed
getOriginalWithNullArgumentReturnsNull67 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction72 msPassed
isConsistentCallsStorageConsistencyCheck0.1 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.13 secPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.14 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged68 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance0.12 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.12 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute0.12 secPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute91 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0.12 secPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance69 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject0.12 secPassed
isLoadedReturnsUnknownForUnregisteredObject0.12 secPassed
isObjectManagedReturnsTrueForRegisteredExistingObject67 msPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument66 msPassed
isObjectNewReturnsFalseForNullArgument0.14 secPassed
isObjectNewReturnsFalseForRegisteredExistingObject0.13 secPassed
isObjectNewReturnsTrueForNewlyRegisteredObject0.12 secPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded75 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded73 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException0.12 secPassed
loadFieldLoadsLiteralValueAttribute0.15 secPassed
loadFieldLoadsManagedTypeAttribute0.13 secPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes0.12 secPassed
readAlreadyManagedObjectReturnsTheManagedOne66 msPassed
readNewlyRegisteredObjectReturnsIt0.12 secPassed
readObjectLoadsObjectFromStorage0.12 secPassed
readObjectWithNullClassThrowsNullPointerException0.12 secPassed
readObjectWithNullDescriptorThrowsNullPointerException0.12 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException67 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState0.13 secPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet72 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges0.13 secPassed
refreshOverwritesChangesSentToRepository70 msPassed
refreshOverwritesObjectPropertyChanges0.13 secPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance0.13 secPassed
refreshThrowsEntityNotFoundForNonExistentEntity0.12 secPassed
refreshThrowsIllegalArgumentForNonManagedInstance0.12 secPassed
refreshThrowsIllegalArgumentForRemovedInstance0.12 secPassed
registerExistingObjectInvokesPostCloneListeners67 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.21 secPassed
registerExistingObjectReturnsRegisteredClone66 msPassed
registerExistingObjectTwiceReturnsSameClone0.12 secPassed
registerNewObjectAddsArgumentToPersistenceContext0.12 secPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne0.12 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated0.12 secPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument0.12 secPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor0.12 secPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions68 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities69 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive0.12 secPassed
removeNotRegisteredObjectThrowsIllegalArgumentException67 msPassed
removeObjectFromCacheEvictsObjectFromCacheManager0.12 secPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository68 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext65 msPassed
restoreDeletedRegistersObjectAgain67 msPassed
restoreDeletedReinsertsObjectIntoRepository67 msPassed
rollbackDetachesAllManagedEntities0.12 secPassed
rollbackInactiveUoWThrowsIllegalStateException0.12 secPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext0.12 secPassed
testCalculateModificationsDataProperty69 msPassed
testGetState0.12 secPassed
testGetStateWithDescriptor0.12 secPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit72 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit0.12 secPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached72 msPassed
unregisterObjectRemovesItFromCloneBuilderCache0.12 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.14 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull78 msPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.12 secPassed
unwrapReturnsItselfWhenClassMatches66 msPassed