File tree Expand file tree Collapse file tree
byte-buddy-dep/src/test/java/net/bytebuddy/build Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,12 +36,12 @@ public void testFailingFailFast() {
3636 Plugin .Engine .ErrorHandler .Failing .FAIL_FAST .onError (typeDescription , plugin , throwable );
3737 }
3838
39- @ Test (expected = UnsupportedOperationException .class )
39+ @ Test (expected = IllegalStateException .class )
4040 public void testFailingFailFastDoesNotSupportFailAfterType () {
4141 Plugin .Engine .ErrorHandler .Failing .FAIL_FAST .onError (typeDescription , Collections .singletonList (throwable ));
4242 }
4343
44- @ Test (expected = UnsupportedOperationException .class )
44+ @ Test (expected = IllegalStateException .class )
4545 public void testFailingFailFastDoesNotSupportFailLast () {
4646 Plugin .Engine .ErrorHandler .Failing .FAIL_FAST .onError (Collections .singletonMap (typeDescription , Collections .singletonList (throwable )));
4747 }
@@ -61,7 +61,7 @@ public void testFailingFailAfterType() {
6161 Plugin .Engine .ErrorHandler .Failing .FAIL_AFTER_TYPE .onError (typeDescription , Collections .singletonList (throwable ));
6262 }
6363
64- @ Test (expected = UnsupportedOperationException .class )
64+ @ Test (expected = IllegalStateException .class )
6565 public void testFailingFailAfterTypeDoesNotSupportFailLast () {
6666 Plugin .Engine .ErrorHandler .Failing .FAIL_AFTER_TYPE .onError (Collections .singletonMap (typeDescription , Collections .singletonList (throwable )));
6767 }
You can’t perform that action at this time.
0 commit comments