Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage64 msPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException0.1 secPassed
attributeChangedOutsideTransactionThrowsIllegalStateException66 msPassed
attributeChangedSetsAttributeLoadStatusToLoaded70 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue68 msPassed
changesToRemovedObjectAreIgnoredOnCommit64 msPassed
clearCleansUpPersistenceContext88 msPassed
clearResetsCloneBuilder0.11 secPassed
commitAddsNewObjectsToCache0.14 secPassed
commitAddsNewlyAddedReferenceToObjectToCache0.11 secPassed
commitDetachesPersistedInstance0.13 secPassed
commitEvictsInferredClassesFromCache0.12 secPassed
commitEvictsRemovedObjectsFromCache0.12 secPassed
commitInactiveUoWThrowsIllegalStateException0.11 secPassed
commitPersistsAllNewlyRegisteredObjects0.12 secPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction0.11 secPassed
commitRemovesRemovedObjectsFromStorage0.2 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances66 msPassed
containsReturnsTrueForRegisteredExistingObject0.13 secPassed
detachReplacesInheritedIndirectCollectionWithRegularOne63 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject0.12 secPassed
getContextsRetrievesContextsFromStorage0.11 secPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject0.11 secPassed
getManagedOriginalForDifferentContextReturnsNull0.11 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull0.11 secPassed
getManagedOriginalReturnsManagedOriginalInstance0.11 secPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects0.12 secPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType0.1 secPassed
getOriginalReturnsOriginalRegisteredByReadObject0.11 secPassed
getOriginalWithNullArgumentReturnsNull0.1 secPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.14 secPassed
isConsistentCallsStorageConsistencyCheck0.11 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.11 secPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.12 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged0.1 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance0.11 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.17 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute97 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.13 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0.12 secPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance0.11 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject0.11 secPassed
isLoadedReturnsUnknownForUnregisteredObject0.13 secPassed
isObjectManagedReturnsTrueForRegisteredExistingObject0.11 secPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.1 secPassed
isObjectNewReturnsFalseForNullArgument0.11 secPassed
isObjectNewReturnsFalseForRegisteredExistingObject0.1 secPassed
isObjectNewReturnsTrueForNewlyRegisteredObject0.11 secPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded0.12 secPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded71 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException84 msPassed
loadFieldLoadsLiteralValueAttribute0.12 secPassed
loadFieldLoadsManagedTypeAttribute0.14 secPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes0.1 secPassed
readAlreadyManagedObjectReturnsTheManagedOne0.12 secPassed
readNewlyRegisteredObjectReturnsIt0.11 secPassed
readObjectLoadsObjectFromStorage70 msPassed
readObjectWithNullClassThrowsNullPointerException0.16 secPassed
readObjectWithNullDescriptorThrowsNullPointerException0.11 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.1 secPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState0.16 secPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet85 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges0.11 secPassed
refreshOverwritesChangesSentToRepository0.18 secPassed
refreshOverwritesObjectPropertyChanges87 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance95 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity0.13 secPassed
refreshThrowsIllegalArgumentForNonManagedInstance0.11 secPassed
refreshThrowsIllegalArgumentForRemovedInstance0.13 secPassed
registerExistingObjectInvokesPostCloneListeners0.1 secPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.17 secPassed
registerExistingObjectReturnsRegisteredClone0.11 secPassed
registerExistingObjectTwiceReturnsSameClone0.11 secPassed
registerNewObjectAddsArgumentToPersistenceContext0.11 secPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne0.11 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated66 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument0.11 secPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor0.1 secPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions64 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities64 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive82 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException0.17 secPassed
removeObjectFromCacheEvictsObjectFromCacheManager0.1 secPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository72 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext0.1 secPassed
restoreDeletedRegistersObjectAgain0.11 secPassed
restoreDeletedReinsertsObjectIntoRepository0.14 secPassed
rollbackDetachesAllManagedEntities0.11 secPassed
rollbackInactiveUoWThrowsIllegalStateException0.1 secPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext0.19 secPassed
testCalculateModificationsDataProperty0.1 secPassed
testGetState0.11 secPassed
testGetStateWithDescriptor0.12 secPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit0.1 secPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit0.11 secPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached0.11 secPassed
unregisterObjectRemovesItFromCloneBuilderCache0.12 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.11 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.13 secPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.11 secPassed
unwrapReturnsItselfWhenClassMatches0.1 secPassed