Class ExpectedExceptionAdapter
- java.lang.Object
-
- org.junit.jupiter.migrationsupport.rules.adapter.AbstractTestRuleAdapter
-
- org.junit.jupiter.migrationsupport.rules.adapter.ExpectedExceptionAdapter
-
- All Implemented Interfaces:
GenericBeforeAndAfterAdvice
@API(status=INTERNAL, since="5.0") public class ExpectedExceptionAdapter extends AbstractTestRuleAdapter
- Since:
- 5.0
-
-
Constructor Summary
Constructors Constructor Description ExpectedExceptionAdapter(TestRuleAnnotatedMember annotatedMember)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
after()
void
handleTestExecutionException(Throwable cause)
-
Methods inherited from class org.junit.jupiter.migrationsupport.rules.adapter.AbstractTestRuleAdapter
executeMethod, executeMethod
-
Methods inherited from interface org.junit.jupiter.migrationsupport.rules.adapter.GenericBeforeAndAfterAdvice
before
-
-
-
-
Constructor Detail
-
ExpectedExceptionAdapter
public ExpectedExceptionAdapter(TestRuleAnnotatedMember annotatedMember)
-
-