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.


Constructor Summary
RepeatedTest(Test test, int repeat)
           
 
Method Summary
 int countTestCases()
           
 void run(TestResult result)
           
 java.lang.String toString()
           
 
Methods inherited from class junit.extensions.TestDecorator
basicRun
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepeatedTest

public RepeatedTest(Test test,
                    int repeat)
Method Detail

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