Skip to content

Test Result : ReadOnlyUnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext89 msPassed
clearResetsCloneBuilder0.1 secPassed
commitInactiveUoWThrowsIllegalStateException90 msPassed
containsOriginalReturnsFalseForNotManagedEntity0.19 secPassed
containsOriginalReturnsTrueForManagedEntity87 msPassed
containsOriginalThrowsAssertionErrorForNullArgument0.1 secPassed
containsReturnsTrueForRegisteredExistingObject92 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject89 msPassed
getCloneForOriginalReturnsOriginal89 msPassed
getContextsRetrievesContextsFromStorage95 msPassed
getManagedOriginalForDifferentContextReturnsNull91 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull86 msPassed
getManagedOriginalReturnsManagedOriginalInstance88 msPassed
getManagedOriginalReturnsNullForUnmanagedObject87 msPassed
getManagedOriginalReturnsRegisteredObject87 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType89 msPassed
getOriginalReturnsOriginal88 msPassed
getOriginalReturnsOriginalRegisteredByReadObject0.1 secPassed
getOriginalWithNullArgumentReturnsNull86 msPassed
isConsistentCallsStorageConsistencyCheck87 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper92 msPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.1 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged87 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject91 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute0.12 secPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute95 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0.11 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject0.11 secPassed
isLoadedReturnsUnknownForUnregisteredObject91 msPassed
isObjectManagedReturnsFalseForNotManagedObject87 msPassed
isObjectManagedReturnsTrueForManagedObject89 msPassed
isObjectManagedReturnsTrueForRegisteredExistingObject0.1 secPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.1 secPassed
isObjectManagedTrowsNullPointerExceptionForNullArgument90 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded95 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException0.52 secPassed
loadEntityFieldRegistersEntityAttribute99 msPassed
loadFieldLoadsLiteralValueAttribute88 msPassed
loadFieldLoadsManagedTypeAttribute0.1 secPassed
readAlreadyManagedObjectReturnsTheManagedOne0.1 secPassed
readManagedObjectReturnsNullForUnmanagedObject88 msPassed
readManagedObjectReturnsRegisteredObject96 msPassed
readObjectInternalClonesCachedEntity90 msPassed
readObjectInternalRegistersUnmanagedObject87 msPassed
readObjectInternalReturnsManagedObject89 msPassed
readObjectInternalReturnsObject87 msPassed
readObjectInternalThrowsAssertionErrorOnNullParameter88 msPassed
readObjectLoadsObjectFromStorage88 msPassed
readObjectWithNullClassThrowsNullPointerException91 msPassed
readObjectWithNullDescriptorThrowsNullPointerException0.11 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.1 secPassed
registerExistingObjectClonesOriginal88 msPassed
registerExistingObjectInvokesPostCloneListeners0.2 secPassed
registerExistingObjectProcessesCollectionTypeField89 msPassed
registerExistingObjectProcessesImmutableTypeField95 msPassed
registerExistingObjectProcessesLazyLoadingEntityProxyAttribute94 msPassed
registerExistingObjectProcessesLazyLoadingListProxyAttribute93 msPassed
registerExistingObjectProcessesLazyLoadingSetProxyAttribute0.19 secPassed
registerExistingObjectProcessesNullAttribute87 msPassed
registerExistingObjectProcessesObjectPropertyField0.1 secPassed
registerExistingObjectRegistersClonedOriginal94 msPassed
registerExistingObjectRegistersEagerlyLoadedEntityField90 msPassed
registerExistingObjectRegistersObjectPropertyField87 msPassed
registerExistingObjectRegistersObjectsInCollectionField88 msPassed
registerExistingObjectRegistersUnmanagedObjectReturnsObject87 msPassed
registerExistingObjectReturnsAlreadyRegisteredObject89 msPassed
registerExistingObjectReturnsNullForNullObject87 msPassed
registerExistingObjectReturnsRegisteredClone0.1 secPassed
registerExistingObjectReturnsRegisteredObject87 msPassed
registerExistingObjectTwiceReturnsSameClone89 msPassed
registerExistingObjectWithCloningInvokesPostCloneListeners88 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive0.16 secPassed
rollbackDetachesAllManagedEntities88 msPassed
rollbackInactiveUoWThrowsIllegalStateException0.11 secPassed
testGetState88 msPassed
testGetStateWithDescriptor0.1 secPassed
throwsUnsupportedOperationOnAttributeChanged87 msPassed
throwsUnsupportedOperationOnCalculateChanges90 msPassed
throwsUnsupportedOperationOnEvictAfterMerge86 msPassed
throwsUnsupportedOperationOnGetInstanceForMerge86 msPassed
throwsUnsupportedOperationOnHasChanges95 msPassed
throwsUnsupportedOperationOnIsFlushingChanges87 msPassed
throwsUnsupportedOperationOnIsObjectNew89 msPassed
throwsUnsupportedOperationOnMarkCloneForDeletion88 msPassed
throwsUnsupportedOperationOnMergeDetached89 msPassed
throwsUnsupportedOperationOnMergeDetachedInternal95 msPassed
throwsUnsupportedOperationOnPersistNewObjects87 msPassed
throwsUnsupportedOperationOnPreventCachingIfReferenceIsNotLoaded87 msPassed
throwsUnsupportedOperationOnProcessInferredValueChanges0.1 secPassed
throwsUnsupportedOperationOnRefreshObject90 msPassed
throwsUnsupportedOperationOnRegisterClone0.16 secPassed
throwsUnsupportedOperationOnRegisterNewObject88 msPassed
throwsUnsupportedOperationOnRegisterOriginalForNewClone89 msPassed
throwsUnsupportedOperationOnRemoveObject88 msPassed
throwsUnsupportedOperationOnRemoveObjectFromCache88 msPassed
throwsUnsupportedOperationOnRestoreRemovedObject91 msPassed
throwsUnsupportedOperationOnSetHasChanges89 msPassed
throwsUnsupportedOperationOnValidateIntegrityConstraints88 msPassed
throwsUnsupportedOperationOnWriteUncommitedChanges87 msPassed
unregisterObjectDoesNotRemoveObjectForNull89 msPassed
unregisterObjectRemovesObjectFromPersistenceContext91 msPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection90 msPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull93 msPassed
unregisterObjectUnregistersFromOntologyContext90 msPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.11 secPassed
unwrapReturnsItselfWhenClassMatches87 msPassed