Package org.powermock.tests.utils
Interface RunnerTestSuiteChunker
-
- All Superinterfaces:
TestSuiteChunker
- All Known Subinterfaces:
JUnit4TestSuiteChunker
- All Known Implementing Classes:
AbstractTestSuiteChunkerImpl
,JUnit4TestSuiteChunkerImpl
public interface RunnerTestSuiteChunker extends TestSuiteChunker
An interface that should be implemented by classes that performs test suite chunking. Test suite chunking may be performed because certain classes may need to be byte-code manipulated in tests without impacting on other tests.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
createTestDelegators(java.lang.Class<?> testClass, java.util.List<TestChunk> chunks)
Create the test delegators needed for a whole class.int
getTestCount()
Get the number of total tests defined in the suite (the sum of all tests defined in all chunks for this suite).-
Methods inherited from interface org.powermock.tests.utils.TestSuiteChunker
getChunkSize, getTestChunk, getTestChunks, getTestChunksEntries, shouldExecuteTestForMethod
-
-
-
-
Method Detail
-
createTestDelegators
void createTestDelegators(java.lang.Class<?> testClass, java.util.List<TestChunk> chunks) throws java.lang.Exception
Create the test delegators needed for a whole class.- Throws:
java.lang.Exception
-
getTestCount
int getTestCount()
Get the number of total tests defined in the suite (the sum of all tests defined in all chunks for this suite).- Returns:
- The number of tests in this suite.
-
-