[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: |
|
||||||||
| 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. |