Skip to content

Commit 743c259

Browse files
committed
Merge branch '2.19' into JooHyukKim-joohyukkim/2.19/547-jstep10-migrate-to-junit5-part-2
2 parents add9b17 + 744595e commit 743c259

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/test/java/com/fasterxml/jackson/dataformat/xml/testutil/failure/JacksonTestFailureExpectedInterceptor.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
import org.junit.jupiter.api.extension.*;
66

7+
/**
8+
* Custom {@link InvocationInterceptor} that intercepts test method invocation.
9+
* To pass the test ***only if*** test fails with an exception, and fail the test otherwise.
10+
*
11+
* @since 2.19
12+
*/
713
public class JacksonTestFailureExpectedInterceptor
814
implements InvocationInterceptor
915
{

src/test/java/com/fasterxml/jackson/dataformat/xml/testutil/failure/JacksonTestShouldFailException.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
*
88
* @since 2.19
99
*/
10-
1110
public class JacksonTestShouldFailException
1211
extends RuntimeException
1312
{

0 commit comments

Comments
 (0)