public interface TestSuiteChunker
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.
|
boolean |
shouldExecuteTestForMethod(java.lang.Class<?> testClass,
java.lang.reflect.Method potentialTestMethod)
Should reflect whether or not this method is eligible for testing.
|
int getChunkSize()
java.util.List<TestChunk> getTestChunks()
java.util.List<TestChunk> getTestChunksEntries(java.lang.Class<?> testClass)
testClass
- The class whose chunk entries to get.TestChunk getTestChunk(java.lang.reflect.Method method)
method
- - method for which test chunk should be found.boolean shouldExecuteTestForMethod(java.lang.Class<?> testClass, java.lang.reflect.Method potentialTestMethod)
testClass
- The class that defines the method.potentialTestMethod
- The method to inspect whether it should be executed in the
test suite or not.true
if the method is a test method and should be
executed, false
otherwise.