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 JUnit4TestSuiteChunker
suiteChunker
-
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 void
filter(org.junit.runner.manipulation.Filter filter)
org.junit.runner.Description
getDescription()
void
run(org.junit.runner.notification.RunNotifier notifier)
void
sort(org.junit.runner.manipulation.Sorter sorter)
int
testCount()
-
-
-
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:
getDescription
in interfaceorg.junit.runner.Describable
- Specified by:
getDescription
in classorg.junit.runner.Runner
-
run
public void run(org.junit.runner.notification.RunNotifier notifier)
- Specified by:
run
in classorg.junit.runner.Runner
-
testCount
public int testCount()
- Overrides:
testCount
in classorg.junit.runner.Runner
-
filter
public void filter(org.junit.runner.manipulation.Filter filter) throws org.junit.runner.manipulation.NoTestsRemainException
- Specified by:
filter
in interfaceorg.junit.runner.manipulation.Filterable
- Throws:
org.junit.runner.manipulation.NoTestsRemainException
-
sort
public void sort(org.junit.runner.manipulation.Sorter sorter)
- Specified by:
sort
in interfaceorg.junit.runner.manipulation.Sortable
-
-