protected class PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner extends PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
testMethod
Modifier | Constructor and Description |
---|---|
protected |
PowerMockJUnit47MethodRunner(java.lang.Object testInstance,
org.junit.internal.runners.TestMethod method,
org.junit.runner.notification.RunNotifier notifier,
org.junit.runner.Description description,
boolean extendsFromTestCase) |
Modifier and Type | Method and Description |
---|---|
protected org.junit.runners.model.Statement |
applyRuleToLastStatement(java.lang.reflect.Method method,
java.lang.Object testInstance,
java.lang.reflect.Field field,
org.junit.runners.model.Statement lastStatement) |
void |
executeTest(java.lang.reflect.Method method,
java.lang.Object testInstance,
java.lang.Runnable test) |
protected void |
handleException(org.junit.internal.runners.TestMethod testMethod,
java.lang.Throwable actualFailure)
Since a JUnit 4.7 rule may potentially deal with "unexpected"
exceptions we cannot handle the exception before the rule has been
completely evaluated.
|
runBeforesThenTestThenAfters, runTestMethod
protected PowerMockJUnit47MethodRunner(java.lang.Object testInstance, org.junit.internal.runners.TestMethod method, org.junit.runner.notification.RunNotifier notifier, org.junit.runner.Description description, boolean extendsFromTestCase)
public void executeTest(java.lang.reflect.Method method, java.lang.Object testInstance, java.lang.Runnable test)
executeTest
in class PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
protected org.junit.runners.model.Statement applyRuleToLastStatement(java.lang.reflect.Method method, java.lang.Object testInstance, java.lang.reflect.Field field, org.junit.runners.model.Statement lastStatement) throws java.lang.IllegalAccessException
java.lang.IllegalAccessException
protected void handleException(org.junit.internal.runners.TestMethod testMethod, java.lang.Throwable actualFailure)
handleException
in class PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner