Package org.powermock.tests.utils
Interface RunnerTestSuiteChunker
- All Superinterfaces:
TestSuiteChunker
- All Known Subinterfaces:
JUnit4TestSuiteChunker
- All Known Implementing Classes:
AbstractTestSuiteChunkerImpl
,JUnit4TestSuiteChunkerImpl
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
Modifier and TypeMethodDescriptionvoid
createTestDelegators
(Class<?> testClass, List<TestChunk> chunks) Create the test delegators needed for a whole class.int
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 Details
-
createTestDelegators
Create the test delegators needed for a whole class.- Throws:
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.
-