Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage0.1 secPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException0.12 secPassed
attributeChangedOutsideTransactionThrowsIllegalStateException0.1 secPassed
attributeChangedSetsAttributeLoadStatusToLoaded0.13 secPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue0.16 secPassed
changesToRemovedObjectAreIgnoredOnCommit0.12 secPassed
clearCleansUpPersistenceContext65 msPassed
clearResetsCloneBuilder0.1 secPassed
commitAddsNewObjectsToCache0.14 secPassed
commitAddsNewlyAddedReferenceToObjectToCache0.14 secPassed
commitDetachesPersistedInstance0.2 secPassed
commitEvictsInferredClassesFromCache0.13 secPassed
commitEvictsRemovedObjectsFromCache0.13 secPassed
commitInactiveUoWThrowsIllegalStateException0.13 secPassed
commitPersistsAllNewlyRegisteredObjects64 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction0.11 secPassed
commitRemovesRemovedObjectsFromStorage0.16 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances0.11 secPassed
containsReturnsTrueForRegisteredExistingObject0.13 secPassed
detachReplacesInheritedIndirectCollectionWithRegularOne0.11 secPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject0.13 secPassed
getContextsRetrievesContextsFromStorage0.1 secPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject0.11 secPassed
getManagedOriginalForDifferentContextReturnsNull0.13 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull0.13 secPassed
getManagedOriginalReturnsManagedOriginalInstance0.1 secPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects0.1 secPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType0.12 secPassed
getOriginalReturnsOriginalRegisteredByReadObject0.16 secPassed
getOriginalWithNullArgumentReturnsNull0.12 secPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.11 secPassed
isConsistentCallsStorageConsistencyCheck0.13 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.11 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged0.13 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance0.14 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.1 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute62 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.14 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject61 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance0.14 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject66 msPassed
isLoadedReturnsUnknownForUnregisteredObject0.13 secPassed
isObjectManagedReturnsTrueForRegisteredExistingObject0.12 secPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.12 secPassed
isObjectNewReturnsFalseForNullArgument0.13 secPassed
isObjectNewReturnsFalseForRegisteredExistingObject77 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject0.14 secPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded0.17 secPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded0.11 secPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException67 msPassed
loadFieldLoadsLiteralValueAttribute0.13 secPassed
loadFieldLoadsManagedTypeAttribute0.15 secPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes0.14 secPassed
readAlreadyManagedObjectReturnsTheManagedOne0.16 secPassed
readNewlyRegisteredObjectReturnsIt94 msPassed
readObjectLoadsObjectFromStorage61 msPassed
readObjectWithNullClassThrowsNullPointerException0.13 secPassed
readObjectWithNullDescriptorThrowsNullPointerException60 msPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.12 secPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState65 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet0.13 secPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges0.1 secPassed
refreshOverwritesChangesSentToRepository0.16 secPassed
refreshOverwritesObjectPropertyChanges66 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance65 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity0.13 secPassed
refreshThrowsIllegalArgumentForNonManagedInstance0.13 secPassed
refreshThrowsIllegalArgumentForRemovedInstance0.12 secPassed
registerExistingObjectInvokesPostCloneListeners0.13 secPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.15 secPassed
registerExistingObjectReturnsRegisteredClone0.1 secPassed
registerExistingObjectTwiceReturnsSameClone0.1 secPassed
registerNewObjectAddsArgumentToPersistenceContext97 msPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne71 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated66 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument0.1 secPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor0.11 secPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions0.11 secPassed
releaseRemovesIndirectCollectionsFromManagedEntities0.14 secPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive75 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException0.1 secPassed
removeObjectFromCacheEvictsObjectFromCacheManager0.11 secPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository0.13 secPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext0.12 secPassed
restoreDeletedRegistersObjectAgain0.11 secPassed
restoreDeletedReinsertsObjectIntoRepository0.1 secPassed
rollbackDetachesAllManagedEntities0.11 secPassed
rollbackInactiveUoWThrowsIllegalStateException0.1 secPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext65 msPassed
testCalculateModificationsDataProperty0.13 secPassed
testGetState68 msPassed
testGetStateWithDescriptor0.13 secPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit0.12 secPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit0.1 secPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached0.11 secPassed
unregisterObjectRemovesItFromCloneBuilderCache0.13 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.13 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.21 secPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.1 secPassed
unwrapReturnsItselfWhenClassMatches0.11 secPassed