New posts

This commit is contained in:
2026-11-06 21:43:57 +05:30
parent fd89649d8a
commit e8b069984a
62 changed files with 1780 additions and 0 deletions
@@ -0,0 +1,10 @@
ExceptionHandlerFixture (@ExtendWith(NetworkTimeoutHandler.class))
test passes
NetworkTimeoutHandler swallowed NetworkTimeoutException in remoteServiceTimesOut()
NetworkTimeoutHandler rethrowing AssertionFailedError in assertionStillFails()
NetworkTimeoutHandler rethrowing IllegalStateException in realBug()
-- results
passes() -> SUCCESSFUL
remoteServiceTimesOut() -> ABORTED (TestAbortedException: remote service unavailable: no answer from payments after 2000 ms)
assertionStillFails() -> FAILED (AssertionFailedError: expected: <4> but was: <5>)
realBug() -> FAILED (IllegalStateException: total is negative)