public class JUnit4TestSuiteChunkerImpl extends AbstractTestSuiteChunkerImpl<PowerMockJUnitRunnerDelegate> implements JUnit4TestSuiteChunker, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable
delegates, delegatesCreatedForTheseClasses, testCountDEFAULT_TEST_LISTENERS_SIZE, INTERNAL_INDEX_NOT_FOUND, NOT_INITIALIZED, testAtDelegateMapper, testClasses| Constructor and Description |
|---|
JUnit4TestSuiteChunkerImpl(Class<?> testClass,
Class<? extends PowerMockJUnitRunnerDelegate> runnerDelegateImplementationType) |
| Modifier and Type | Method and Description |
|---|---|
protected PowerMockJUnitRunnerDelegate |
createDelegatorFromClassloader(ClassLoader classLoader,
Class<?> testClass,
List<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(Class<?> testClass,
Method potentialTestMethod) |
void |
sort(org.junit.runner.manipulation.Sorter sorter) |
protected Class<? extends Annotation> |
testMethodAnnotation() |
createTestDelegators, getDelegatorIndex, getFrameworkReporterFactory, getInternalTestIndex, getPowerMockTestListenersLoadedByASpecificClassLoader, getTestClasseschunkClass, getChunkSize, getMockClassLoaderFactory, getTestChunk, getTestChunks, getTestChunksEntriesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateTestDelegatorsgetChunkSize, getTestChunk, getTestChunks, getTestChunksEntriespublic JUnit4TestSuiteChunkerImpl(Class<?> testClass, Class<? extends PowerMockJUnitRunnerDelegate> runnerDelegateImplementationType) throws Exception
Exceptionpublic void run(org.junit.runner.notification.RunNotifier notifier)
run in interface JUnit4TestSuiteChunkerpublic boolean shouldExecuteTestForMethod(Class<?> testClass, Method potentialTestMethod)
shouldExecuteTestForMethod in interface TestSuiteChunkerprotected Class<? extends Annotation> testMethodAnnotation()
testMethodAnnotation in class AbstractCommonTestSuiteChunkerImplprotected PowerMockJUnitRunnerDelegate createDelegatorFromClassloader(ClassLoader classLoader, Class<?> testClass, List<Method> methodsToTest) throws Exception
createDelegatorFromClassloader in class AbstractTestSuiteChunkerImpl<PowerMockJUnitRunnerDelegate>Exceptionpublic int getTestCount()
getTestCount in interface 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.SortableCopyright © 2007–2016. All rights reserved.