Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage0.1 secPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException0.1 secPassed
attributeChangedOutsideTransactionThrowsIllegalStateException0.1 secPassed
attributeChangedSetsAttributeLoadStatusToLoaded0.13 secPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue0.11 secPassed
changesToRemovedObjectAreIgnoredOnCommit0.11 secPassed
clearCleansUpPersistenceContext75 msPassed
clearResetsCloneBuilder73 msPassed
commitAddsNewObjectsToCache0.13 secPassed
commitAddsNewlyAddedReferenceToObjectToCache65 msPassed
commitDetachesPersistedInstance0.1 secPassed
commitEvictsInferredClassesFromCache0.12 secPassed
commitEvictsRemovedObjectsFromCache0.11 secPassed
commitInactiveUoWThrowsIllegalStateException0.17 secPassed
commitPersistsAllNewlyRegisteredObjects76 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction0.1 secPassed
commitRemovesRemovedObjectsFromStorage0.2 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances0.11 secPassed
containsReturnsTrueForRegisteredExistingObject75 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne0.11 secPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject0.13 secPassed
getContextsRetrievesContextsFromStorage72 msPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject0.13 secPassed
getManagedOriginalForDifferentContextReturnsNull0.11 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull0.1 secPassed
getManagedOriginalReturnsManagedOriginalInstance75 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects0.11 secPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType0.1 secPassed
getOriginalReturnsOriginalRegisteredByReadObject0.15 secPassed
getOriginalWithNullArgumentReturnsNull0.12 secPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.11 secPassed
isConsistentCallsStorageConsistencyCheck0.11 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper68 msPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded86 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged0.1 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance0.15 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject75 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute83 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.14 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject74 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance0.1 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject63 msPassed
isLoadedReturnsUnknownForUnregisteredObject0.16 secPassed
isObjectManagedReturnsTrueForRegisteredExistingObject0.12 secPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.15 secPassed
isObjectNewReturnsFalseForNullArgument0.1 secPassed
isObjectNewReturnsFalseForRegisteredExistingObject74 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject0.1 secPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded0.12 secPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded0.12 secPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException73 msPassed
loadFieldLoadsLiteralValueAttribute0.1 secPassed
loadFieldLoadsManagedTypeAttribute0.17 secPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes0.17 secPassed
readAlreadyManagedObjectReturnsTheManagedOne0.1 secPassed
readNewlyRegisteredObjectReturnsIt61 msPassed
readObjectLoadsObjectFromStorage74 msPassed
readObjectWithNullClassThrowsNullPointerException0.16 secPassed
readObjectWithNullDescriptorThrowsNullPointerException63 msPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.1 secPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState79 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet0.11 secPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges82 msPassed
refreshOverwritesChangesSentToRepository0.11 secPassed
refreshOverwritesObjectPropertyChanges78 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance0.1 secPassed
refreshThrowsEntityNotFoundForNonExistentEntity0.13 secPassed
refreshThrowsIllegalArgumentForNonManagedInstance0.12 secPassed
refreshThrowsIllegalArgumentForRemovedInstance77 msPassed
registerExistingObjectInvokesPostCloneListeners0.16 secPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.13 secPassed
registerExistingObjectReturnsRegisteredClone0.1 secPassed
registerExistingObjectTwiceReturnsSameClone84 msPassed
registerNewObjectAddsArgumentToPersistenceContext62 msPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne0.14 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated76 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument74 msPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor73 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions0.1 secPassed
releaseRemovesIndirectCollectionsFromManagedEntities0.11 secPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive73 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException0.1 secPassed
removeObjectFromCacheEvictsObjectFromCacheManager70 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository0.11 secPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext0.12 secPassed
restoreDeletedRegistersObjectAgain0.11 secPassed
restoreDeletedReinsertsObjectIntoRepository0.1 secPassed
rollbackDetachesAllManagedEntities75 msPassed
rollbackInactiveUoWThrowsIllegalStateException0.11 secPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext75 msPassed
testCalculateModificationsDataProperty0.1 secPassed
testGetState75 msPassed
testGetStateWithDescriptor76 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit0.11 secPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit72 msPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached0.11 secPassed
unregisterObjectRemovesItFromCloneBuilderCache0.21 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.12 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.11 secPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext79 msPassed
unwrapReturnsItselfWhenClassMatches0.1 secPassed