junit.extensions
Class RepeatedTest
java.lang.Object
|
+--junit.extensions.TestDecorator
|
+--junit.extensions.RepeatedTest
- public class RepeatedTest
- extends TestDecorator
A Decorator that runs a test repeatedly.
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
RepeatedTest
public RepeatedTest(Test test,
int repeat)
countTestCases
public int countTestCases()
- Overrides:
- countTestCases in class TestDecorator
run
public void run(TestResult result)
- Overrides:
- run in class TestDecorator
toString
public java.lang.String toString()
- Overrides:
- toString in class TestDecorator