Merge branch '5.3.x'

This commit is contained in:
Sam Brannen
2022-03-02 17:29:26 +01:00

View File

@@ -34,7 +34,7 @@ import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException
* @author Sam Brannen * @author Sam Brannen
* @since 09.04.2003 * @since 09.04.2003
*/ */
class RollbackRuleTests { class RollbackRuleAttributeTests {
@Test @Test
void constructorArgumentMustBeThrowableClassWithNonThrowableType() { void constructorArgumentMustBeThrowableClassWithNonThrowableType() {
@@ -106,11 +106,13 @@ class RollbackRuleTests {
} }
} }
@SuppressWarnings("serial")
static class MyException extends RuntimeException { static class MyException extends RuntimeException {
} }
// Name intentionally starts with MyException (including package) but does // Name intentionally starts with MyException (including package) but does
// NOT extend MyException. // NOT extend MyException.
@SuppressWarnings("serial")
static class MyException2 extends RuntimeException { static class MyException2 extends RuntimeException {
} }