protected class PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
extends org.junit.internal.runners.MethodRoadie
Modifier and Type | Field and Description |
---|---|
private boolean |
extendsFromTestCase |
private java.lang.Object |
testInstance |
protected org.junit.internal.runners.TestMethod |
testMethod |
Modifier | Constructor and Description |
---|---|
protected |
PowerMockJUnit44MethodRunner(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 |
---|---|
void |
executeTest(java.lang.reflect.Method method,
java.lang.Object testInstance,
java.lang.Runnable test) |
private java.lang.String |
getExpectedExceptionName(org.junit.internal.runners.TestMethod fTestMethod) |
protected void |
handleException(org.junit.internal.runners.TestMethod testMethod,
java.lang.Throwable actualFailure) |
private void |
handleInvocationTargetException(org.junit.internal.runners.TestMethod testMethod,
java.lang.reflect.InvocationTargetException e) |
void |
runBeforesThenTestThenAfters(java.lang.Runnable test) |
protected void |
runTestMethod() |
private final java.lang.Object testInstance
private final boolean extendsFromTestCase
protected final org.junit.internal.runners.TestMethod testMethod
protected PowerMockJUnit44MethodRunner(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 runBeforesThenTestThenAfters(java.lang.Runnable test)
runBeforesThenTestThenAfters
in class org.junit.internal.runners.MethodRoadie
public void executeTest(java.lang.reflect.Method method, java.lang.Object testInstance, java.lang.Runnable test)
protected void runTestMethod()
runTestMethod
in class org.junit.internal.runners.MethodRoadie
private void handleInvocationTargetException(org.junit.internal.runners.TestMethod testMethod, java.lang.reflect.InvocationTargetException e) throws java.lang.Exception
java.lang.Exception
protected void handleException(org.junit.internal.runners.TestMethod testMethod, java.lang.Throwable actualFailure)
private java.lang.String getExpectedExceptionName(org.junit.internal.runners.TestMethod fTestMethod) throws java.lang.Exception
java.lang.Exception