Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage90 msPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException91 msPassed
attributeChangedOutsideTransactionThrowsIllegalStateException91 msPassed
attributeChangedSetsAttributeLoadStatusToLoaded0.1 secPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue96 msPassed
changesToRemovedObjectAreIgnoredOnCommit92 msPassed
clearCleansUpPersistenceContext87 msPassed
clearResetsCloneBuilder87 msPassed
commitAddsNewObjectsToCache94 msPassed
commitAddsNewlyAddedReferenceToObjectToCache96 msPassed
commitDetachesPersistedInstance0.14 secPassed
commitEvictsInferredClassesFromCache0.1 secPassed
commitEvictsRemovedObjectsFromCache0.12 secPassed
commitInactiveUoWThrowsIllegalStateException90 msPassed
commitPersistsAllNewlyRegisteredObjects0.12 secPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction91 msPassed
commitRemovesRemovedObjectsFromStorage0.21 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances89 msPassed
containsReturnsTrueForRegisteredExistingObject0.1 secPassed
detachReplacesInheritedIndirectCollectionWithRegularOne92 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject0.14 secPassed
getContextsRetrievesContextsFromStorage86 msPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject0.11 secPassed
getManagedOriginalForDifferentContextReturnsNull0.1 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull0.15 secPassed
getManagedOriginalReturnsManagedOriginalInstance87 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects0.25 secPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType0.17 secPassed
getOriginalReturnsOriginalRegisteredByReadObject0.16 secPassed
getOriginalWithNullArgumentReturnsNull0.1 secPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.15 secPassed
isConsistentCallsStorageConsistencyCheck0.11 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper88 msPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.35 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged0.16 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance0.12 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.26 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute87 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.11 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0.1 secPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance0.17 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject97 msPassed
isLoadedReturnsUnknownForUnregisteredObject89 msPassed
isObjectManagedReturnsTrueForRegisteredExistingObject0.14 secPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.17 secPassed
isObjectNewReturnsFalseForNullArgument0.11 secPassed
isObjectNewReturnsFalseForRegisteredExistingObject91 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject0.12 secPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded96 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded99 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException88 msPassed
loadFieldLoadsLiteralValueAttribute96 msPassed
loadFieldLoadsManagedTypeAttribute97 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes93 msPassed
readAlreadyManagedObjectReturnsTheManagedOne0.14 secPassed
readNewlyRegisteredObjectReturnsIt85 msPassed
readObjectLoadsObjectFromStorage0.11 secPassed
readObjectWithNullClassThrowsNullPointerException90 msPassed
readObjectWithNullDescriptorThrowsNullPointerException0.11 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.16 secPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState0.1 secPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet92 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges89 msPassed
refreshOverwritesChangesSentToRepository92 msPassed
refreshOverwritesObjectPropertyChanges91 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance89 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity94 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance0.12 secPassed
refreshThrowsIllegalArgumentForRemovedInstance0.26 secPassed
registerExistingObjectInvokesPostCloneListeners0.15 secPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.18 secPassed
registerExistingObjectReturnsRegisteredClone0.14 secPassed
registerExistingObjectTwiceReturnsSameClone0.34 secPassed
registerNewObjectAddsArgumentToPersistenceContext92 msPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne0.1 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated0.11 secPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument85 msPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor86 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions91 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities94 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive85 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException0.14 secPassed
removeObjectFromCacheEvictsObjectFromCacheManager87 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository90 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext0.12 secPassed
restoreDeletedRegistersObjectAgain95 msPassed
restoreDeletedReinsertsObjectIntoRepository0.14 secPassed
rollbackDetachesAllManagedEntities90 msPassed
rollbackInactiveUoWThrowsIllegalStateException86 msPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext0.1 secPassed
testCalculateModificationsDataProperty0.18 secPassed
testGetState0.1 secPassed
testGetStateWithDescriptor0.11 secPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit0.1 secPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit86 msPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached96 msPassed
unregisterObjectRemovesItFromCloneBuilderCache93 msPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection97 msPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.27 secPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.17 secPassed
unwrapReturnsItselfWhenClassMatches90 msPassed