Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage0.5 secPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException89 msPassed
attributeChangedOutsideTransactionThrowsIllegalStateException0.16 secPassed
attributeChangedSetsAttributeLoadStatusToLoaded93 msPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue96 msPassed
changesToRemovedObjectAreIgnoredOnCommit88 msPassed
clearCleansUpPersistenceContext92 msPassed
clearResetsCloneBuilder0.14 secPassed
commitAddsNewObjectsToCache0.21 secPassed
commitAddsNewlyAddedReferenceToObjectToCache0.16 secPassed
commitDetachesPersistedInstance91 msPassed
commitEvictsInferredClassesFromCache0.16 secPassed
commitEvictsRemovedObjectsFromCache0.19 secPassed
commitInactiveUoWThrowsIllegalStateException0.16 secPassed
commitPersistsAllNewlyRegisteredObjects0.16 secPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction0.16 secPassed
commitRemovesRemovedObjectsFromStorage0.17 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances97 msPassed
containsReturnsTrueForRegisteredExistingObject0.16 secPassed
detachReplacesInheritedIndirectCollectionWithRegularOne87 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject0.16 secPassed
getContextsRetrievesContextsFromStorage0.16 secPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject95 msPassed
getManagedOriginalForDifferentContextReturnsNull0.16 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull0.21 secPassed
getManagedOriginalReturnsManagedOriginalInstance0.2 secPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects0.17 secPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType0.18 secPassed
getOriginalReturnsOriginalRegisteredByReadObject0.16 secPassed
getOriginalWithNullArgumentReturnsNull0.16 secPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.17 secPassed
isConsistentCallsStorageConsistencyCheck0.16 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.17 secPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.17 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged0.16 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance0.17 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.16 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute0.2 secPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.17 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0.15 secPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance0.16 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject0.15 secPassed
isLoadedReturnsUnknownForUnregisteredObject0.2 secPassed
isObjectManagedReturnsTrueForRegisteredExistingObject0.16 secPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.17 secPassed
isObjectNewReturnsFalseForNullArgument0.18 secPassed
isObjectNewReturnsFalseForRegisteredExistingObject0.17 secPassed
isObjectNewReturnsTrueForNewlyRegisteredObject0.17 secPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded0.17 secPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded0.36 secPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException0.17 secPassed
loadFieldLoadsLiteralValueAttribute0.16 secPassed
loadFieldLoadsManagedTypeAttribute0.17 secPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes0.22 secPassed
readAlreadyManagedObjectReturnsTheManagedOne0.16 secPassed
readNewlyRegisteredObjectReturnsIt0.16 secPassed
readObjectFromAxiomsLoadsEntityFromSpecifiedAxiomsAndReturnsIt0.16 secPassed
readObjectLoadsObjectFromStorage0.15 secPassed
readObjectWithNullClassThrowsNullPointerException0.16 secPassed
readObjectWithNullDescriptorThrowsNullPointerException0.15 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.16 secPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState0.16 secPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet0.1 secPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges0.16 secPassed
refreshOverwritesChangesSentToRepository92 msPassed
refreshOverwritesObjectPropertyChanges0.17 secPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance0.16 secPassed
refreshThrowsEntityNotFoundForNonExistentEntity0.2 secPassed
refreshThrowsIllegalArgumentForNonManagedInstance0.16 secPassed
refreshThrowsIllegalArgumentForRemovedInstance0.16 secPassed
registerExistingObjectInvokesPostCloneListeners0.26 secPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.16 secPassed
registerExistingObjectReturnsRegisteredClone0.16 secPassed
registerExistingObjectTwiceReturnsSameClone0.16 secPassed
registerNewObjectAddsArgumentToPersistenceContext0.15 secPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne0.16 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated0.16 secPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument0.15 secPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor0.16 secPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions0.19 secPassed
releaseRemovesIndirectCollectionsFromManagedEntities0.11 secPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive85 msPassed
removeNotRegisteredObjectThrowsIllegalArgumentException0.16 secPassed
removeObjectFromCacheEvictsObjectFromCacheManager0.16 secPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository0.1 secPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext90 msPassed
restoreDeletedRegistersObjectAgain99 msPassed
restoreDeletedReinsertsObjectIntoRepository0.1 secPassed
rollbackDetachesAllManagedEntities0.2 secPassed
rollbackInactiveUoWThrowsIllegalStateException0.16 secPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext0.16 secPassed
testCalculateModificationsDataProperty0.16 secPassed
testGetState0.17 secPassed
testGetStateWithDescriptor0.16 secPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit94 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit0.15 secPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached0.28 secPassed
unregisterObjectRemovesItFromCloneBuilderCache0.19 secPassed
unregisterObjectReplacesChangeTrackingProxiesWithReferencedObjects0.16 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.16 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.18 secPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.14 secPassed
unwrapReturnsItselfWhenClassMatches0.16 secPassed