Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
90 tests (+12)
Took 1.1 sec.

All Tests

Test nameDurationStatus
attributeChangedSetsAttributeLoadStatusToLoaded9 msPassed
clearCleansUpPersistenceContext9 msPassed
clearResetsCloneBuilder8 msPassed
commitDetachesPersistedInstance8 msPassed
commitEvictsInferredClassesFromCache14 msPassed
commitPutsIntoCacheInstanceMergedAsDetachedDuringTransaction34 msPassed
commitReplacesIndirectCollectionsWithRegularOnesInDetachedInstances8 msPassed
detachReplacesInheritedIndirectCollectionWithRegularOne8 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject17 msPassed
getManagedOriginalForDifferentContextReturnsNull11 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull8 msPassed
getManagedOriginalReturnsManagedOriginalInstance15 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction11 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfNewlyRegisteredInstance11 msPassed
isLoadedByAttributeReturnsLoadedForAttributesOfRegisteredExistingObject8 msPassed
isLoadedByAttributeReturnsLoadedForNonNullValuedLazilyLoadedAttribute11 msPassed
isLoadedByAttributeReturnsUnknownForAttributeOfUnregisteredObject0 msPassed
isLoadedByAttributeReturnsUnknownForNullValuedLazilyLoadedAttribute7 msPassed
isLoadedReturnsLoadedForNewlyRegisteredInstance6 msPassed
isLoadedReturnsLoadedForRegisteredExistingObject11 msPassed
isLoadedReturnsUnknownForUnregisteredObject21 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoaded15 msPassed
loadEntityFieldCausesLoadStateOfLazilyLoadedAttributeToBeSetToLoadedEvenIfValueIsNull41 msPassed
loadEntityFieldDoesNotInvokeLoadFromRepositoryForNullAttributeWhenItsStateIsLoaded14 msPassed
loadFieldLoadsLiteralValueAttribute19 msPassed
loadFieldLoadsManagedTypeAttribute3 msPassed
readAlreadyManagedObjectReturnsTheManagedOne6 msPassed
refreshAcquiresNewConnectionToGetAccessToNonTransactionalEntityState24 msPassed
refreshCancelsObjectChangesInUnitOfWorkChangeSet13 msPassed
refreshLoadsInstanceFromRepositoryAndOverwritesFieldChanges42 msPassed
refreshOverwritesChangesSentToRepository14 msPassed
refreshOverwritesObjectPropertyChanges14 msPassed
refreshSetsUpdatesCloneMapppingForRefreshedInstance13 msPassed
refreshThrowsEntityNotFoundForNonExistentEntity12 msPassed
refreshThrowsIllegalArgumentForNonManagedInstance18 msPassed
refreshThrowsIllegalArgumentForRemovedInstance7 msPassed
registerExistingObjectInvokesPostCloneListeners6 msPassed
registerExistingObjectPassesPostCloneListenersToCloneBuilder12 msPassed
registerNewObjectThrowsIdentifierNotSetExceptionWhenIdentifierIsNullAndNotGenerated10 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions8 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities7 msPassed
removeObjectPutsExistingObjectIntoDeletedCacheAndRemovesItFromRepository8 msPassed
restoreDeletedRegistersObjectAgain5 msPassed
restoreDeletedReinsertsObjectIntoRepository7 msPassed
rollbackDetachesAllManagedEntities14 msPassed
testAttributeChanged11 msPassed
testAttributeChangedNotRegistered11 msPassed
testAttributeChangedOutsideTransaction11 msPassed
testCalculateDeletedObjects9 msPassed
testCalculateModificationsDataProperty7 msPassed
testCalculateModificationsObjectProperty10 msPassed
testCalculateNewObjects29 msPassed
testClearCacheAfterCommit8 msPassed
testCommitFailed11 msPassed
testCommitInactive8 msPassed
testContains12 msPassed
testGetContexts7 msPassed
testGetOriginal8 msPassed
testGetOriginalNull7 msPassed
testGetState12 msPassed
testGetStateWithDescriptor7 msPassed
testIsConsistent11 msPassed
testIsObjectManaged7 msPassed
testIsObjectManagerNull0 msPassed
testIsObjectNew13 msPassed
testIsObjectNewWithNullAndManaged7 msPassed
testLoadFieldValueNotRegistered8 msPassed
testReadObjectFromOntology8 msPassed
testReadObjectJustPersisted7 msPassed
testReadObjectNullClass5 msPassed
testReadObjectNullContext11 msPassed
testReadObjectNullPrimaryKey12 msPassed
testRegisterExistingObject11 msPassed
testRegisterExistingObjectTwice12 msPassed
testRegisterNewObject11 msPassed
testRegisterNewObjectNull6 msPassed
testRegisterNewObjectNullDescriptor6 msPassed
testReleaseUnitOfWork6 msPassed
testRemoveNewObject6 msPassed
testRemoveObjectFromCache7 msPassed
testRemoveObjectNotRegistered6 msPassed
testRollback8 msPassed
testRollbackInactive7 msPassed
testSwitchQueryProcessingOntology0.13 secPassed
testUnregisterObject6 msPassed
testUseTransactionalOntologyForQueryProcessing8 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit14 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit15 msPassed
unregisterObjectRemovesItFromCloneBuilderCache7 msPassed
unwrapReturnsItselfWhenClassMatches10 msPassed