public abstract class AbstractCommonTestSuiteChunkerImpl extends java.lang.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 java.util.LinkedHashMap<java.lang.Integer,java.util.List<java.lang.Integer>> |
testAtDelegateMapper |
protected java.lang.Class<?>[] |
testClasses |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCommonTestSuiteChunkerImpl(java.lang.Class<?>... testClasses) |
protected |
AbstractCommonTestSuiteChunkerImpl(java.lang.Class<?> testClass) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
chunkClass(java.lang.Class<?> testClass) |
int |
getChunkSize()
Get the number of chunks defined in this suite.
|
protected org.powermock.tests.utils.impl.MockClassLoaderFactory |
getMockClassLoaderFactory(java.lang.Class<?> testClass,
java.lang.String[] preliminaryClassesToLoadByMockClassloader,
java.lang.String[] packagesToIgnore,
MockTransformer[] extraMockTransformers) |
TestChunk |
getTestChunk(java.lang.reflect.Method method)
Get TestChunk for the given method.
|
java.util.List<TestChunk> |
getTestChunks()
Get all chunk entries.
|
java.util.List<TestChunk> |
getTestChunksEntries(java.lang.Class<?> testClass)
Get all chunk entries for a specific class.
|
protected java.lang.Class<? extends java.lang.annotation.Annotation> |
testMethodAnnotation() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldExecuteTestForMethodprotected static final int DEFAULT_TEST_LISTENERS_SIZE
protected static final int NOT_INITIALIZED
protected static final int INTERNAL_INDEX_NOT_FOUND
protected final java.util.LinkedHashMap<java.lang.Integer,java.util.List<java.lang.Integer>> testAtDelegateMapper
protected final java.lang.Class<?>[] testClasses
protected AbstractCommonTestSuiteChunkerImpl(java.lang.Class<?> testClass)
throws java.lang.Exception
java.lang.Exceptionprotected AbstractCommonTestSuiteChunkerImpl(java.lang.Class<?>... testClasses)
throws java.lang.Exception
java.lang.Exceptionpublic int getChunkSize()
TestSuiteChunkergetChunkSize in interface TestSuiteChunkerpublic java.util.List<TestChunk> getTestChunks()
TestSuiteChunkergetTestChunks in interface TestSuiteChunkerpublic java.util.List<TestChunk> getTestChunksEntries(java.lang.Class<?> testClass)
TestSuiteChunkergetTestChunksEntries in interface TestSuiteChunkertestClass - The class whose chunk entries to get.public TestChunk getTestChunk(java.lang.reflect.Method method)
TestSuiteChunkergetTestChunk in interface TestSuiteChunkermethod - - method for which test chunk should be found.protected void chunkClass(java.lang.Class<?> testClass)
throws java.lang.Exception
java.lang.Exceptionprotected org.powermock.tests.utils.impl.MockClassLoaderFactory getMockClassLoaderFactory(java.lang.Class<?> testClass,
java.lang.String[] preliminaryClassesToLoadByMockClassloader,
java.lang.String[] packagesToIgnore,
MockTransformer[] extraMockTransformers)
protected java.lang.Class<? extends java.lang.annotation.Annotation> testMethodAnnotation()