Skip to content

Test Result : ReadOnlyUnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext88 msPassed
clearResetsCloneBuilder92 msPassed
commitInactiveUoWThrowsIllegalStateException0.1 secPassed
containsOriginalReturnsFalseForNotManagedEntity0.15 secPassed
containsOriginalReturnsTrueForManagedEntity87 msPassed
containsOriginalThrowsAssertionErrorForNullArgument0.1 secPassed
containsReturnsTrueForRegisteredExistingObject0.14 secPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject90 msPassed
getCloneForOriginalReturnsOriginal87 msPassed
getContextsRetrievesContextsFromStorage0.12 secPassed
getManagedOriginalForDifferentContextReturnsNull88 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull87 msPassed
getManagedOriginalReturnsManagedOriginalInstance89 msPassed
getManagedOriginalReturnsNullForUnmanagedObject91 msPassed
getManagedOriginalReturnsRegisteredObject87 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType88 msPassed
getOriginalReturnsOriginal90 msPassed
getOriginalReturnsOriginalRegisteredByReadObject0.11 secPassed
getOriginalWithNullArgumentReturnsNull0.1 secPassed
isConsistentCallsStorageConsistencyCheck95 msPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.11 secPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.11 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged88 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.1 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute0.11 secPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.11 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0.11 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject0.11 secPassed
isLoadedReturnsUnknownForUnregisteredObject0.1 secPassed
isObjectManagedReturnsFalseForNotManagedObject91 msPassed
isObjectManagedReturnsTrueForManagedObject89 msPassed
isObjectManagedReturnsTrueForRegisteredExistingObject88 msPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument89 msPassed
isObjectManagedTrowsNullPointerExceptionForNullArgument88 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded98 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException0.53 secPassed
loadEntityFieldRegistersEntityAttribute95 msPassed
loadFieldLoadsLiteralValueAttribute89 msPassed
loadFieldLoadsManagedTypeAttribute0.11 secPassed
readAlreadyManagedObjectReturnsTheManagedOne91 msPassed
readManagedObjectReturnsNullForUnmanagedObject89 msPassed
readManagedObjectReturnsRegisteredObject87 msPassed
readObjectFromAxiomsLoadsEntityFromSpecifiedAxiomsAndReturnsIt91 msPassed
readObjectInternalClonesCachedEntity93 msPassed
readObjectInternalRegistersUnmanagedObject87 msPassed
readObjectInternalReturnsManagedObject90 msPassed
readObjectInternalReturnsObject87 msPassed
readObjectInternalThrowsAssertionErrorOnNullParameter87 msPassed
readObjectLoadsObjectFromStorage89 msPassed
readObjectWithNullClassThrowsNullPointerException0.1 secPassed
readObjectWithNullDescriptorThrowsNullPointerException0.11 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException88 msPassed
registerExistingObjectClonesOriginal88 msPassed
registerExistingObjectInvokesPostCloneListeners0.19 secPassed
registerExistingObjectProcessesCollectionTypeField88 msPassed
registerExistingObjectProcessesImmutableTypeField0.16 secPassed
registerExistingObjectProcessesLazyLoadingEntityProxyAttribute94 msPassed
registerExistingObjectProcessesLazyLoadingListProxyAttribute94 msPassed
registerExistingObjectProcessesLazyLoadingSetProxyAttribute98 msPassed
registerExistingObjectProcessesNullAttribute88 msPassed
registerExistingObjectProcessesObjectPropertyField0.11 secPassed
registerExistingObjectRegistersClonedOriginal90 msPassed
registerExistingObjectRegistersEagerlyLoadedEntityField92 msPassed
registerExistingObjectRegistersObjectPropertyField88 msPassed
registerExistingObjectRegistersObjectsInCollectionField89 msPassed
registerExistingObjectRegistersUnmanagedObjectReturnsObject87 msPassed
registerExistingObjectReturnsAlreadyRegisteredObject87 msPassed
registerExistingObjectReturnsNullForNullObject87 msPassed
registerExistingObjectReturnsRegisteredClone89 msPassed
registerExistingObjectReturnsRegisteredObject87 msPassed
registerExistingObjectTwiceReturnsSameClone0.1 secPassed
registerExistingObjectWithCloningInvokesPostCloneListeners89 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive0.16 secPassed
rollbackDetachesAllManagedEntities89 msPassed
rollbackInactiveUoWThrowsIllegalStateException94 msPassed
testGetState89 msPassed
testGetStateWithDescriptor86 msPassed
throwsUnsupportedOperationOnAttributeChanged88 msPassed
throwsUnsupportedOperationOnCalculateChanges87 msPassed
throwsUnsupportedOperationOnEvictAfterMerge98 msPassed
throwsUnsupportedOperationOnGetInstanceForMerge89 msPassed
throwsUnsupportedOperationOnHasChanges90 msPassed
throwsUnsupportedOperationOnIsFlushingChanges90 msPassed
throwsUnsupportedOperationOnIsObjectNew86 msPassed
throwsUnsupportedOperationOnMarkCloneForDeletion87 msPassed
throwsUnsupportedOperationOnMergeDetached87 msPassed
throwsUnsupportedOperationOnMergeDetachedInternal87 msPassed
throwsUnsupportedOperationOnPersistNewObjects87 msPassed
throwsUnsupportedOperationOnPreventCachingIfReferenceIsNotLoaded86 msPassed
throwsUnsupportedOperationOnProcessInferredValueChanges87 msPassed
throwsUnsupportedOperationOnRefreshObject86 msPassed
throwsUnsupportedOperationOnRegisterClone0.15 secPassed
throwsUnsupportedOperationOnRegisterNewObject89 msPassed
throwsUnsupportedOperationOnRegisterOriginalForNewClone88 msPassed
throwsUnsupportedOperationOnRemoveObject92 msPassed
throwsUnsupportedOperationOnRemoveObjectFromCache88 msPassed
throwsUnsupportedOperationOnRestoreRemovedObject92 msPassed
throwsUnsupportedOperationOnSetHasChanges0.1 secPassed
throwsUnsupportedOperationOnValidateIntegrityConstraints87 msPassed
throwsUnsupportedOperationOnWriteUncommitedChanges87 msPassed
unregisterObjectDoesNotRemoveObjectForNull88 msPassed
unregisterObjectRemovesObjectFromPersistenceContext87 msPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.1 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull94 msPassed
unregisterObjectUnregistersFromOntologyContext87 msPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext94 msPassed
unwrapReturnsItselfWhenClassMatches89 msPassed