Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage0.1 secPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException0.15 secPassed
attributeChangedOutsideTransactionThrowsIllegalStateException0.1 secPassed
attributeChangedSetsAttributeLoadStatusToLoaded0.11 secPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue0.1 secPassed
changesToRemovedObjectAreIgnoredOnCommit0.1 secPassed
clearCleansUpPersistenceContext0.2 secPassed
clearResetsCloneBuilder89 msPassed
commitAddsNewObjectsToCache0.12 secPassed
commitAddsNewlyAddedReferenceToObjectToCache0.1 secPassed
commitDetachesPersistedInstance0.1 secPassed
commitEvictsInferredClassesFromCache0.1 secPassed
commitEvictsRemovedObjectsFromCache0.1 secPassed
commitInactiveUoWThrowsIllegalStateException84 msPassed
commitPersistsAllNewlyRegisteredObjects92 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction90 msPassed
commitRemovesRemovedObjectsFromStorage0.26 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances0.1 secPassed
containsReturnsTrueForRegisteredExistingObject84 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne98 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject0.1 secPassed
getContextsRetrievesContextsFromStorage84 msPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject0.1 secPassed
getManagedOriginalForDifferentContextReturnsNull0.1 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull98 msPassed
getManagedOriginalReturnsManagedOriginalInstance84 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects0.11 secPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType0.1 secPassed
getOriginalReturnsOriginalRegisteredByReadObject0.1 secPassed
getOriginalWithNullArgumentReturnsNull99 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.12 secPassed
isConsistentCallsStorageConsistencyCheck0.1 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper87 msPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded96 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged99 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance0.1 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject84 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute0.12 secPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.12 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject83 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance0.1 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject86 msPassed
isLoadedReturnsUnknownForUnregisteredObject95 msPassed
isObjectManagedReturnsTrueForRegisteredExistingObject0.1 secPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.1 secPassed
isObjectNewReturnsFalseForNullArgument98 msPassed
isObjectNewReturnsFalseForRegisteredExistingObject0.16 secPassed
isObjectNewReturnsTrueForNewlyRegisteredObject0.1 secPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded0.11 secPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded0.1 secPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException0.21 secPassed
loadFieldLoadsLiteralValueAttribute0.1 secPassed
loadFieldLoadsManagedTypeAttribute0.13 secPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes86 msPassed
readAlreadyManagedObjectReturnsTheManagedOne0.1 secPassed
readNewlyRegisteredObjectReturnsIt88 msPassed
readObjectLoadsObjectFromStorage87 msPassed
readObjectWithNullClassThrowsNullPointerException87 msPassed
readObjectWithNullDescriptorThrowsNullPointerException0.16 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.1 secPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState89 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet0.1 secPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges89 msPassed
refreshOverwritesChangesSentToRepository0.1 secPassed
refreshOverwritesObjectPropertyChanges0.19 secPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance88 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity0.11 secPassed
refreshThrowsIllegalArgumentForNonManagedInstance97 msPassed
refreshThrowsIllegalArgumentForRemovedInstance85 msPassed
registerExistingObjectInvokesPostCloneListeners0.1 secPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.26 secPassed
registerExistingObjectReturnsRegisteredClone0.1 secPassed
registerExistingObjectTwiceReturnsSameClone86 msPassed
registerNewObjectAddsArgumentToPersistenceContext83 msPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne89 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated86 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument83 msPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor86 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions0.1 secPassed
releaseRemovesIndirectCollectionsFromManagedEntities0.14 secPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive0.17 secPassed
removeNotRegisteredObjectThrowsIllegalArgumentException0.11 secPassed
removeObjectFromCacheEvictsObjectFromCacheManager84 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository0.1 secPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext0.21 secPassed
restoreDeletedRegistersObjectAgain0.1 secPassed
restoreDeletedReinsertsObjectIntoRepository0.1 secPassed
rollbackDetachesAllManagedEntities94 msPassed
rollbackInactiveUoWThrowsIllegalStateException86 msPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext84 msPassed
testCalculateModificationsDataProperty99 msPassed
testGetState92 msPassed
testGetStateWithDescriptor85 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit0.1 secPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit85 msPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached0.15 secPassed
unregisterObjectRemovesItFromCloneBuilderCache85 msPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.12 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.1 secPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext97 msPassed
unwrapReturnsItselfWhenClassMatches0.11 secPassed