Package groovy.junit6.plugin
Class ExpectedToFailContext
java.lang.Object
groovy.junit6.plugin.ExpectedToFailContext
Delegate for closure predicates supplied to
ExpectedToFail, exposing
the thrown exception under three convenient names: ex (the
Throwable itself), message (its message), and cause
(its cause, possibly null).- Since:
- 6.0.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ExpectedToFailContext
-
-
Method Details
-
getEx
-
getMessage
-
getCause
-