org.powermock.modules.junit3.internal
Interface JUnit3TestSuiteChunker
- All Superinterfaces:
- org.powermock.tests.utils.TestSuiteChunker
- All Known Implementing Classes:
- JUnit3TestSuiteChunkerImpl
public interface JUnit3TestSuiteChunker
- extends org.powermock.tests.utils.TestSuiteChunker
|
Method Summary |
void |
addTest(junit.framework.Test test)
|
void |
addTestClassToSuite(java.lang.Class<?> clazz)
Add a class to the test suite. |
void |
addTestSuite(java.lang.Class<? extends junit.framework.TestCase> testClass)
|
int |
countTestCases()
|
void |
run(junit.framework.TestResult result)
|
void |
runTest(junit.framework.Test test,
junit.framework.TestResult result)
|
junit.framework.Test |
testAt(int index)
|
java.util.Enumeration<?> |
tests()
|
| Methods inherited from interface org.powermock.tests.utils.TestSuiteChunker |
createNewClassloader, createTestDelegators, getChunkSize, getTestChunks, getTestChunksEntries, getTestCount, shouldExecuteTestForMethod |
addTestClassToSuite
void addTestClassToSuite(java.lang.Class<?> clazz)
throws java.lang.Exception
- Add a class to the test suite. Methods in this class will be checked
according to
TestSuiteChunker.shouldExecuteTestForMethod(Class, Method) to see if
it should be executed.
- Parameters:
clazz - The class that should contain test cases.
- Throws:
java.lang.Exception - If something unexpected goes wrong.
run
void run(junit.framework.TestResult result)
addTest
void addTest(junit.framework.Test test)
throws java.lang.Exception
- Throws:
java.lang.Exception
runTest
void runTest(junit.framework.Test test,
junit.framework.TestResult result)
addTestSuite
void addTestSuite(java.lang.Class<? extends junit.framework.TestCase> testClass)
throws java.lang.Exception
- Throws:
java.lang.Exception
testAt
junit.framework.Test testAt(int index)
countTestCases
int countTestCases()
tests
java.util.Enumeration<?> tests()
Copyright © 2007-2012. All Rights Reserved.