Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage0.1 secPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException0.16 secPassed
attributeChangedOutsideTransactionThrowsIllegalStateException0.1 secPassed
attributeChangedSetsAttributeLoadStatusToLoaded0.12 secPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue0.11 secPassed
changesToRemovedObjectAreIgnoredOnCommit0.12 secPassed
clearCleansUpPersistenceContext0.1 secPassed
clearResetsCloneBuilder85 msPassed
commitAddsNewObjectsToCache89 msPassed
commitAddsNewlyAddedReferenceToObjectToCache90 msPassed
commitDetachesPersistedInstance89 msPassed
commitEvictsInferredClassesFromCache92 msPassed
commitEvictsRemovedObjectsFromCache86 msPassed
commitInactiveUoWThrowsIllegalStateException0.11 secPassed
commitPersistsAllNewlyRegisteredObjects87 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction95 msPassed
commitRemovesRemovedObjectsFromStorage0.21 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances96 msPassed
containsReturnsTrueForRegisteredExistingObject0.11 secPassed
detachReplacesInheritedIndirectCollectionWithRegularOne0.1 secPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject94 msPassed
getContextsRetrievesContextsFromStorage87 msPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject95 msPassed
getManagedOriginalForDifferentContextReturnsNull86 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull89 msPassed
getManagedOriginalReturnsManagedOriginalInstance87 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects89 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType89 msPassed
getOriginalReturnsOriginalRegisteredByReadObject91 msPassed
getOriginalWithNullArgumentReturnsNull90 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction97 msPassed
isConsistentCallsStorageConsistencyCheck90 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper88 msPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded96 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged87 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance95 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject87 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute87 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute98 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject85 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance89 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject89 msPassed
isLoadedReturnsUnknownForUnregisteredObject0.12 secPassed
isObjectManagedReturnsTrueForRegisteredExistingObject90 msPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument89 msPassed
isObjectNewReturnsFalseForNullArgument85 msPassed
isObjectNewReturnsFalseForRegisteredExistingObject93 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject0.1 secPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded99 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded0.11 secPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException0.1 secPassed
loadFieldLoadsLiteralValueAttribute89 msPassed
loadFieldLoadsManagedTypeAttribute0.11 secPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes0.11 secPassed
readAlreadyManagedObjectReturnsTheManagedOne88 msPassed
readNewlyRegisteredObjectReturnsIt86 msPassed
readObjectLoadsObjectFromStorage90 msPassed
readObjectWithNullClassThrowsNullPointerException0.1 secPassed
readObjectWithNullDescriptorThrowsNullPointerException86 msPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException86 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState89 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet87 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges89 msPassed
refreshOverwritesChangesSentToRepository94 msPassed
refreshOverwritesObjectPropertyChanges0.1 secPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance88 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity89 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance87 msPassed
refreshThrowsIllegalArgumentForRemovedInstance0.18 secPassed
registerExistingObjectInvokesPostCloneListeners91 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.18 secPassed
registerExistingObjectReturnsRegisteredClone89 msPassed
registerExistingObjectTwiceReturnsSameClone86 msPassed
registerNewObjectAddsArgumentToPersistenceContext87 msPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne89 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated86 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument86 msPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor84 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions0.1 secPassed
releaseRemovesIndirectCollectionsFromManagedEntities0.11 secPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive98 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException88 msPassed
removeObjectFromCacheEvictsObjectFromCacheManager86 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository0.16 secPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext93 msPassed
restoreDeletedRegistersObjectAgain88 msPassed
restoreDeletedReinsertsObjectIntoRepository88 msPassed
rollbackDetachesAllManagedEntities88 msPassed
rollbackInactiveUoWThrowsIllegalStateException85 msPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext86 msPassed
testCalculateModificationsDataProperty90 msPassed
testGetState87 msPassed
testGetStateWithDescriptor0.11 secPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit0.1 secPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit88 msPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached0.1 secPassed
unregisterObjectRemovesItFromCloneBuilderCache0.16 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection87 msPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull96 msPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext91 msPassed
unwrapReturnsItselfWhenClassMatches96 msPassed