Skip to content

Test Result : ChangeTrackingUnitOfWorkTest

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

All Tests

Test nameDurationStatus
attributeChangedMergesChangeToStorage0.15 secPassed
attributeChangedOnUnmanagedObjectThrowsOwlPersistenceException0.14 secPassed
attributeChangedOutsideTransactionThrowsIllegalStateException0.16 secPassed
attributeChangedSetsAttributeLoadStatusToLoaded0.17 secPassed
attributeChangedThrowsInferredAttributeModifiedExceptionOnChangeToInferredAttributeValue0.16 secPassed
changesToRemovedObjectAreIgnoredOnCommit0.16 secPassed
clearCleansUpPersistenceContext0.11 secPassed
clearResetsCloneBuilder93 msPassed
commitAddsNewObjectsToCache0.16 secPassed
commitAddsNewlyAddedReferenceToObjectToCache0.17 secPassed
commitDetachesPersistedInstance0.17 secPassed
commitEvictsInferredClassesFromCache0.16 secPassed
commitEvictsRemovedObjectsFromCache0.16 secPassed
commitInactiveUoWThrowsIllegalStateException0.11 secPassed
commitPersistsAllNewlyRegisteredObjects0.19 secPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction0.16 secPassed
commitRemovesRemovedObjectsFromStorage0.19 secPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances0.16 secPassed
containsReturnsTrueForRegisteredExistingObject0.12 secPassed
detachReplacesInheritedIndirectCollectionWithRegularOne0.16 secPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject0.1 secPassed
getContextsRetrievesContextsFromStorage86 msPassed
getInstanceForMergeTriggersLazyAttributeLoadingForAlreadyManagedObject0.18 secPassed
getManagedOriginalForDifferentContextReturnsNull0.12 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull0.15 secPassed
getManagedOriginalReturnsManagedOriginalInstance88 msPassed
getManagedOriginalReturnsNullWhenObjectIsManagedButAmongDeletedObjects0.16 secPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType89 msPassed
getOriginalReturnsOriginalRegisteredByReadObject0.1 secPassed
getOriginalWithNullArgumentReturnsNull93 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction0.18 secPassed
isConsistentCallsStorageConsistencyCheck0.14 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper89 msPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded97 msPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged89 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance0.19 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.2 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute98 msPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.15 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject92 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance0.22 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject96 msPassed
isLoadedReturnsUnknownForUnregisteredObject0.11 secPassed
isObjectManagedReturnsTrueForRegisteredExistingObject0.1 secPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.11 secPassed
isObjectNewReturnsFalseForNullArgument0.16 secPassed
isObjectNewReturnsFalseForRegisteredExistingObject0.17 secPassed
isObjectNewReturnsTrueForNewlyRegisteredObject0.19 secPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded0.26 secPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded0.17 secPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException0.19 secPassed
loadFieldLoadsLiteralValueAttribute0.17 secPassed
loadFieldLoadsManagedTypeAttribute0.1 secPassed
persistSkipsCardinalityConstraintValidationOfInferredAttributes0.16 secPassed
readAlreadyManagedObjectReturnsTheManagedOne94 msPassed
readNewlyRegisteredObjectReturnsIt0.18 secPassed
readObjectFromAxiomsLoadsEntityFromSpecifiedAxiomsAndReturnsIt0.15 secPassed
readObjectLoadsObjectFromStorage97 msPassed
readObjectWithNullClassThrowsNullPointerException0.11 secPassed
readObjectWithNullDescriptorThrowsNullPointerException0.1 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.1 secPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState0.21 secPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet0.16 secPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges0.16 secPassed
refreshOverwritesChangesSentToRepository0.16 secPassed
refreshOverwritesObjectPropertyChanges0.18 secPassed
refreshSetsUpdatesCloneMappingForRefreshedInstance0.24 secPassed
refreshThrowsEntityNotFoundForNonExistentEntity0.16 secPassed
refreshThrowsIllegalArgumentForNonManagedInstance0.16 secPassed
refreshThrowsIllegalArgumentForRemovedInstance0.16 secPassed
registerExistingObjectInvokesPostCloneListeners0.19 secPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder0.2 secPassed
registerExistingObjectReturnsRegisteredClone0.1 secPassed
registerExistingObjectTwiceReturnsSameClone88 msPassed
registerNewObjectAddsArgumentToPersistenceContext0.17 secPassed
registerNewObjectGeneratesIdentifierWhenInstancesDoesNotHaveOne0.18 secPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated0.25 secPassed
registerNewObjectThrowsNullPointerExceptionForNullArgument0.15 secPassed
registerNewObjectThrowsNullPointerExceptionForNullDescriptor0.15 secPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions0.16 secPassed
releaseRemovesIndirectCollectionsFromManagedEntities0.16 secPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive0.1 secPassed
removeNotRegisteredObjectThrowsIllegalArgumentException0.14 secPassed
removeObjectFromCacheEvictsObjectFromCacheManager0.15 secPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository0.16 secPassed
removeObjectRemovesNewlyRegisteredObjectFromPersistenceContext0.12 secPassed
restoreDeletedRegistersObjectAgain0.16 secPassed
restoreDeletedReinsertsObjectIntoRepository0.2 secPassed
rollbackDetachesAllManagedEntities90 msPassed
rollbackInactiveUoWThrowsIllegalStateException0.1 secPassed
rollbackRollsBackStorageChangesAndRemovesObjectsFromPersistenceContext0.22 secPassed
testCalculateModificationsDataProperty0.2 secPassed
testGetState93 msPassed
testGetStateWithDescriptor0.11 secPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit0.17 secPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit0.16 secPassed
unregisterObjectRemovesIndirectMultilingualStringOfManagedObjectBeingDetached0.16 secPassed
unregisterObjectRemovesItFromCloneBuilderCache0.16 secPassed
unregisterObjectReplacesChangeTrackingProxiesWithReferencedObjects0.19 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection95 msPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.1 secPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext91 msPassed
unwrapReturnsItselfWhenClassMatches0.18 secPassed