public abstract class AbstractCommonTestSuiteChunkerImpl extends Object implements TestSuiteChunker
Modifier and Type | Field and Description |
---|---|
protected static int |
DEFAULT_TEST_LISTENERS_SIZE |
protected static int |
INTERNAL_INDEX_NOT_FOUND |
protected static int |
NOT_INITIALIZED |
protected LinkedHashMap<Integer,List<Integer>> |
testAtDelegateMapper |
protected Class<?>[] |
testClasses |
Modifier | Constructor and Description |
---|---|
protected |
AbstractCommonTestSuiteChunkerImpl(Class<?>... testClasses) |
protected |
AbstractCommonTestSuiteChunkerImpl(Class<?> testClass) |
Modifier and Type | Method and Description |
---|---|
protected void |
chunkClass(Class<?> testClass) |
int |
getChunkSize()
Get the number of chunks defined in this suite.
|
protected org.powermock.tests.utils.impl.MockClassLoaderFactory |
getMockClassLoaderFactory(Class<?> testClass,
String[] preliminaryClassesToLoadByMockClassloader,
String[] packagesToIgnore,
MockTransformer[] extraMockTransformers) |
TestChunk |
getTestChunk(Method method)
Get TestChunk for the given method.
|
List<TestChunk> |
getTestChunks()
Get all chunk entries.
|
List<TestChunk> |
getTestChunksEntries(Class<?> testClass)
Get all chunk entries for a specific class.
|
protected void |
registerProxyframework(ClassLoader classLoader) |
protected Class<? extends Annotation> |
testMethodAnnotation() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldExecuteTestForMethod
protected static final int DEFAULT_TEST_LISTENERS_SIZE
protected static final int NOT_INITIALIZED
protected static final int INTERNAL_INDEX_NOT_FOUND
protected final LinkedHashMap<Integer,List<Integer>> testAtDelegateMapper
protected final Class<?>[] testClasses
protected AbstractCommonTestSuiteChunkerImpl(Class<?> testClass) throws Exception
Exception
public int getChunkSize()
TestSuiteChunker
getChunkSize
in interface TestSuiteChunker
public List<TestChunk> getTestChunks()
TestSuiteChunker
getTestChunks
in interface TestSuiteChunker
public List<TestChunk> getTestChunksEntries(Class<?> testClass)
getTestChunksEntries
in interface TestSuiteChunker
testClass
- The class whose chunk entries to get.public TestChunk getTestChunk(Method method)
TestSuiteChunker
getTestChunk
in interface TestSuiteChunker
method
- - method for which test chunk should be found.protected void registerProxyframework(ClassLoader classLoader)
protected org.powermock.tests.utils.impl.MockClassLoaderFactory getMockClassLoaderFactory(Class<?> testClass, String[] preliminaryClassesToLoadByMockClassloader, String[] packagesToIgnore, MockTransformer[] extraMockTransformers)
protected Class<? extends Annotation> testMethodAnnotation()
Copyright © 2007–2016. All rights reserved.