On Sat, Jul 16, 2022 at 10:49:50PM +0200, Daniel Sahlberg wrote:
> dev@: I would prefer to commit this in two separate commits, first the test
> cases and second the fix. But I could not find any way to "XFail" the test
> case.

You can use junit's Ignore annotation.

[[[
import org.junit.Ignore;
...
    @Ignore
    public void testNativeException() throws Throwable
]]]

You can include a reason, too, if needed -- @Ignore("...").  There's no
XFail, that I know of, but this will at least prevent it from running.

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB

Reply via email to