|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.TestSuite
org.powermock.modules.junit3.PowerMockSuite
public class PowerMockSuite
A custom JUnit 3 Suite that must be used to run PowerMock tests under JUnit3.
| Constructor Summary | |
|---|---|
PowerMockSuite(Class<? extends junit.framework.TestCase>... testCases)
|
|
PowerMockSuite(String name,
Class<? extends junit.framework.TestCase>... testCases)
|
|
| Method Summary | |
|---|---|
void |
addTest(junit.framework.Test test)
|
void |
addTestSuite(Class 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)
|
int |
testCount()
|
Enumeration |
tests()
|
| Methods inherited from class junit.framework.TestSuite |
|---|
createTest, getName, getTestConstructor, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PowerMockSuite(String name,
Class<? extends junit.framework.TestCase>... testCases)
throws Exception
Exception
public PowerMockSuite(Class<? extends junit.framework.TestCase>... testCases)
throws Exception
Exception| Method Detail |
|---|
public void run(junit.framework.TestResult result)
run in interface junit.framework.Testrun in class junit.framework.TestSuitepublic void addTest(junit.framework.Test test)
addTest in class junit.framework.TestSuite
public void runTest(junit.framework.Test test,
junit.framework.TestResult result)
runTest in class junit.framework.TestSuitepublic void addTestSuite(Class testClass)
addTestSuite in class junit.framework.TestSuitepublic junit.framework.Test testAt(int index)
testAt in class junit.framework.TestSuitepublic int testCount()
testCount in class junit.framework.TestSuitepublic Enumeration tests()
tests in class junit.framework.TestSuitepublic int countTestCases()
countTestCases in interface junit.framework.TestcountTestCases in class junit.framework.TestSuite
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||