public abstract class AbstractCommonTestSuiteChunkerImpl extends java.lang.Object implements TestSuiteChunker
Modifier and Type | Field and Description |
---|---|
protected static int |
NOT_INITIALIZED |
Modifier | Constructor and Description |
---|---|
protected |
AbstractCommonTestSuiteChunkerImpl(java.lang.Class<?> testClass) |
Modifier and Type | Method and Description |
---|---|
int |
getChunkSize()
Get the number of chunks defined in this suite.
|
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, wait
shouldExecuteTestForMethod
protected static final int NOT_INITIALIZED
protected AbstractCommonTestSuiteChunkerImpl(java.lang.Class<?> testClass) throws java.lang.Exception
java.lang.Exception
public int getChunkSize()
TestSuiteChunker
getChunkSize
in interface TestSuiteChunker
public java.util.List<TestChunk> getTestChunks()
TestSuiteChunker
getTestChunks
in interface TestSuiteChunker
public java.util.List<TestChunk> getTestChunksEntries(java.lang.Class<?> testClass)
TestSuiteChunker
getTestChunksEntries
in interface TestSuiteChunker
testClass
- The class whose chunk entries to get.public TestChunk getTestChunk(java.lang.reflect.Method method)
TestSuiteChunker
getTestChunk
in interface TestSuiteChunker
method
- - method for which test chunk should be found.protected java.lang.Class<? extends java.lang.annotation.Annotation> testMethodAnnotation()