org.powermock.modules.junit3.internal.impl
Class PowerMockJUnit3RunnerDelegateImpl
java.lang.Object
junit.framework.TestSuite
org.powermock.modules.junit3.internal.impl.PowerMockJUnit3RunnerDelegateImpl
- All Implemented Interfaces:
- junit.framework.Test, PowerMockJUnit3RunnerDelegate
public class PowerMockJUnit3RunnerDelegateImpl
- extends junit.framework.TestSuite
- implements PowerMockJUnit3RunnerDelegate
Methods inherited from class junit.framework.TestSuite |
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, runTest, setName, testAt, testCount, tests |
PowerMockJUnit3RunnerDelegateImpl
public PowerMockJUnit3RunnerDelegateImpl(Class<?> theClass,
Method[] methodsToRun,
String name,
PowerMockTestListener[] powerListeners)
PowerMockJUnit3RunnerDelegateImpl
public PowerMockJUnit3RunnerDelegateImpl(Class<?> theClass,
Method[] methodsToRun,
PowerMockTestListener[] powerMockTestListeners)
- Constructs a TestSuite from the given class. Adds all the methods
starting with "test" as test cases to the suite. Parts of this method was
cut'n'pasted on the train between Malm� and Stockholm.
getTestClass
public Class<?> getTestClass()
- Specified by:
getTestClass
in interface PowerMockJUnit3RunnerDelegate
run
public void run(junit.framework.TestResult result)
- Specified by:
run
in interface junit.framework.Test
- Specified by:
run
in interface PowerMockJUnit3RunnerDelegate
- Overrides:
run
in class junit.framework.TestSuite
warning
public static junit.framework.Test warning(String message)
- Returns a test which will fail and log a warning message.
toString
public String toString()
- Overrides:
toString
in class junit.framework.TestSuite
Copyright © 2007-2012. All Rights Reserved.