|
22 | 22 | import static org.junit.jupiter.api.Assertions.assertThrows; |
23 | 23 | import static org.junit.jupiter.api.Assumptions.assumeFalse; |
24 | 24 |
|
25 | | -import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; |
26 | 25 | import java.math.BigDecimal; |
27 | 26 | import java.net.URI; |
28 | 27 | import java.nio.charset.StandardCharsets; |
@@ -91,7 +90,6 @@ void shouldNotThrowPreparingValidSchema(final String shortName, final Implementa |
91 | 90 | // Then: did not throw. |
92 | 91 | } |
93 | 92 |
|
94 | | - @SuppressFBWarnings("RV_EXCEPTION_NOT_THROWN") |
95 | 93 | @ParameterizedTest(name = "{0}") |
96 | 94 | @MethodSource("implementations") |
97 | 95 | void shouldThrowValidatingInvalidJson(final String shortName, final Implementation impl) { |
@@ -131,7 +129,6 @@ void shouldNotThrowValidatingValidJson(final String shortName, final Implementat |
131 | 129 | // Then: did not throw. |
132 | 130 | } |
133 | 131 |
|
134 | | - @SuppressFBWarnings("RV_EXCEPTION_NOT_THROWN") |
135 | 132 | @ParameterizedTest(name = "{0}") |
136 | 133 | @MethodSource("implementations") |
137 | 134 | void shouldHandleRemoteSchemas(final String shortName, final Implementation impl) { |
@@ -168,7 +165,6 @@ void shouldRoundTrip(final String shortName, final Implementation impl) { |
168 | 165 | assertThat(result, is(ModelState.TEST_MODEL)); |
169 | 166 | } |
170 | 167 |
|
171 | | - @SuppressFBWarnings("RV_EXCEPTION_NOT_THROWN") |
172 | 168 | @ParameterizedTest(name = "{0}") |
173 | 169 | @MethodSource("implementations") |
174 | 170 | void shouldValidateOnSerialize(final String shortName, final Implementation impl) { |
@@ -197,7 +193,6 @@ void shouldNotValidateOnSerialize(final String shortName, final Implementation i |
197 | 193 | // Then: did not throw. |
198 | 194 | } |
199 | 195 |
|
200 | | - @SuppressFBWarnings("RV_EXCEPTION_NOT_THROWN") |
201 | 196 | @ParameterizedTest(name = "{0}") |
202 | 197 | @MethodSource("implementations") |
203 | 198 | void shouldValidateOnDeserialize(final String shortName, final Implementation impl) { |
|
0 commit comments