Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage88 msPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException0.1 secPassed
attributeChangedOutsideTransactionThrowsIllegalStateException89 msPassed
attributeChangedSetsAttributeLoadStatusToLoaded92 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue88 msPassed
changesToRemovedObjectAreIgnoredOnCommit0.19 secPassed
clearCleansUpPersistenceContext93 msPassed
clearResetsCloneBuilder87 msPassed
commitAddsNewObjectsToCache88 msPassed
commitAddsNewlyAddedReferenceToObjectToCache89 msPassed
commitDetachesPersistedInstance87 msPassed
commitEvictsInferredClassesFromCache88 msPassed
commitEvictsRemovedObjectsFromCache88 msPassed
commitInactiveUoWThrowsIllegalStateException87 msPassed
commitPersistsAllNewlyRegisteredObjects88 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction0.1 secPassed
commitRemovesRemovedObjectsFromStorage90 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances90 msPassed
containsReturnsTrueForRegisteredExistingObject86 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne0.12 secPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject0.14 secPassed
getContextsRetrievesContextsFromStorage85 msPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject89 msPassed
getManagedOriginalForDifferentContextReturnsNull87 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull95 msPassed
getManagedOriginalReturnsManagedOriginalInstance86 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects86 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType0.16 secPassed
getOriginalReturnsOriginalRegisteredByReadObject0.17 secPassed
getOriginalWithNullArgumentReturnsNull0.14 secPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.1 secPassed
isConsistentCallsStorageConsistencyCheck0.21 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper87 msPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded96 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged0.16 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance86 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject86 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute0.16 secPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.17 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject85 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance89 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject87 msPassed
isLoadedReturnsUnknownForUnregisteredObject85 msPassed
isObjectManagedReturnsTrueForRegisteredExistingObject0.15 secPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.18 secPassed
isObjectNewReturnsFalseForNullArgument90 msPassed
isObjectNewReturnsFalseForRegisteredExistingObject86 msPassed
isObjectNewReturnsTrueForNewlyRegisteredObject87 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded0.15 secPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded92 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException0.16 secPassed
loadFieldLoadsLiteralValueAttribute89 msPassed
loadFieldLoadsManagedTypeAttribute96 msPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes0.13 secPassed
readAlreadyManagedObjectReturnsTheManagedOne0.14 secPassed
readNewlyRegisteredObjectReturnsIt0.1 secPassed
readObjectFromAxiomsLoadsEntityFromSpecifiedAxiomsAndReturnsIt0.14 secPassed
readObjectLoadsObjectFromStorage87 msPassed
readObjectWithNullClassThrowsNullPointerException87 msPassed
readObjectWithNullDescriptorThrowsNullPointerException86 msPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.15 secPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState89 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet0.1 secPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges92 msPassed
refreshOverwritesChangesSentToRepository87 msPassed
refreshOverwritesObjectPropertyChanges98 msPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance89 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity88 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance87 msPassed
refreshThrowsIllegalArgumentForRemovedInstance88 msPassed
registerExistingObjectInvokesPostCloneListeners0.23 secPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder86 msPassed
registerExistingObjectReturnsRegisteredClone0.18 secPassed
registerExistingObjectTwiceReturnsSameClone86 msPassed
registerNewObjectAddsArgumentToPersistenceContext0.1 secPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne85 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated86 msPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument88 msPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor0.1 secPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions86 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities86 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive87 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException97 msPassed
removeObjectFromCacheEvictsObjectFromCacheManager99 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository85 msPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext85 msPassed
restoreDeletedRegistersObjectAgain85 msPassed
restoreDeletedReinsertsObjectIntoRepository0.1 secPassed
rollbackDetachesAllManagedEntities87 msPassed
rollbackInactiveUoWThrowsIllegalStateException86 msPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext85 msPassed
testCalculateModificationsDataProperty0.11 secPassed
testGetState89 msPassed
testGetStateWithDescriptor85 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit0.15 secPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit98 msPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached0.1 secPassed
unregisterObjectRemovesItFromCloneBuilderCache0.16 secPassed
unregisterObjectReplacesChangeTrackingProxiesWithReferencedObjects0.12 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection86 msPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.17 secPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext88 msPassed
unwrapReturnsItselfWhenClassMatches0.11 secPassed