Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage98 msPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException85 msPassed
attributeChangedOutsideTransactionThrowsIllegalStateException75 msPassed
attributeChangedSetsAttributeLoadStatusToLoaded86 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue85 msPassed
changesToRemovedObjectAreIgnoredOnCommit77 msPassed
clearCleansUpPersistenceContext66 msPassed
clearResetsCloneBuilder0.11 secPassed
commitAddsNewObjectsToCache0.12 secPassed
commitAddsNewlyAddedReferenceToObjectToCache0.12 secPassed
commitDetachesPersistedInstance0.11 secPassed
commitEvictsInferredClassesFromCache0.1 secPassed
commitEvictsRemovedObjectsFromCache0.12 secPassed
commitInactiveUoWThrowsIllegalStateException0.11 secPassed
commitPersistsAllNewlyRegisteredObjects0.12 secPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction0.12 secPassed
commitRemovesRemovedObjectsFromStorage0.15 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances77 msPassed
containsReturnsTrueForRegisteredExistingObject0.11 secPassed
detachReplacesInheritedIndirectCollectionWithRegularOne79 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject66 msPassed
getContextsRetrievesContextsFromStorage0.11 secPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject0.11 secPassed
getManagedOriginalForDifferentContextReturnsNull0.11 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull0.11 secPassed
getManagedOriginalReturnsManagedOriginalInstance0.11 secPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects0.1 secPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType0.11 secPassed
getOriginalReturnsOriginalRegisteredByReadObject0.12 secPassed
getOriginalWithNullArgumentReturnsNull81 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.12 secPassed
isConsistentCallsStorageConsistencyCheck0.11 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.11 secPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.13 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged0.11 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance0.11 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.11 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute64 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.11 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0.11 secPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance0.11 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject0.11 secPassed
isLoadedReturnsUnknownForUnregisteredObject0.11 secPassed
isObjectManagedReturnsTrueForRegisteredExistingObject82 msPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.11 secPassed
isObjectNewReturnsFalseForNullArgument0.11 secPassed
isObjectNewReturnsFalseForRegisteredExistingObject65 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject0.11 secPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded86 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded93 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException65 msPassed
loadFieldLoadsLiteralValueAttribute0.11 secPassed
loadFieldLoadsManagedTypeAttribute0.12 secPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes0.11 secPassed
readAlreadyManagedObjectReturnsTheManagedOne0.11 secPassed
readNewlyRegisteredObjectReturnsIt0.11 secPassed
readObjectLoadsObjectFromStorage99 msPassed
readObjectWithNullClassThrowsNullPointerException0.11 secPassed
readObjectWithNullDescriptorThrowsNullPointerException0.11 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.11 secPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState0.12 secPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet79 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges0.12 secPassed
refreshOverwritesChangesSentToRepository85 msPassed
refreshOverwritesObjectPropertyChanges72 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance66 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity0.11 secPassed
refreshThrowsIllegalArgumentForNonManagedInstance0.11 secPassed
refreshThrowsIllegalArgumentForRemovedInstance0.11 secPassed
registerExistingObjectInvokesPostCloneListeners0.11 secPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.15 secPassed
registerExistingObjectReturnsRegisteredClone0.11 secPassed
registerExistingObjectTwiceReturnsSameClone0.11 secPassed
registerNewObjectAddsArgumentToPersistenceContext0.1 secPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne0.11 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated67 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument0.11 secPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor0.11 secPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions81 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities89 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive64 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException0.11 secPassed
removeObjectFromCacheEvictsObjectFromCacheManager0.11 secPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository0.14 secPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext0.11 secPassed
restoreDeletedRegistersObjectAgain0.11 secPassed
restoreDeletedReinsertsObjectIntoRepository0.11 secPassed
rollbackDetachesAllManagedEntities0.11 secPassed
rollbackInactiveUoWThrowsIllegalStateException0.11 secPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext0.14 secPassed
testCalculateModificationsDataProperty0.11 secPassed
testGetState0.11 secPassed
testGetStateWithDescriptor0.11 secPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit86 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit0.1 secPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached97 msPassed
unregisterObjectRemovesItFromCloneBuilderCache0.11 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.11 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.11 secPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.11 secPassed
unwrapReturnsItselfWhenClassMatches76 msPassed