Skip to content

Test Result : ReadOnlyUnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext83 msPassed
clearResetsCloneBuilder0.16 secPassed
commitInactiveUoWThrowsIllegalStateException0.15 secPassed
containsOriginalReturnsFalseForNotManagedEntity83 msPassed
containsOriginalReturnsTrueForManagedEntity84 msPassed
containsOriginalThrowsAssertionErrorForNullArgument84 msPassed
containsReturnsTrueForRegisteredExistingObject0.15 secPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject86 msPassed
getCloneForOriginalReturnsOriginal84 msPassed
getContextsRetrievesContextsFromStorage0.15 secPassed
getManagedOriginalForDifferentContextReturnsNull0.19 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull83 msPassed
getManagedOriginalReturnsManagedOriginalInstance84 msPassed
getManagedOriginalReturnsNullForUnmanagedObject85 msPassed
getManagedOriginalReturnsRegisteredObject84 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType84 msPassed
getOriginalReturnsOriginal85 msPassed
getOriginalReturnsOriginalRegisteredByReadObject86 msPassed
getOriginalWithNullArgumentReturnsNull84 msPassed
isConsistentCallsStorageConsistencyCheck83 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.16 secPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.17 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged83 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.15 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute0.2 secPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute90 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0.19 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject0.16 secPassed
isLoadedReturnsUnknownForUnregisteredObject0.15 secPassed
isObjectManagedReturnsFalseForNotManagedObject83 msPassed
isObjectManagedReturnsTrueForManagedObject85 msPassed
isObjectManagedReturnsTrueForRegisteredExistingObject84 msPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument83 msPassed
isObjectManagedTrowsNullPointerExceptionForNullArgument83 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded90 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException0.62 secPassed
loadEntityFieldRegistersEntityAttribute97 msPassed
loadFieldLoadsLiteralValueAttribute85 msPassed
loadFieldLoadsManagedTypeAttribute0.13 secPassed
readAlreadyManagedObjectReturnsTheManagedOne85 msPassed
readManagedObjectReturnsNullForUnmanagedObject85 msPassed
readManagedObjectReturnsRegisteredObject85 msPassed
readObjectInternalClonesCachedEntity86 msPassed
readObjectInternalRegistersUnmanagedObject84 msPassed
readObjectInternalReturnsManagedObject86 msPassed
readObjectInternalReturnsObject84 msPassed
readObjectInternalThrowsAssertionErrorOnNullParameter84 msPassed
readObjectLoadsObjectFromStorage83 msPassed
readObjectWithNullClassThrowsNullPointerException0.15 secPassed
readObjectWithNullDescriptorThrowsNullPointerException0.16 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException84 msPassed
registerExistingObjectClonesOriginal85 msPassed
registerExistingObjectInvokesPostCloneListeners0.19 secPassed
registerExistingObjectProcessesCollectionTypeField84 msPassed
registerExistingObjectProcessesImmutableTypeField85 msPassed
registerExistingObjectProcessesLazyLoadingEntityProxyAttribute89 msPassed
registerExistingObjectProcessesLazyLoadingListProxyAttribute90 msPassed
registerExistingObjectProcessesLazyLoadingSetProxyAttribute91 msPassed
registerExistingObjectProcessesNullAttribute84 msPassed
registerExistingObjectProcessesObjectPropertyField85 msPassed
registerExistingObjectRegistersClonedOriginal88 msPassed
registerExistingObjectRegistersEagerlyLoadedEntityField86 msPassed
registerExistingObjectRegistersObjectPropertyField85 msPassed
registerExistingObjectRegistersObjectsInCollectionField84 msPassed
registerExistingObjectRegistersUnmanagedObjectReturnsObject83 msPassed
registerExistingObjectReturnsAlreadyRegisteredObject83 msPassed
registerExistingObjectReturnsNullForNullObject83 msPassed
registerExistingObjectReturnsRegisteredClone84 msPassed
registerExistingObjectReturnsRegisteredObject88 msPassed
registerExistingObjectTwiceReturnsSameClone0.15 secPassed
registerExistingObjectWithCloningInvokesPostCloneListeners84 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive0.24 secPassed
rollbackDetachesAllManagedEntities89 msPassed
rollbackInactiveUoWThrowsIllegalStateException0.16 secPassed
testGetState85 msPassed
testGetStateWithDescriptor87 msPassed
throwsUnsupportedOperationOnAttributeChanged84 msPassed
throwsUnsupportedOperationOnCalculateChanges87 msPassed
throwsUnsupportedOperationOnEvictAfterMerge85 msPassed
throwsUnsupportedOperationOnGetInstanceForMerge85 msPassed
throwsUnsupportedOperationOnHasChanges85 msPassed
throwsUnsupportedOperationOnIsFlushingChanges83 msPassed
throwsUnsupportedOperationOnIsObjectNew85 msPassed
throwsUnsupportedOperationOnMarkCloneForDeletion86 msPassed
throwsUnsupportedOperationOnMergeDetached83 msPassed
throwsUnsupportedOperationOnMergeDetachedInternal84 msPassed
throwsUnsupportedOperationOnPersistNewObjects85 msPassed
throwsUnsupportedOperationOnPreventCachingIfReferenceIsNotLoaded83 msPassed
throwsUnsupportedOperationOnProcessInferredValueChanges84 msPassed
throwsUnsupportedOperationOnRefreshObject85 msPassed
throwsUnsupportedOperationOnRegisterClone0.1 secPassed
throwsUnsupportedOperationOnRegisterNewObject84 msPassed
throwsUnsupportedOperationOnRegisterOriginalForNewClone86 msPassed
throwsUnsupportedOperationOnRemoveObject86 msPassed
throwsUnsupportedOperationOnRemoveObjectFromCache85 msPassed
throwsUnsupportedOperationOnRestoreRemovedObject85 msPassed
throwsUnsupportedOperationOnSetHasChanges85 msPassed
throwsUnsupportedOperationOnValidateIntegrityConstraints86 msPassed
throwsUnsupportedOperationOnWriteUncommitedChanges87 msPassed
unregisterObjectDoesNotRemoveObjectForNull84 msPassed
unregisterObjectRemovesObjectFromPersistenceContext84 msPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection85 msPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull90 msPassed
unregisterObjectUnregistersFromOntologyContext84 msPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.15 secPassed
unwrapReturnsItselfWhenClassMatches82 msPassed