Skip to content

Test Result : UnitOfWorkTest

0 failures (±0)
63 tests (+1)
Took 1.3 sec.

All Tests

Test nameDurationStatus
clearCleansUpPersistenceContext23 msPassed
findOfObjectAlreadyManagedAsLazilyLoadedValueReturnSameObject14 msPassed
getManagedOriginalForDifferentContextReturnsNull17 msPassed
getManagedOriginalForUnknownIdentifierReturnsNull16 msPassed
getManagedOriginalReturnsManagedOriginalInstance19 msPassed
icValidationPassesOnCommitWhenConstraintsAreViolatedAndThenFixedDuringTransaction14 msPassed
mergeRegistersChangesInUoWChangeSet18 msPassed
readAlreadyManagedObjectReturnsTheManagedOne12 msPassed
revertObjectReference34 msPassed
testAttributeChanged17 msPassed
testAttributeChangedNotRegistered22 msPassed
testAttributeChangedOutsideTransaction18 msPassed
testCalculateDeletedObjects23 msPassed
testCalculateModificationsDataProperty18 msPassed
testCalculateModificationsObjectProperty19 msPassed
testCalculateNewObjects22 msPassed
testClearCacheAfterCommit19 msPassed
testCommitFailed25 msPassed
testCommitInactive20 msPassed
testContains17 msPassed
testGetContexts15 msPassed
testGetOriginal18 msPassed
testGetOriginalNull17 msPassed
testGetState18 msPassed
testGetStateWithDescriptor17 msPassed
testIsConsistent19 msPassed
testIsObjectManaged17 msPassed
testIsObjectManagerNull16 msPassed
testIsObjectNew17 msPassed
testIsObjectNewWithNullAndManaged18 msPassed
testLoadFieldValue18 msPassed
testLoadFieldValueManagedType19 msPassed
testLoadFieldValueNotRegistered18 msPassed
testMergeDetachedEvictFromCache16 msPassed
testMergeDetachedExisting20 msPassed
testMergeDetachedNew13 msPassed
testReadObjectFromCache18 msPassed
testReadObjectFromOntology17 msPassed
testReadObjectJustPersisted12 msPassed
testReadObjectNullClass14 msPassed
testReadObjectNullContext16 msPassed
testReadObjectNullPrimaryKey16 msPassed
testRegisterExistingObject26 msPassed
testRegisterExistingObjectTwice13 msPassed
testRegisterNewObject18 msPassed
testRegisterNewObjectAlreadyExists17 msPassed
testRegisterNewObjectNull90 msPassed
testRegisterNewObjectNullDescriptor12 msPassed
testRegisterNewObjectNullPkNotGenerated13 msPassed
testReleaseUnitOfWork16 msPassed
testRemoveNewObject12 msPassed
testRemoveObject17 msPassed
testRemoveObjectFromCache19 msPassed
testRemoveObjectNotRegistered15 msPassed
testRevertObject13 msPassed
testRollback0.23 secPassed
testRollbackInactive15 msPassed
testSwitchQueryProcessingOntology19 msPassed
testUnregisterObject12 msPassed
testUseTransactionalOntologyForQueryProcessing18 msPassed
throwsCardinalityViolationExceptionWhenMinimumCardinalityIsViolatedOnCommit17 msPassed
throwsCardinalityViolationWhenMaximumCardinalityIsViolatedOnCommit21 msPassed
unwrapReturnsItselfWhenClassMatches13 msPassed