Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage0.11 secPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException0.11 secPassed
attributeChangedOutsideTransactionThrowsIllegalStateException0.1 secPassed
attributeChangedSetsAttributeLoadStatusToLoaded0.12 secPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue0.11 secPassed
changesToRemovedObjectAreIgnoredOnCommit0.11 secPassed
clearCleansUpPersistenceContext64 msPassed
clearResetsCloneBuilder0.11 secPassed
commitAddsNewObjectsToCache0.11 secPassed
commitAddsNewlyAddedReferenceToObjectToCache0.18 secPassed
commitDetachesPersistedInstance0.11 secPassed
commitEvictsInferredClassesFromCache0.11 secPassed
commitEvictsRemovedObjectsFromCache0.11 secPassed
commitInactiveUoWThrowsIllegalStateException0.1 secPassed
commitPersistsAllNewlyRegisteredObjects76 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction0.12 secPassed
commitRemovesRemovedObjectsFromStorage0.13 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances0.11 secPassed
containsReturnsTrueForRegisteredExistingObject0.11 secPassed
detachReplacesInheritedIndirectCollectionWithRegularOne0.11 secPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject0.11 secPassed
getContextsRetrievesContextsFromStorage0.11 secPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject0.12 secPassed
getManagedOriginalForDifferentContextReturnsNull0.11 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull0.1 secPassed
getManagedOriginalReturnsManagedOriginalInstance0.11 secPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects0.11 secPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType0.1 secPassed
getOriginalReturnsOriginalRegisteredByReadObject0.11 secPassed
getOriginalWithNullArgumentReturnsNull0.11 secPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.12 secPassed
isConsistentCallsStorageConsistencyCheck0.11 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.1 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged0.11 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance0.1 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject97 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute64 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.12 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject73 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance0.11 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject74 msPassed
isLoadedReturnsUnknownForUnregisteredObject0.11 secPassed
isObjectManagedReturnsTrueForRegisteredExistingObject0.11 secPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.11 secPassed
isObjectNewReturnsFalseForNullArgument0.11 secPassed
isObjectNewReturnsFalseForRegisteredExistingObject75 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject0.1 secPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded0.12 secPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded0.11 secPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException76 msPassed
loadFieldLoadsLiteralValueAttribute0.11 secPassed
loadFieldLoadsManagedTypeAttribute0.12 secPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes0.1 secPassed
readAlreadyManagedObjectReturnsTheManagedOne0.1 secPassed
readNewlyRegisteredObjectReturnsIt0.11 secPassed
readObjectLoadsObjectFromStorage94 msPassed
readObjectWithNullClassThrowsNullPointerException0.11 secPassed
readObjectWithNullDescriptorThrowsNullPointerException63 msPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.1 secPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState79 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet0.11 secPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges0.11 secPassed
refreshOverwritesChangesSentToRepository0.11 secPassed
refreshOverwritesObjectPropertyChanges70 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance65 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity0.1 secPassed
refreshThrowsIllegalArgumentForNonManagedInstance0.11 secPassed
refreshThrowsIllegalArgumentForRemovedInstance0.11 secPassed
registerExistingObjectInvokesPostCloneListeners0.11 secPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.14 secPassed
registerExistingObjectReturnsRegisteredClone0.11 secPassed
registerExistingObjectTwiceReturnsSameClone0.1 secPassed
registerNewObjectAddsArgumentToPersistenceContext0.11 secPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne73 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated86 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument0.11 secPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor0.1 secPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions0.11 secPassed
releaseRemovesIndirectCollectionsFromManagedEntities0.1 secPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive64 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException0.11 secPassed
removeObjectFromCacheEvictsObjectFromCacheManager0.1 secPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository0.1 secPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext0.11 secPassed
restoreDeletedRegistersObjectAgain0.11 secPassed
restoreDeletedReinsertsObjectIntoRepository0.11 secPassed
rollbackDetachesAllManagedEntities0.1 secPassed
rollbackInactiveUoWThrowsIllegalStateException0.11 secPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext76 msPassed
testCalculateModificationsDataProperty0.11 secPassed
testGetState75 msPassed
testGetStateWithDescriptor0.11 secPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit0.1 secPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit0.11 secPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached0.12 secPassed
unregisterObjectRemovesItFromCloneBuilderCache0.1 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.11 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.12 secPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.11 secPassed
unwrapReturnsItselfWhenClassMatches0.1 secPassed