Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage0.36 secPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException0.16 secPassed
attributeChangedOutsideTransactionThrowsIllegalStateException0.17 secPassed
attributeChangedSetsAttributeLoadStatusToLoaded0.14 secPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue0.16 secPassed
changesToRemovedObjectAreIgnoredOnCommit0.1 secPassed
clearCleansUpPersistenceContext95 msPassed
clearResetsCloneBuilder0.14 secPassed
commitAddsNewObjectsToCache0.15 secPassed
commitAddsNewlyAddedReferenceToObjectToCache86 msPassed
commitDetachesPersistedInstance0.16 secPassed
commitEvictsInferredClassesFromCache0.18 secPassed
commitEvictsRemovedObjectsFromCache0.16 secPassed
commitInactiveUoWThrowsIllegalStateException0.15 secPassed
commitPersistsAllNewlyRegisteredObjects87 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction0.14 secPassed
commitRemovesRemovedObjectsFromStorage0.2 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances0.16 secPassed
containsReturnsTrueForRegisteredExistingObject0.13 secPassed
detachReplacesInheritedIndirectCollectionWithRegularOne0.1 secPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject0.16 secPassed
getContextsRetrievesContextsFromStorage0.15 secPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject0.18 secPassed
getManagedOriginalForDifferentContextReturnsNull0.16 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull0.13 secPassed
getManagedOriginalReturnsManagedOriginalInstance0.14 secPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects0.17 secPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType0.17 secPassed
getOriginalReturnsOriginalRegisteredByReadObject0.16 secPassed
getOriginalWithNullArgumentReturnsNull0.16 secPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.18 secPassed
isConsistentCallsStorageConsistencyCheck0.18 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.14 secPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.15 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged0.19 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance0.18 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.14 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute0.1 secPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.17 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject86 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance0.2 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject84 msPassed
isLoadedReturnsUnknownForUnregisteredObject0.15 secPassed
isObjectManagedReturnsTrueForRegisteredExistingObject0.16 secPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.16 secPassed
isObjectNewReturnsFalseForNullArgument0.16 secPassed
isObjectNewReturnsFalseForRegisteredExistingObject0.11 secPassed
isObjectNewReturnsTrueForNewlyRegisteredObject0.13 secPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded0.17 secPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded0.24 secPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException0.1 secPassed
loadFieldLoadsLiteralValueAttribute0.14 secPassed
loadFieldLoadsManagedTypeAttribute0.16 secPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes0.15 secPassed
readAlreadyManagedObjectReturnsTheManagedOne0.17 secPassed
readNewlyRegisteredObjectReturnsIt0.18 secPassed
readObjectLoadsObjectFromStorage0.1 secPassed
readObjectWithNullClassThrowsNullPointerException0.14 secPassed
readObjectWithNullDescriptorThrowsNullPointerException82 msPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.16 secPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState0.1 secPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet0.16 secPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges0.14 secPassed
refreshOverwritesChangesSentToRepository0.16 secPassed
refreshOverwritesObjectPropertyChanges0.1 secPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance0.11 secPassed
refreshThrowsEntityNotFoundForNonExistentEntity0.14 secPassed
refreshThrowsIllegalArgumentForNonManagedInstance0.2 secPassed
refreshThrowsIllegalArgumentForRemovedInstance0.14 secPassed
registerExistingObjectInvokesPostCloneListeners0.16 secPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.17 secPassed
registerExistingObjectReturnsRegisteredClone0.16 secPassed
registerExistingObjectTwiceReturnsSameClone0.13 secPassed
registerNewObjectAddsArgumentToPersistenceContext0.14 secPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne83 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated0.1 secPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument0.13 secPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor0.14 secPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions0.46 secPassed
releaseRemovesIndirectCollectionsFromManagedEntities0.17 secPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive99 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException0.16 secPassed
removeObjectFromCacheEvictsObjectFromCacheManager0.15 secPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository0.38 secPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext0.16 secPassed
restoreDeletedRegistersObjectAgain0.16 secPassed
restoreDeletedReinsertsObjectIntoRepository0.16 secPassed
rollbackDetachesAllManagedEntities0.13 secPassed
rollbackInactiveUoWThrowsIllegalStateException0.14 secPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext0.1 secPassed
testCalculateModificationsDataProperty0.16 secPassed
testGetState85 msPassed
testGetStateWithDescriptor0.14 secPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit0.17 secPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit0.14 secPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached0.44 secPassed
unregisterObjectRemovesItFromCloneBuilderCache0.14 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.16 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.21 secPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.18 secPassed
unwrapReturnsItselfWhenClassMatches0.15 secPassed