Class AbstractCommonPowerMockRunner
- java.lang.Object
-
- org.junit.runner.Runner
-
- org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner
-
- All Implemented Interfaces:
org.junit.runner.Describable,org.junit.runner.manipulation.Filterable,org.junit.runner.manipulation.Sortable
- Direct Known Subclasses:
PowerMockRunner
public abstract class AbstractCommonPowerMockRunner extends org.junit.runner.Runner implements org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable
-
-
Field Summary
Fields Modifier and Type Field Description private JUnit4TestSuiteChunkersuiteChunker
-
Constructor Summary
Constructors Constructor Description AbstractCommonPowerMockRunner(java.lang.Class<?> klass, java.lang.Class<? extends PowerMockJUnitRunnerDelegate> runnerDelegateImplClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfilter(org.junit.runner.manipulation.Filter filter)org.junit.runner.DescriptiongetDescription()voidrun(org.junit.runner.notification.RunNotifier notifier)voidsort(org.junit.runner.manipulation.Sorter sorter)inttestCount()
-
-
-
Field Detail
-
suiteChunker
private JUnit4TestSuiteChunker suiteChunker
-
-
Constructor Detail
-
AbstractCommonPowerMockRunner
public AbstractCommonPowerMockRunner(java.lang.Class<?> klass, java.lang.Class<? extends PowerMockJUnitRunnerDelegate> runnerDelegateImplClass) throws java.lang.Exception- Throws:
java.lang.Exception
-
-
Method Detail
-
getDescription
public org.junit.runner.Description getDescription()
- Specified by:
getDescriptionin interfaceorg.junit.runner.Describable- Specified by:
getDescriptionin classorg.junit.runner.Runner
-
run
public void run(org.junit.runner.notification.RunNotifier notifier)
- Specified by:
runin classorg.junit.runner.Runner
-
testCount
public int testCount()
- Overrides:
testCountin classorg.junit.runner.Runner
-
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
-
sort
public void sort(org.junit.runner.manipulation.Sorter sorter)
- Specified by:
sortin interfaceorg.junit.runner.manipulation.Sortable
-
-