protected class PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner extends PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
| Modifier and Type | Class and Description |
|---|---|
protected class |
PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner.LastRuleTestExecutorStatement |
testMethod| Modifier | Constructor and Description |
|---|---|
protected |
PowerMockJUnit47MethodRunner(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(Method method,
Object testInstance,
Field field,
PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner.LastRuleTestExecutorStatement lastStatement) |
void |
executeTest(Method method,
Object testInstance,
Runnable test) |
protected void |
handleException(org.junit.internal.runners.TestMethod testMethod,
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, runTestMethodprotected PowerMockJUnit47MethodRunner(Object testInstance, org.junit.internal.runners.TestMethod method, org.junit.runner.notification.RunNotifier notifier, org.junit.runner.Description description, boolean extendsFromTestCase)
public void executeTest(Method method, Object testInstance, Runnable test)
executeTest in class PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunnerprotected org.junit.runners.model.Statement applyRuleToLastStatement(Method method, Object testInstance, Field field, PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner.LastRuleTestExecutorStatement lastStatement) throws IllegalAccessException
IllegalAccessExceptionprotected void handleException(org.junit.internal.runners.TestMethod testMethod,
Throwable actualFailure)
handleException in class PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunnerCopyright © 2007–2015. All rights reserved.