[MDSAL-698] Improve PingPongTransactionChain coverage Created: 17/Oct/21  Updated: 22/Jan/24

Status: Confirmed
Project: mdsal
Component/s: DOM runtime
Affects Version/s: None
Fix Version/s: 14.0.0, 13.0.1

Type: Improvement Priority: Low
Reporter: Robert Varga Assignee: Ivan Hrasko
Resolution: Unresolved Votes: 0
Labels: pick-next, pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Blocks
is blocked by MDSAL-756 PingPongTransactionChain's cancel() a... Resolved

 Description   

PingPongTransactionChain is a very complicated piece of machinery, which has only 21.5% coverage (and has the most uncovered lines of all of MD-SAL) because most of the time we are hitting happy paths.

We do not want to disturb its layout or implementation, but as Mockito has support for mocking final classes, we should be able to better control its testing, covering unhappy paths as well.


Generated at Wed Feb 07 20:10:37 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.