New posts
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user