Class DelegatingPowerMockRunner
- java.lang.Object
-
- org.junit.runner.Runner
-
- org.powermock.modules.junit4.internal.impl.DelegatingPowerMockRunner
-
- All Implemented Interfaces:
org.junit.runner.Describable,org.junit.runner.manipulation.Filterable,PowerMockJUnitRunnerDelegate
public class DelegatingPowerMockRunner extends org.junit.runner.Runner implements PowerMockJUnitRunnerDelegate, org.junit.runner.manipulation.Filterable
-
-
Constructor Summary
Constructors Constructor Description DelegatingPowerMockRunner(Class<?> klass)DelegatingPowerMockRunner(Class<?> klass, String[] methodsToRun)DelegatingPowerMockRunner(Class<?> klass, String[] methodsToRun, PowerMockTestListener[] listeners)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfilter(org.junit.runner.manipulation.Filter filter)org.junit.runner.DescriptiongetDescription()Class<?>getTestClass()intgetTestCount()voidrun(org.junit.runner.notification.RunNotifier notifier)
-
-
-
Constructor Detail
-
DelegatingPowerMockRunner
public DelegatingPowerMockRunner(Class<?> klass) throws Throwable
- Throws:
Throwable
-
DelegatingPowerMockRunner
public DelegatingPowerMockRunner(Class<?> klass, String[] methodsToRun) throws Throwable
- Throws:
Throwable
-
DelegatingPowerMockRunner
public DelegatingPowerMockRunner(Class<?> klass, String[] methodsToRun, PowerMockTestListener[] listeners) throws Exception
- Throws:
Exception
-
-
Method Detail
-
run
public void run(org.junit.runner.notification.RunNotifier notifier)
- Specified by:
runin interfacePowerMockJUnitRunnerDelegate- Specified by:
runin classorg.junit.runner.Runner
-
getDescription
public org.junit.runner.Description getDescription()
- Specified by:
getDescriptionin interfaceorg.junit.runner.Describable- Specified by:
getDescriptionin interfacePowerMockJUnitRunnerDelegate- Specified by:
getDescriptionin classorg.junit.runner.Runner
-
getTestCount
public int getTestCount()
- Specified by:
getTestCountin interfacePowerMockJUnitRunnerDelegate
-
getTestClass
public Class<?> getTestClass()
- Specified by:
getTestClassin interfacePowerMockJUnitRunnerDelegate
-
filter
public void filter(org.junit.runner.manipulation.Filter filter) throws org.junit.runner.manipulation.NoTestsRemainException- Specified by:
filterin interfaceorg.junit.runner.manipulation.Filterable- Throws:
org.junit.runner.manipulation.NoTestsRemainException
-
-