public class JUnit4TestSuiteChunkerImpl extends org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl<PowerMockJUnitRunnerDelegate> implements JUnit4TestSuiteChunker, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable
| Constructor and Description |
|---|
JUnit4TestSuiteChunkerImpl(java.lang.Class<?> testClass,
java.lang.Class<? extends PowerMockJUnitRunnerDelegate> runnerDelegateImplementationType) |
| Modifier and Type | Method and Description |
|---|---|
protected PowerMockJUnitRunnerDelegate |
createDelegatorFromClassloader(java.lang.ClassLoader classLoader,
java.lang.Class<?> testClass,
java.util.List<java.lang.reflect.Method> methodsToTest) |
void |
filter(org.junit.runner.manipulation.Filter filter) |
org.junit.runner.Description |
getDescription() |
int |
getTestCount() |
void |
run(org.junit.runner.notification.RunNotifier notifier) |
boolean |
shouldExecuteTestForMethod(java.lang.Class<?> testClass,
java.lang.reflect.Method potentialTestMethod) |
void |
sort(org.junit.runner.manipulation.Sorter sorter) |
protected java.lang.Class<? extends java.lang.annotation.Annotation> |
testMethodAnnotation() |
createTestDelegators, getDelegatorIndex, getFrameworkReporterFactory, getInternalTestIndex, getPowerMockTestListenersLoadedByASpecificClassLoader, getTestClasseschunkClass, getChunkSize, getMockClassLoaderFactory, getTestChunk, getTestChunks, getTestChunksEntriesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic JUnit4TestSuiteChunkerImpl(java.lang.Class<?> testClass,
java.lang.Class<? extends PowerMockJUnitRunnerDelegate> runnerDelegateImplementationType)
throws java.lang.Exception
java.lang.Exceptionpublic void run(org.junit.runner.notification.RunNotifier notifier)
run in interface JUnit4TestSuiteChunkerpublic boolean shouldExecuteTestForMethod(java.lang.Class<?> testClass,
java.lang.reflect.Method potentialTestMethod)
shouldExecuteTestForMethod in interface org.powermock.tests.utils.TestSuiteChunkerprotected java.lang.Class<? extends java.lang.annotation.Annotation> testMethodAnnotation()
testMethodAnnotation in class org.powermock.tests.utils.impl.AbstractCommonTestSuiteChunkerImplprotected PowerMockJUnitRunnerDelegate createDelegatorFromClassloader(java.lang.ClassLoader classLoader, java.lang.Class<?> testClass, java.util.List<java.lang.reflect.Method> methodsToTest) throws java.lang.Exception
createDelegatorFromClassloader in class org.powermock.tests.utils.impl.AbstractTestSuiteChunkerImpl<PowerMockJUnitRunnerDelegate>java.lang.Exceptionpublic int getTestCount()
getTestCount in interface org.powermock.tests.utils.RunnerTestSuiteChunkerpublic org.junit.runner.Description getDescription()
getDescription in interface JUnit4TestSuiteChunkerpublic void filter(org.junit.runner.manipulation.Filter filter)
throws org.junit.runner.manipulation.NoTestsRemainException
filter in interface org.junit.runner.manipulation.Filterableorg.junit.runner.manipulation.NoTestsRemainExceptionpublic void sort(org.junit.runner.manipulation.Sorter sorter)
sort in interface org.junit.runner.manipulation.Sortable