Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage62 msPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException61 msPassed
attributeChangedOutsideTransactionThrowsIllegalStateException61 msPassed
attributeChangedSetsAttributeLoadStatusToLoaded69 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue0.15 secPassed
changesToRemovedObjectAreIgnoredOnCommit62 msPassed
clearCleansUpPersistenceContext67 msPassed
clearResetsCloneBuilder0.16 secPassed
commitAddsNewObjectsToCache0.12 secPassed
commitAddsNewlyAddedReferenceToObjectToCache64 msPassed
commitDetachesPersistedInstance0.12 secPassed
commitEvictsInferredClassesFromCache0.11 secPassed
commitEvictsRemovedObjectsFromCache0.11 secPassed
commitInactiveUoWThrowsIllegalStateException0.12 secPassed
commitPersistsAllNewlyRegisteredObjects62 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction0.13 secPassed
commitRemovesRemovedObjectsFromStorage0.15 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances62 msPassed
containsReturnsTrueForRegisteredExistingObject0.17 secPassed
detachReplacesInheritedIndirectCollectionWithRegularOne62 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject0.1 secPassed
getContextsRetrievesContextsFromStorage0.13 secPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject65 msPassed
getManagedOriginalForDifferentContextReturnsNull0.1 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull0.11 secPassed
getManagedOriginalReturnsManagedOriginalInstance0.12 secPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects0.11 secPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType0.11 secPassed
getOriginalReturnsOriginalRegisteredByReadObject0.11 secPassed
getOriginalWithNullArgumentReturnsNull91 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.12 secPassed
isConsistentCallsStorageConsistencyCheck0.11 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.12 secPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.18 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged0.11 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance0.1 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.13 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute64 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.12 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject62 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance0.11 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject60 msPassed
isLoadedReturnsUnknownForUnregisteredObject0.11 secPassed
isObjectManagedReturnsTrueForRegisteredExistingObject98 msPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.11 secPassed
isObjectNewReturnsFalseForNullArgument0.1 secPassed
isObjectNewReturnsFalseForRegisteredExistingObject64 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject0.1 secPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded67 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded68 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException63 msPassed
loadFieldLoadsLiteralValueAttribute0.11 secPassed
loadFieldLoadsManagedTypeAttribute0.19 secPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes0.13 secPassed
readAlreadyManagedObjectReturnsTheManagedOne0.13 secPassed
readNewlyRegisteredObjectReturnsIt60 msPassed
readObjectLoadsObjectFromStorage62 msPassed
readObjectWithNullClassThrowsNullPointerException0.11 secPassed
readObjectWithNullDescriptorThrowsNullPointerException60 msPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.11 secPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState66 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet63 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges0.15 secPassed
refreshOverwritesChangesSentToRepository62 msPassed
refreshOverwritesObjectPropertyChanges69 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance63 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity0.16 secPassed
refreshThrowsIllegalArgumentForNonManagedInstance0.1 secPassed
refreshThrowsIllegalArgumentForRemovedInstance0.13 secPassed
registerExistingObjectInvokesPostCloneListeners0.13 secPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.13 secPassed
registerExistingObjectReturnsRegisteredClone0.15 secPassed
registerExistingObjectTwiceReturnsSameClone0.13 secPassed
registerNewObjectAddsArgumentToPersistenceContext62 msPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne59 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated62 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument0.13 secPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor0.17 secPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions61 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities60 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive62 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException0.11 secPassed
removeObjectFromCacheEvictsObjectFromCacheManager0.14 secPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository61 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext0.11 secPassed
restoreDeletedRegistersObjectAgain60 msPassed
restoreDeletedReinsertsObjectIntoRepository0.11 secPassed
rollbackDetachesAllManagedEntities0.14 secPassed
rollbackInactiveUoWThrowsIllegalStateException0.23 secPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext67 msPassed
testCalculateModificationsDataProperty0.11 secPassed
testGetState60 msPassed
testGetStateWithDescriptor0.13 secPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit65 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit0.13 secPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached63 msPassed
unregisterObjectRemovesItFromCloneBuilderCache0.14 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.11 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.12 secPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.13 secPassed
unwrapReturnsItselfWhenClassMatches60 msPassed