Skip to content

Test Result : ReadOnlyUnitOfWorkTest

0 failures (±0)
106 tests (±0)
Took 13 sec.

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext0.18 secPassed
clearResetsCloneBuilder99 msPassed
commitInactiveUoWThrowsIllegalStateException0.11 secPassed
containsOriginalReturnsFalseForNotManagedEntity0.1 secPassed
containsOriginalReturnsTrueForManagedEntity91 msPassed
containsOriginalThrowsAssertionErrorForNullArgument0.1 secPassed
containsReturnsTrueForRegisteredExistingObject0.11 secPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject0.1 secPassed
getCloneForOriginalReturnsOriginal90 msPassed
getContextsRetrievesContextsFromStorage91 msPassed
getManagedOriginalForDifferentContextReturnsNull93 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull93 msPassed
getManagedOriginalReturnsManagedOriginalInstance0.17 secPassed
getManagedOriginalReturnsNullForUnmanagedObject90 msPassed
getManagedOriginalReturnsRegisteredObject91 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType95 msPassed
getOriginalReturnsOriginal88 msPassed
getOriginalReturnsOriginalRegisteredByReadObject0.23 secPassed
getOriginalWithNullArgumentReturnsNull0.1 secPassed
isConsistentCallsStorageConsistencyCheck95 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper99 msPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.12 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged98 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.1 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute0.11 secPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.1 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0.14 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject0.11 secPassed
isLoadedReturnsUnknownForUnregisteredObject93 msPassed
isObjectManagedReturnsFalseForNotManagedObject0.16 secPassed
isObjectManagedReturnsTrueForManagedObject94 msPassed
isObjectManagedReturnsTrueForRegisteredExistingObject0.11 secPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.13 secPassed
isObjectManagedTrowsNullPointerExceptionForNullArgument0.14 secPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded0.11 secPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException0.64 secPassed
loadEntityFieldRegistersEntityAttribute0.1 secPassed
loadFieldLoadsLiteralValueAttribute94 msPassed
loadFieldLoadsManagedTypeAttribute0.1 secPassed
readAlreadyManagedObjectReturnsTheManagedOne95 msPassed
readManagedObjectReturnsNullForUnmanagedObject88 msPassed
readManagedObjectReturnsRegisteredObject93 msPassed
readObjectInternalClonesCachedEntity97 msPassed
readObjectInternalRegistersUnmanagedObject93 msPassed
readObjectInternalReturnsManagedObject89 msPassed
readObjectInternalReturnsObject93 msPassed
readObjectInternalThrowsAssertionErrorOnNullParameter92 msPassed
readObjectLoadsObjectFromStorage0.18 secPassed
readObjectWithNullClassThrowsNullPointerException99 msPassed
readObjectWithNullDescriptorThrowsNullPointerException0.1 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException96 msPassed
registerExistingObjectClonesOriginal92 msPassed
registerExistingObjectInvokesPostCloneListeners0.16 secPassed
registerExistingObjectProcessesCollectionTypeField0.17 secPassed
registerExistingObjectProcessesImmutableTypeField92 msPassed
registerExistingObjectProcessesLazyLoadingEntityProxyAttribute98 msPassed
registerExistingObjectProcessesLazyLoadingListProxyAttribute0.17 secPassed
registerExistingObjectProcessesLazyLoadingSetProxyAttribute95 msPassed
registerExistingObjectProcessesNullAttribute92 msPassed
registerExistingObjectProcessesObjectPropertyField0.11 secPassed
registerExistingObjectRegistersClonedOriginal96 msPassed
registerExistingObjectRegistersEagerlyLoadedEntityField90 msPassed
registerExistingObjectRegistersObjectPropertyField0.17 secPassed
registerExistingObjectRegistersObjectsInCollectionField0.1 secPassed
registerExistingObjectRegistersUnmanagedObjectReturnsObject0.17 secPassed
registerExistingObjectReturnsAlreadyRegisteredObject0.22 secPassed
registerExistingObjectReturnsNullForNullObject0.17 secPassed
registerExistingObjectReturnsRegisteredClone95 msPassed
registerExistingObjectReturnsRegisteredObject96 msPassed
registerExistingObjectTwiceReturnsSameClone0.11 secPassed
registerExistingObjectWithCloningInvokesPostCloneListeners0.16 secPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive0.16 secPassed
rollbackDetachesAllManagedEntities0.17 secPassed
rollbackInactiveUoWThrowsIllegalStateException94 msPassed
testGetState0.19 secPassed
testGetStateWithDescriptor92 msPassed
throwsUnsupportedOperationOnAttributeChanged0.17 secPassed
throwsUnsupportedOperationOnCalculateChanges0.17 secPassed
throwsUnsupportedOperationOnEvictAfterMerge0.18 secPassed
throwsUnsupportedOperationOnGetInstanceForMerge0.16 secPassed
throwsUnsupportedOperationOnHasChanges93 msPassed
throwsUnsupportedOperationOnIsFlushingChanges91 msPassed
throwsUnsupportedOperationOnIsObjectNew90 msPassed
throwsUnsupportedOperationOnMarkCloneForDeletion92 msPassed
throwsUnsupportedOperationOnMergeDetached0.17 secPassed
throwsUnsupportedOperationOnMergeDetachedInternal90 msPassed
throwsUnsupportedOperationOnPersistNewObjects0.11 secPassed
throwsUnsupportedOperationOnPreventCachingIfReferenceIsNotLoaded91 msPassed
throwsUnsupportedOperationOnProcessInferredValueChanges94 msPassed
throwsUnsupportedOperationOnRefreshObject91 msPassed
throwsUnsupportedOperationOnRegisterClone0.11 secPassed
throwsUnsupportedOperationOnRegisterNewObject0.16 secPassed
throwsUnsupportedOperationOnRegisterOriginalForNewClone0.12 secPassed
throwsUnsupportedOperationOnRemoveObject90 msPassed
throwsUnsupportedOperationOnRemoveObjectFromCache0.17 secPassed
throwsUnsupportedOperationOnRestoreRemovedObject89 msPassed
throwsUnsupportedOperationOnSetHasChanges0.1 secPassed
throwsUnsupportedOperationOnValidateIntegrityConstraints0.16 secPassed
throwsUnsupportedOperationOnWriteUncommitedChanges0.16 secPassed
unregisterObjectDoesNotRemoveObjectForNull91 msPassed
unregisterObjectRemovesObjectFromPersistenceContext0.16 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection95 msPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.1 secPassed
unregisterObjectUnregistersFromOntologyContext97 msPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext93 msPassed
unwrapReturnsItselfWhenClassMatches99 msPassed