Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage71 msPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException72 msPassed
attributeChangedOutsideTransactionThrowsIllegalStateException69 msPassed
attributeChangedSetsAttributeLoadStatusToLoaded78 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue75 msPassed
changesToRemovedObjectAreIgnoredOnCommit76 msPassed
clearCleansUpPersistenceContext0.11 secPassed
clearResetsCloneBuilder68 msPassed
commitAddsNewObjectsToCache71 msPassed
commitAddsNewlyAddedReferenceToObjectToCache72 msPassed
commitDetachesPersistedInstance69 msPassed
commitEvictsInferredClassesFromCache73 msPassed
commitEvictsRemovedObjectsFromCache69 msPassed
commitInactiveUoWThrowsIllegalStateException68 msPassed
commitPersistsAllNewlyRegisteredObjects91 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction73 msPassed
commitRemovesRemovedObjectsFromStorage0.24 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances70 msPassed
containsReturnsTrueForRegisteredExistingObject78 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne73 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject72 msPassed
getContextsRetrievesContextsFromStorage68 msPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject73 msPassed
getManagedOriginalForDifferentContextReturnsNull68 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull0.11 secPassed
getManagedOriginalReturnsManagedOriginalInstance68 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects0.1 secPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType70 msPassed
getOriginalReturnsOriginalRegisteredByReadObject68 msPassed
getOriginalWithNullArgumentReturnsNull68 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction76 msPassed
isConsistentCallsStorageConsistencyCheck69 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper73 msPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded81 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged80 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance70 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject70 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute96 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.1 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject86 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance80 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject69 msPassed
isLoadedReturnsUnknownForUnregisteredObject67 msPassed
isObjectManagedReturnsTrueForRegisteredExistingObject68 msPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument68 msPassed
isObjectNewReturnsFalseForNullArgument67 msPassed
isObjectNewReturnsFalseForRegisteredExistingObject90 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject78 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded78 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded76 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException0.11 secPassed
loadFieldLoadsLiteralValueAttribute70 msPassed
loadFieldLoadsManagedTypeAttribute78 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes71 msPassed
readAlreadyManagedObjectReturnsTheManagedOne70 msPassed
readNewlyRegisteredObjectReturnsIt68 msPassed
readObjectLoadsObjectFromStorage86 msPassed
readObjectWithNullClassThrowsNullPointerException68 msPassed
readObjectWithNullDescriptorThrowsNullPointerException67 msPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException70 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState77 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet74 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges74 msPassed
refreshOverwritesChangesSentToRepository72 msPassed
refreshOverwritesObjectPropertyChanges0.12 secPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance90 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity71 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance69 msPassed
refreshThrowsIllegalArgumentForRemovedInstance73 msPassed
registerExistingObjectInvokesPostCloneListeners71 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.18 secPassed
registerExistingObjectReturnsRegisteredClone69 msPassed
registerExistingObjectTwiceReturnsSameClone70 msPassed
registerNewObjectAddsArgumentToPersistenceContext69 msPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne68 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated90 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument66 msPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor68 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions73 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities70 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive0.11 secPassed
removeNotRegisteredObjectThrowsIllegalArgumentException69 msPassed
removeObjectFromCacheEvictsObjectFromCacheManager72 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository71 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext68 msPassed
restoreDeletedRegistersObjectAgain74 msPassed
restoreDeletedReinsertsObjectIntoRepository70 msPassed
rollbackDetachesAllManagedEntities0.12 secPassed
rollbackInactiveUoWThrowsIllegalStateException71 msPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext91 msPassed
testCalculateModificationsDataProperty78 msPassed
testGetState77 msPassed
testGetStateWithDescriptor71 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit74 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit71 msPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached75 msPassed
unregisterObjectRemovesItFromCloneBuilderCache70 msPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection67 msPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull89 msPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext68 msPassed
unwrapReturnsItselfWhenClassMatches0.12 secPassed