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
Methods inherited from interface org.powermock.tests.utils.TestSuiteChunker |
createNewClassloader, createTestDelegators, getChunkSize, getTestChunks, getTestChunksEntries, getTestCount, shouldExecuteTestForMethod |
addTestClassToSuite
void addTestClassToSuite(Class<?> clazz)
throws 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:
Exception
- If something unexpected goes wrong.
run
void run(junit.framework.TestResult result)
addTest
void addTest(junit.framework.Test test)
throws Exception
- Throws:
Exception
runTest
void runTest(junit.framework.Test test,
junit.framework.TestResult result)
addTestSuite
void addTestSuite(Class<? extends junit.framework.TestCase> testClass)
throws Exception
- Throws:
Exception
testAt
junit.framework.Test testAt(int index)
countTestCases
int countTestCases()
tests
Enumeration<?> tests()
Copyright © 2007-2012. All Rights Reserved.