Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage0.1 secPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException89 msPassed
attributeChangedOutsideTransactionThrowsIllegalStateException0.1 secPassed
attributeChangedSetsAttributeLoadStatusToLoaded95 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue91 msPassed
changesToRemovedObjectAreIgnoredOnCommit90 msPassed
clearCleansUpPersistenceContext91 msPassed
clearResetsCloneBuilder86 msPassed
commitAddsNewObjectsToCache0.15 secPassed
commitAddsNewlyAddedReferenceToObjectToCache0.1 secPassed
commitDetachesPersistedInstance89 msPassed
commitEvictsInferredClassesFromCache0.15 secPassed
commitEvictsRemovedObjectsFromCache0.16 secPassed
commitInactiveUoWThrowsIllegalStateException85 msPassed
commitPersistsAllNewlyRegisteredObjects90 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction91 msPassed
commitRemovesRemovedObjectsFromStorage92 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances91 msPassed
containsReturnsTrueForRegisteredExistingObject85 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne89 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject0.1 secPassed
getContextsRetrievesContextsFromStorage85 msPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject94 msPassed
getManagedOriginalForDifferentContextReturnsNull86 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull86 msPassed
getManagedOriginalReturnsManagedOriginalInstance89 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects0.14 secPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType87 msPassed
getOriginalReturnsOriginalRegisteredByReadObject99 msPassed
getOriginalWithNullArgumentReturnsNull97 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.15 secPassed
isConsistentCallsStorageConsistencyCheck84 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper87 msPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded95 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged86 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance0.15 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject86 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute87 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute92 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0.15 secPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance0.14 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject85 msPassed
isLoadedReturnsUnknownForUnregisteredObject86 msPassed
isObjectManagedReturnsTrueForRegisteredExistingObject0.1 secPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.1 secPassed
isObjectNewReturnsFalseForNullArgument0.15 secPassed
isObjectNewReturnsFalseForRegisteredExistingObject88 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject0.14 secPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded96 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded98 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException0.16 secPassed
loadFieldLoadsLiteralValueAttribute89 msPassed
loadFieldLoadsManagedTypeAttribute96 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes0.17 secPassed
readAlreadyManagedObjectReturnsTheManagedOne0.18 secPassed
readNewlyRegisteredObjectReturnsIt96 msPassed
readObjectFromAxiomsLoadsEntityFromSpecifiedAxiomsAndReturnsIt89 msPassed
readObjectLoadsObjectFromStorage85 msPassed
readObjectWithNullClassThrowsNullPointerException86 msPassed
readObjectWithNullDescriptorThrowsNullPointerException83 msPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException84 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState92 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet90 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges91 msPassed
refreshOverwritesChangesSentToRepository91 msPassed
refreshOverwritesObjectPropertyChanges94 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance92 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity0.14 secPassed
refreshThrowsIllegalArgumentForNonManagedInstance0.16 secPassed
refreshThrowsIllegalArgumentForRemovedInstance0.14 secPassed
registerExistingObjectInvokesPostCloneListeners0.19 secPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder89 msPassed
registerExistingObjectReturnsRegisteredClone85 msPassed
registerExistingObjectTwiceReturnsSameClone88 msPassed
registerNewObjectAddsArgumentToPersistenceContext88 msPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne88 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated89 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument88 msPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor87 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions0.1 secPassed
releaseRemovesIndirectCollectionsFromManagedEntities96 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive86 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException0.14 secPassed
removeObjectFromCacheEvictsObjectFromCacheManager88 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository0.1 secPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext91 msPassed
restoreDeletedRegistersObjectAgain92 msPassed
restoreDeletedReinsertsObjectIntoRepository92 msPassed
rollbackDetachesAllManagedEntities88 msPassed
rollbackInactiveUoWThrowsIllegalStateException84 msPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext93 msPassed
testCalculateModificationsDataProperty0.14 secPassed
testGetState87 msPassed
testGetStateWithDescriptor85 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit97 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit0.18 secPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached0.11 secPassed
unregisterObjectRemovesItFromCloneBuilderCache0.15 secPassed
unregisterObjectReplacesChangeTrackingProxiesWithReferencedObjects0.14 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection86 msPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull93 msPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext86 msPassed
unwrapReturnsItselfWhenClassMatches87 msPassed