Skip to content

Test Result : UnitOfWorkTest

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

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext33 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject13 msPassed
getManagedOriginalForDifferentContextReturnsNull13 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull12 msPassed
getManagedOriginalReturnsManagedOriginalInstance25 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction15 msPassed
mergeRegistersChangesInUoWChangeSet12 msPassed
readAlreadyManagedObjectReturnsTheManagedOne13 msPassed
revertObjectReference16 msPassed
testAttributeChanged27 msPassed
testAttributeChangedNotRegistered73 msPassed
testAttributeChangedOutsideTransaction0.34 secPassed
testCalculateDeletedObjects29 msPassed
testCalculateModificationsDataProperty15 msPassed
testCalculateModificationsObjectProperty25 msPassed
testCalculateNewObjects17 msPassed
testClearCacheAfterCommit25 msPassed
testCommitFailed18 msPassed
testCommitInactive26 msPassed
testContains30 msPassed
testGetContexts27 msPassed
testGetOriginal25 msPassed
testGetOriginalNull34 msPassed
testGetState61 msPassed
testGetStateWithDescriptor21 msPassed
testIsConsistent32 msPassed
testIsObjectManaged31 msPassed
testIsObjectManagerNull11 msPassed
testIsObjectNew13 msPassed
testIsObjectNewWithNullAndManaged75 msPassed
testLoadFieldValue14 msPassed
testLoadFieldValueManagedType38 msPassed
testLoadFieldValueNotRegistered61 msPassed
testMergeDetachedEvictFromCache21 msPassed
testMergeDetachedExisting40 msPassed
testMergeDetachedNew11 msPassed
testReadObjectFromCache17 msPassed
testReadObjectFromOntology23 msPassed
testReadObjectJustPersisted12 msPassed
testReadObjectNullClass10 msPassed
testReadObjectNullContext24 msPassed
testReadObjectNullPrimaryKey12 msPassed
testRegisterExistingObject13 msPassed
testRegisterExistingObjectTwice12 msPassed
testRegisterNewObject30 msPassed
testRegisterNewObjectNull74 msPassed
testRegisterNewObjectNullDescriptor14 msPassed
testRegisterNewObjectNullPkNotGenerated17 msPassed
testReleaseUnitOfWork25 msPassed
testRemoveNewObject16 msPassed
testRemoveObject12 msPassed
testRemoveObjectFromCache25 msPassed
testRemoveObjectNotRegistered41 msPassed
testRevertObject17 msPassed
testRollback13 msPassed
testRollbackInactive13 msPassed
testSwitchQueryProcessingOntology12 msPassed
testUnregisterObject14 msPassed
testUseTransactionalOntologyForQueryProcessing27 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit13 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit15 msPassed
unwrapReturnsItselfWhenClassMatches10 msPassed