Class PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner

java.lang.Object
org.junit.internal.runners.MethodRoadie
org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner
Direct Known Subclasses:
PowerMockJUnit47RunnerDelegateImpl.PowerMockJUnit47MethodRunner
Enclosing class:
PowerMockJUnit44RunnerDelegateImpl

protected class PowerMockJUnit44RunnerDelegateImpl.PowerMockJUnit44MethodRunner extends org.junit.internal.runners.MethodRoadie
  • Field Details

    • testInstance

      private final Object testInstance
    • extendsFromTestCase

      private final boolean extendsFromTestCase
    • testMethod

      protected final org.junit.internal.runners.TestMethod testMethod
  • Constructor Details

    • PowerMockJUnit44MethodRunner

      protected PowerMockJUnit44MethodRunner(Object testInstance, org.junit.internal.runners.TestMethod method, org.junit.runner.notification.RunNotifier notifier, org.junit.runner.Description description, boolean extendsFromTestCase)
  • Method Details

    • runBeforesThenTestThenAfters

      public void runBeforesThenTestThenAfters(Runnable test)
      Overrides:
      runBeforesThenTestThenAfters in class org.junit.internal.runners.MethodRoadie
    • executeTest

      public void executeTest(Method method, Object testInstance, Runnable test)
    • runTestMethod

      protected void runTestMethod()
      Overrides:
      runTestMethod in class org.junit.internal.runners.MethodRoadie
    • handleInvocationTargetException

      private void handleInvocationTargetException(org.junit.internal.runners.TestMethod testMethod, InvocationTargetException e) throws Exception
      Throws:
      Exception
    • handleException

      protected void handleException(org.junit.internal.runners.TestMethod testMethod, Throwable actualFailure)
    • getExpectedExceptionName

      private String getExpectedExceptionName(org.junit.internal.runners.TestMethod fTestMethod) throws Exception
      Throws:
      Exception