Skip to content

Test Result : ReadOnlyUnitOfWorkTest

0 failures
106 tests
Took 12 sec.

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext89 msPassed
clearResetsCloneBuilder91 msPassed
commitInactiveUoWThrowsIllegalStateException0.12 secPassed
containsOriginalReturnsFalseForNotManagedEntity93 msPassed
containsOriginalReturnsTrueForManagedEntity91 msPassed
containsOriginalThrowsAssertionErrorForNullArgument0.1 secPassed
containsReturnsTrueForRegisteredExistingObject0.11 secPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject94 msPassed
getCloneForOriginalReturnsOriginal88 msPassed
getContextsRetrievesContextsFromStorage99 msPassed
getManagedOriginalForDifferentContextReturnsNull0.29 secPassed
getManagedOriginalForUnknownIdentifierReturnsNull0.3 secPassed
getManagedOriginalReturnsManagedOriginalInstance0.1 secPassed
getManagedOriginalReturnsNullForUnmanagedObject89 msPassed
getManagedOriginalReturnsRegisteredObject87 msPassed
getManagedOriginalThrowsEntityExistsExceptionWhenIndividualIsManagedAsDifferentType89 msPassed
getOriginalReturnsOriginal88 msPassed
getOriginalReturnsOriginalRegisteredByReadObject0.1 secPassed
getOriginalWithNullArgumentReturnsNull92 msPassed
isConsistentCallsStorageConsistencyCheck0.11 secPassed
isInferredChecksForValueInferredStatusWithConnectionWrapper0.11 secPassed
isInferredLoadsAttributeWhenItIsLazyAndNotLoaded0.12 secPassed
isInferredThrowsIllegalArgumentExceptionWhenInstanceIsNotManaged91 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject0.11 secPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute0.12 secPassed
isLoadedByAttributeReturnsNotLoadedForNotLoadedLazilyLoadedAttribute0.11 secPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0.11 secPassed
isLoadedReturnsLoadedForRegisteredExistingObject0.11 secPassed
isLoadedReturnsUnknownForUnregisteredObject0.31 secPassed
isObjectManagedReturnsFalseForNotManagedObject86 msPassed
isObjectManagedReturnsTrueForManagedObject0.11 secPassed
isObjectManagedReturnsTrueForRegisteredExistingObject91 msPassed
isObjectManagedThrowsNullPointerExceptionForNullArgument90 msPassed
isObjectManagedTrowsNullPointerExceptionForNullArgument93 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded98 msPassed
loadEntityFieldOnUnmanagedObjectThrowsOwlPersistenceException0.56 secPassed
loadEntityFieldRegistersEntityAttribute0.18 secPassed
loadFieldLoadsLiteralValueAttribute0.3 secPassed
loadFieldLoadsManagedTypeAttribute0.4 secPassed
readAlreadyManagedObjectReturnsTheManagedOne89 msPassed
readManagedObjectReturnsNullForUnmanagedObject87 msPassed
readManagedObjectReturnsRegisteredObject89 msPassed
readObjectInternalClonesCachedEntity89 msPassed
readObjectInternalRegistersUnmanagedObject88 msPassed
readObjectInternalReturnsManagedObject87 msPassed
readObjectInternalReturnsObject87 msPassed
readObjectInternalThrowsAssertionErrorOnNullParameter89 msPassed
readObjectLoadsObjectFromStorage88 msPassed
readObjectWithNullClassThrowsNullPointerException0.16 secPassed
readObjectWithNullDescriptorThrowsNullPointerException0.12 secPassed
readObjectWithNullIdentifierArgumentThrowsNullPointerException87 msPassed
registerExistingObjectClonesOriginal88 msPassed
registerExistingObjectInvokesPostCloneListeners0.2 secPassed
registerExistingObjectProcessesCollectionTypeField89 msPassed
registerExistingObjectProcessesImmutableTypeField88 msPassed
registerExistingObjectProcessesLazyLoadingEntityProxyAttribute92 msPassed
registerExistingObjectProcessesLazyLoadingListProxyAttribute95 msPassed
registerExistingObjectProcessesLazyLoadingSetProxyAttribute95 msPassed
registerExistingObjectProcessesNullAttribute88 msPassed
registerExistingObjectProcessesObjectPropertyField0.1 secPassed
registerExistingObjectRegistersClonedOriginal89 msPassed
registerExistingObjectRegistersEagerlyLoadedEntityField90 msPassed
registerExistingObjectRegistersObjectPropertyField0.1 secPassed
registerExistingObjectRegistersObjectsInCollectionField93 msPassed
registerExistingObjectRegistersUnmanagedObjectReturnsObject0.1 secPassed
registerExistingObjectReturnsAlreadyRegisteredObject88 msPassed
registerExistingObjectReturnsNullForNullObject88 msPassed
registerExistingObjectReturnsRegisteredClone87 msPassed
registerExistingObjectReturnsRegisteredObject89 msPassed
registerExistingObjectTwiceReturnsSameClone0.11 secPassed
registerExistingObjectWithCloningInvokesPostCloneListeners90 msPassed
releaseUnitOfWorkClosesStorageAndMakesUoWInactive0.19 secPassed
rollbackDetachesAllManagedEntities0.1 secPassed
rollbackInactiveUoWThrowsIllegalStateException98 msPassed
testGetState93 msPassed
testGetStateWithDescriptor0.11 secPassed
throwsUnsupportedOperationOnAttributeChanged89 msPassed
throwsUnsupportedOperationOnCalculateChanges94 msPassed
throwsUnsupportedOperationOnEvictAfterMerge93 msPassed
throwsUnsupportedOperationOnGetInstanceForMerge0.14 secPassed
throwsUnsupportedOperationOnHasChanges89 msPassed
throwsUnsupportedOperationOnIsFlushingChanges0.1 secPassed
throwsUnsupportedOperationOnIsObjectNew89 msPassed
throwsUnsupportedOperationOnMarkCloneForDeletion88 msPassed
throwsUnsupportedOperationOnMergeDetached87 msPassed
throwsUnsupportedOperationOnMergeDetachedInternal87 msPassed
throwsUnsupportedOperationOnPersistNewObjects93 msPassed
throwsUnsupportedOperationOnPreventCachingIfReferenceIsNotLoaded89 msPassed
throwsUnsupportedOperationOnProcessInferredValueChanges0.1 secPassed
throwsUnsupportedOperationOnRefreshObject92 msPassed
throwsUnsupportedOperationOnRegisterClone0.13 secPassed
throwsUnsupportedOperationOnRegisterNewObject89 msPassed
throwsUnsupportedOperationOnRegisterOriginalForNewClone91 msPassed
throwsUnsupportedOperationOnRemoveObject89 msPassed
throwsUnsupportedOperationOnRemoveObjectFromCache93 msPassed
throwsUnsupportedOperationOnRestoreRemovedObject87 msPassed
throwsUnsupportedOperationOnSetHasChanges91 msPassed
throwsUnsupportedOperationOnValidateIntegrityConstraints0.1 secPassed
throwsUnsupportedOperationOnWriteUncommitedChanges90 msPassed
unregisterObjectDoesNotRemoveObjectForNull89 msPassed
unregisterObjectRemovesObjectFromPersistenceContext88 msPassed
unregisterObjectReplacesPluralLazyLoadingProxiesWithEmptyCollection0.44 secPassed
unregisterObjectReplacesSingularLazyLoadingProxiesWithNull0.1 secPassed
unregisterObjectUnregistersFromOntologyContext90 msPassed
unregisterRegisteredExistingObjectRemovesItFromPersistenceContext93 msPassed
unwrapReturnsItselfWhenClassMatches90 msPassed