Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage0.11 secPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException0.1 secPassed
attributeChangedOutsideTransactionThrowsIllegalStateException0.1 secPassed
attributeChangedSetsAttributeLoadStatusToLoaded0.12 secPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue0.11 secPassed
changesToRemovedObjectAreIgnoredOnCommit0.11 secPassed
clearCleansUpPersistenceContext68 msPassed
clearResetsCloneBuilder0.13 secPassed
commitAddsNewObjectsToCache0.1 secPassed
commitAddsNewlyAddedReferenceToObjectToCache84 msPassed
commitDetachesPersistedInstance0.11 secPassed
commitEvictsInferredClassesFromCache0.11 secPassed
commitEvictsRemovedObjectsFromCache0.11 secPassed
commitInactiveUoWThrowsIllegalStateException0.13 secPassed
commitPersistsAllNewlyRegisteredObjects63 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction0.14 secPassed
commitRemovesRemovedObjectsFromStorage0.21 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances98 msPassed
containsReturnsTrueForRegisteredExistingObject0.11 secPassed
detachReplacesInheritedIndirectCollectionWithRegularOne0.1 secPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject0.14 secPassed
getContextsRetrievesContextsFromStorage0.1 secPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject0.11 secPassed
getManagedOriginalForDifferentContextReturnsNull0.11 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull0.11 secPassed
getManagedOriginalReturnsManagedOriginalInstance0.11 secPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects0.11 secPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType0.11 secPassed
getOriginalReturnsOriginalRegisteredByReadObject0.14 secPassed
getOriginalWithNullArgumentReturnsNull0.1 secPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.11 secPassed
isConsistentCallsStorageConsistencyCheck0.11 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.15 secPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.15 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged0.11 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance99 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.14 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute63 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.12 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject64 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance0.11 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject60 msPassed
isLoadedReturnsUnknownForUnregisteredObject0.11 secPassed
isObjectManagedReturnsTrueForRegisteredExistingObject0.14 secPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.13 secPassed
isObjectNewReturnsFalseForNullArgument0.1 secPassed
isObjectNewReturnsFalseForRegisteredExistingObject63 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject0.1 secPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded0.14 secPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded0.12 secPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException81 msPassed
loadFieldLoadsLiteralValueAttribute0.11 secPassed
loadFieldLoadsManagedTypeAttribute0.12 secPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes0.13 secPassed
readAlreadyManagedObjectReturnsTheManagedOne0.11 secPassed
readNewlyRegisteredObjectReturnsIt0.15 secPassed
readObjectLoadsObjectFromStorage63 msPassed
readObjectWithNullClassThrowsNullPointerException0.12 secPassed
readObjectWithNullDescriptorThrowsNullPointerException0.11 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.1 secPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState67 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet0.1 secPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges0.13 secPassed
refreshOverwritesChangesSentToRepository0.12 secPassed
refreshOverwritesObjectPropertyChanges74 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance64 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity0.1 secPassed
refreshThrowsIllegalArgumentForNonManagedInstance0.1 secPassed
refreshThrowsIllegalArgumentForRemovedInstance0.12 secPassed
registerExistingObjectInvokesPostCloneListeners0.14 secPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.16 secPassed
registerExistingObjectReturnsRegisteredClone0.11 secPassed
registerExistingObjectTwiceReturnsSameClone0.12 secPassed
registerNewObjectAddsArgumentToPersistenceContext0.19 secPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne63 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated63 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument0.15 secPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor0.13 secPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions0.11 secPassed
releaseRemovesIndirectCollectionsFromManagedEntities0.1 secPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive72 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException97 msPassed
removeObjectFromCacheEvictsObjectFromCacheManager0.12 secPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository98 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext0.16 secPassed
restoreDeletedRegistersObjectAgain0.1 secPassed
restoreDeletedReinsertsObjectIntoRepository0.11 secPassed
rollbackDetachesAllManagedEntities0.12 secPassed
rollbackInactiveUoWThrowsIllegalStateException0.13 secPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext66 msPassed
testCalculateModificationsDataProperty0.11 secPassed
testGetState62 msPassed
testGetStateWithDescriptor0.11 secPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit0.12 secPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit0.17 secPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached0.11 secPassed
unregisterObjectRemovesItFromCloneBuilderCache0.11 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.1 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.11 secPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.13 secPassed
unwrapReturnsItselfWhenClassMatches0.16 secPassed