Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
68 tests (±0)
Took 1.8 sec.

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext23 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject19 msPassed
getManagedOriginalForDifferentContextReturnsNull16 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull12 msPassed
getManagedOriginalReturnsManagedOriginalInstance29 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction31 msPassed
mergeDetachedEvictsInstanceFromCache19 msPassed
mergeRegistersChangesInUoWChangeSet19 msPassed
mergeReturnsInstanceWithReferencesWithOriginalValues20 msPassed
mergeReturnsInstanceWithUpdatedReferenceWhenItWasChangedInTheDetachedObject24 msPassed
readAlreadyManagedObjectReturnsTheManagedOne19 msPassed
registerReplacesAlsoInheritedCollectionInstancesWithIndirectVersions27 msPassed
releaseRemovesIndirectCollectionsFromManagedEntities80 msPassed
releaseRemovesUoWFromServerSessionsActivePersistenceContexts17 msPassed
revertObjectReference21 msPassed
rollbackDetachesAllManagedEntities28 msPassed
testAttributeChanged16 msPassed
testAttributeChangedNotRegistered17 msPassed
testAttributeChangedOutsideTransaction10 msPassed
testCalculateDeletedObjects20 msPassed
testCalculateModificationsDataProperty18 msPassed
testCalculateModificationsObjectProperty20 msPassed
testCalculateNewObjects25 msPassed
testClearCacheAfterCommit19 msPassed
testCommitFailed15 msPassed
testCommitInactive14 msPassed
testContains18 msPassed
testGetContexts15 msPassed
testGetOriginal22 msPassed
testGetOriginalNull14 msPassed
testGetState34 msPassed
testGetStateWithDescriptor17 msPassed
testIsConsistent20 msPassed
testIsObjectManaged17 msPassed
testIsObjectManagerNull15 msPassed
testIsObjectNew16 msPassed
testIsObjectNewWithNullAndManaged22 msPassed
testLoadFieldValue18 msPassed
testLoadFieldValueManagedType18 msPassed
testLoadFieldValueNotRegistered23 msPassed
testMergeDetachedExisting24 msPassed
testMergeDetachedNew14 msPassed
testReadObjectFromOntology11 msPassed
testReadObjectJustPersisted16 msPassed
testReadObjectNullClass14 msPassed
testReadObjectNullContext16 msPassed
testReadObjectNullPrimaryKey16 msPassed
testRegisterExistingObject16 msPassed
testRegisterExistingObjectTwice14 msPassed
testRegisterNewObject17 msPassed
testRegisterNewObjectNull19 msPassed
testRegisterNewObjectNullDescriptor16 msPassed
testRegisterNewObjectNullPkNotGenerated0.56 secPassed
testReleaseUnitOfWork16 msPassed
testRemoveNewObject15 msPassed
testRemoveObject16 msPassed
testRemoveObjectFromCache17 msPassed
testRemoveObjectNotRegistered23 msPassed
testRevertObject19 msPassed
testRollback17 msPassed
testRollbackInactive13 msPassed
testSwitchQueryProcessingOntology15 msPassed
testUnregisterObject23 msPassed
testUseTransactionalOntologyForQueryProcessing14 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit24 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit21 msPassed
unregisterObjectRemovesItFromCloneBuilderCache36 msPassed
unwrapReturnsItselfWhenClassMatches18 msPassed