Skip to content

Test Result : ReadOnlyUnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext85 msPassed
clearResetsCloneBuilder0.11 secPassed
commitInactiveUoWThrowsIllegalStateException0.12 secPassed
containsOriginalReturnsFalseForNotManagedEntity85 msPassed
containsOriginalReturnsTrueForManagedEntity84 msPassed
containsOriginalThrowsAssertionErrorForNullArgument0.1 secPassed
containsReturnsTrueForRegisteredExistingObject0.11 secPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject88 msPassed
getCloneForOriginalReturnsOriginal0.18 secPassed
getContextsRetrievesContextsFromStorage92 msPassed
getManagedOriginalForDifferentContextReturnsNull95 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull85 msPassed
getManagedOriginalReturnsManagedOriginalInstance87 msPassed
getManagedOriginalReturnsNullForUnmanagedObject86 msPassed
getManagedOriginalReturnsRegisteredObject94 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType85 msPassed
getOriginalReturnsOriginal84 msPassed
getOriginalReturnsOriginalRegisteredByReadObject0.14 secPassed
getOriginalWithNullArgumentReturnsNull88 msPassed
isConsistentCallsStorageConsistencyCheck0.19 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.1 secPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.11 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged86 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.12 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute0.1 secPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.11 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0.1 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject0.1 secPassed
isLoadedReturnsUnknownForUnregisteredObject0.1 secPassed
isObjectManagedReturnsFalseForNotManagedObject84 msPassed
isObjectManagedReturnsTrueForManagedObject85 msPassed
isObjectManagedReturnsTrueForRegisteredExistingObject86 msPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument86 msPassed
isObjectManagedTrowsNullPointerExceptionForNullArgument88 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded93 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException0.52 secPassed
loadEntityFieldRegistersEntityAttribute0.11 secPassed
loadFieldLoadsLiteralValueAttribute91 msPassed
loadFieldLoadsManagedTypeAttribute0.1 secPassed
readAlreadyManagedObjectReturnsTheManagedOne85 msPassed
readManagedObjectReturnsNullForUnmanagedObject83 msPassed
readManagedObjectReturnsRegisteredObject84 msPassed
readObjectInternalClonesCachedEntity0.1 secPassed
readObjectInternalRegistersUnmanagedObject84 msPassed
readObjectInternalReturnsManagedObject84 msPassed
readObjectInternalReturnsObject85 msPassed
readObjectInternalThrowsAssertionErrorOnNullParameter84 msPassed
readObjectLoadsObjectFromStorage85 msPassed
readObjectWithNullClassThrowsNullPointerException0.1 secPassed
readObjectWithNullDescriptorThrowsNullPointerException0.1 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException85 msPassed
registerExistingObjectClonesOriginal86 msPassed
registerExistingObjectInvokesPostCloneListeners0.2 secPassed
registerExistingObjectProcessesCollectionTypeField85 msPassed
registerExistingObjectProcessesImmutableTypeField85 msPassed
registerExistingObjectProcessesLazyLoadingEntityProxyAttribute91 msPassed
registerExistingObjectProcessesLazyLoadingListProxyAttribute93 msPassed
registerExistingObjectProcessesLazyLoadingSetProxyAttribute91 msPassed
registerExistingObjectProcessesNullAttribute84 msPassed
registerExistingObjectProcessesObjectPropertyField0.1 secPassed
registerExistingObjectRegistersClonedOriginal85 msPassed
registerExistingObjectRegistersEagerlyLoadedEntityField85 msPassed
registerExistingObjectRegistersObjectPropertyField86 msPassed
registerExistingObjectRegistersObjectsInCollectionField86 msPassed
registerExistingObjectRegistersUnmanagedObjectReturnsObject89 msPassed
registerExistingObjectReturnsAlreadyRegisteredObject84 msPassed
registerExistingObjectReturnsNullForNullObject85 msPassed
registerExistingObjectReturnsRegisteredClone86 msPassed
registerExistingObjectReturnsRegisteredObject84 msPassed
registerExistingObjectTwiceReturnsSameClone0.11 secPassed
registerExistingObjectWithCloningInvokesPostCloneListeners86 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive0.11 secPassed
rollbackDetachesAllManagedEntities86 msPassed
rollbackInactiveUoWThrowsIllegalStateException0.1 secPassed
testGetState84 msPassed
testGetStateWithDescriptor90 msPassed
throwsUnsupportedOperationOnAttributeChanged85 msPassed
throwsUnsupportedOperationOnCalculateChanges85 msPassed
throwsUnsupportedOperationOnEvictAfterMerge84 msPassed
throwsUnsupportedOperationOnGetInstanceForMerge85 msPassed
throwsUnsupportedOperationOnHasChanges85 msPassed
throwsUnsupportedOperationOnIsFlushingChanges85 msPassed
throwsUnsupportedOperationOnIsObjectNew84 msPassed
throwsUnsupportedOperationOnMarkCloneForDeletion86 msPassed
throwsUnsupportedOperationOnMergeDetached86 msPassed
throwsUnsupportedOperationOnMergeDetachedInternal84 msPassed
throwsUnsupportedOperationOnPersistNewObjects84 msPassed
throwsUnsupportedOperationOnPreventCachingIfReferenceIsNotLoaded83 msPassed
throwsUnsupportedOperationOnProcessInferredValueChanges84 msPassed
throwsUnsupportedOperationOnRefreshObject83 msPassed
throwsUnsupportedOperationOnRegisterClone0.12 secPassed
throwsUnsupportedOperationOnRegisterNewObject87 msPassed
throwsUnsupportedOperationOnRegisterOriginalForNewClone0.1 secPassed
throwsUnsupportedOperationOnRemoveObject96 msPassed
throwsUnsupportedOperationOnRemoveObjectFromCache84 msPassed
throwsUnsupportedOperationOnRestoreRemovedObject86 msPassed
throwsUnsupportedOperationOnSetHasChanges0.1 secPassed
throwsUnsupportedOperationOnValidateIntegrityConstraints85 msPassed
throwsUnsupportedOperationOnWriteUncommitedChanges91 msPassed
unregisterObjectDoesNotRemoveObjectForNull84 msPassed
unregisterObjectRemovesObjectFromPersistenceContext85 msPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection91 msPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull98 msPassed
unregisterObjectUnregistersFromOntologyContext85 msPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.1 secPassed
unwrapReturnsItselfWhenClassMatches84 msPassed