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
Modifier and Type Method Description voidafter()voidhandleTestExecutionException(Throwable cause)Methods inherited from class org.junit.jupiter.migrationsupport.rules.adapter.AbstractTestRuleAdapter
executeMethod, executeMethodMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.junit.jupiter.migrationsupport.rules.adapter.GenericBeforeAndAfterAdvice
before
-
Constructor Details
-
ExpectedExceptionAdapter
-
-
Method Details
-
handleTestExecutionException
- Throws:
Throwable
-
after
public void after()
-