private class JUnitTestRunner.ExpectedExceptionHolder
extends org.junit.runner.notification.RunListener
Modifier and Type | Field and Description |
---|---|
private java.lang.Throwable |
exception |
Modifier | Constructor and Description |
---|---|
private |
ExpectedExceptionHolder() |
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getException() |
void |
testAssumptionFailure(org.junit.runner.notification.Failure failure) |
void |
testFailure(org.junit.runner.notification.Failure failure) |
void |
testFinished(org.junit.runner.Description description) |
public java.lang.Throwable getException()
public void testAssumptionFailure(org.junit.runner.notification.Failure failure)
testAssumptionFailure
in class org.junit.runner.notification.RunListener
public void testFailure(org.junit.runner.notification.Failure failure) throws java.lang.Exception
testFailure
in class org.junit.runner.notification.RunListener
java.lang.Exception
public void testFinished(org.junit.runner.Description description) throws java.lang.Exception
testFinished
in class org.junit.runner.notification.RunListener
java.lang.Exception