Skip to content

Test Result : ReadOnlyUnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext0.18 secPassed
clearResetsCloneBuilder0.28 secPassed
commitInactiveUoWThrowsIllegalStateException0.16 secPassed
containsOriginalReturnsFalseForNotManagedEntity0.24 secPassed
containsOriginalReturnsTrueForManagedEntity94 msPassed
containsOriginalThrowsAssertionErrorForNullArgument93 msPassed
containsReturnsTrueForRegisteredExistingObject0.16 secPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject0.28 secPassed
getCloneForOriginalReturnsOriginal94 msPassed
getContextsRetrievesContextsFromStorage0.24 secPassed
getManagedOriginalForDifferentContextReturnsNull0.15 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull0.15 secPassed
getManagedOriginalReturnsManagedOriginalInstance98 msPassed
getManagedOriginalReturnsNullForUnmanagedObject0.12 secPassed
getManagedOriginalReturnsRegisteredObject97 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType0.2 secPassed
getOriginalReturnsOriginal0.1 secPassed
getOriginalReturnsOriginalRegisteredByReadObject94 msPassed
getOriginalWithNullArgumentReturnsNull0.22 secPassed
isConsistentCallsStorageConsistencyCheck0.15 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.28 secPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.34 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged0.19 secPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.17 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute0.19 secPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.18 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0.19 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject0.19 secPassed
isLoadedReturnsUnknownForUnregisteredObject0.16 secPassed
isObjectManagedReturnsFalseForNotManagedObject0.15 secPassed
isObjectManagedReturnsTrueForManagedObject97 msPassed
isObjectManagedReturnsTrueForRegisteredExistingObject0.22 secPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument0.2 secPassed
isObjectManagedTrowsNullPointerExceptionForNullArgument0.16 secPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded0.25 secPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException0.72 secPassed
loadEntityFieldRegistersEntityAttribute0.1 secPassed
loadFieldLoadsLiteralValueAttribute0.15 secPassed
loadFieldLoadsManagedTypeAttribute0.16 secPassed
readAlreadyManagedObjectReturnsTheManagedOne0.23 secPassed
readManagedObjectReturnsNullForUnmanagedObject0.11 secPassed
readManagedObjectReturnsRegisteredObject95 msPassed
readObjectInternalClonesCachedEntity0.15 secPassed
readObjectInternalRegistersUnmanagedObject92 msPassed
readObjectInternalReturnsManagedObject0.15 secPassed
readObjectInternalReturnsObject93 msPassed
readObjectInternalThrowsAssertionErrorOnNullParameter95 msPassed
readObjectLoadsObjectFromStorage0.18 secPassed
readObjectWithNullClassThrowsNullPointerException0.18 secPassed
readObjectWithNullDescriptorThrowsNullPointerException0.19 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException0.25 secPassed
registerExistingObjectClonesOriginal0.26 secPassed
registerExistingObjectInvokesPostCloneListeners0.2 secPassed
registerExistingObjectProcessesCollectionTypeField0.12 secPassed
registerExistingObjectProcessesImmutableTypeField93 msPassed
registerExistingObjectProcessesLazyLoadingEntityProxyAttribute0.1 secPassed
registerExistingObjectProcessesLazyLoadingListProxyAttribute0.11 secPassed
registerExistingObjectProcessesLazyLoadingSetProxyAttribute0.14 secPassed
registerExistingObjectProcessesNullAttribute92 msPassed
registerExistingObjectProcessesObjectPropertyField94 msPassed
registerExistingObjectRegistersClonedOriginal94 msPassed
registerExistingObjectRegistersEagerlyLoadedEntityField0.16 secPassed
registerExistingObjectRegistersObjectPropertyField0.11 secPassed
registerExistingObjectRegistersObjectsInCollectionField0.18 secPassed
registerExistingObjectRegistersUnmanagedObjectReturnsObject0.11 secPassed
registerExistingObjectReturnsAlreadyRegisteredObject0.18 secPassed
registerExistingObjectReturnsNullForNullObject0.12 secPassed
registerExistingObjectReturnsRegisteredClone0.23 secPassed
registerExistingObjectReturnsRegisteredObject92 msPassed
registerExistingObjectTwiceReturnsSameClone0.25 secPassed
registerExistingObjectWithCloningInvokesPostCloneListeners0.18 secPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive0.29 secPassed
rollbackDetachesAllManagedEntities99 msPassed
rollbackInactiveUoWThrowsIllegalStateException0.27 secPassed
testGetState0.18 secPassed
testGetStateWithDescriptor92 msPassed
throwsUnsupportedOperationOnAttributeChanged0.12 secPassed
throwsUnsupportedOperationOnCalculateChanges92 msPassed
throwsUnsupportedOperationOnEvictAfterMerge0.18 secPassed
throwsUnsupportedOperationOnGetInstanceForMerge0.11 secPassed
throwsUnsupportedOperationOnHasChanges93 msPassed
throwsUnsupportedOperationOnIsFlushingChanges98 msPassed
throwsUnsupportedOperationOnIsObjectNew92 msPassed
throwsUnsupportedOperationOnMarkCloneForDeletion92 msPassed
throwsUnsupportedOperationOnMergeDetached0.18 secPassed
throwsUnsupportedOperationOnMergeDetachedInternal94 msPassed
throwsUnsupportedOperationOnPersistNewObjects93 msPassed
throwsUnsupportedOperationOnPreventCachingIfReferenceIsNotLoaded94 msPassed
throwsUnsupportedOperationOnProcessInferredValueChanges92 msPassed
throwsUnsupportedOperationOnRefreshObject93 msPassed
throwsUnsupportedOperationOnRegisterClone0.12 secPassed
throwsUnsupportedOperationOnRegisterNewObject0.11 secPassed
throwsUnsupportedOperationOnRegisterOriginalForNewClone98 msPassed
throwsUnsupportedOperationOnRemoveObject0.13 secPassed
throwsUnsupportedOperationOnRemoveObjectFromCache0.11 secPassed
throwsUnsupportedOperationOnRestoreRemovedObject0.1 secPassed
throwsUnsupportedOperationOnSetHasChanges92 msPassed
throwsUnsupportedOperationOnValidateIntegrityConstraints96 msPassed
throwsUnsupportedOperationOnWriteUncommitedChanges97 msPassed
unregisterObjectDoesNotRemoveObjectForNull93 msPassed
unregisterObjectRemovesObjectFromPersistenceContext0.18 secPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.15 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.2 secPassed
unregisterObjectUnregistersFromOntologyContext98 msPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext0.24 secPassed
unwrapReturnsItselfWhenClassMatches0.21 secPassed