⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
junit.extensions

Class RepeatedTest

java.lang.Object
|
+--junit.framework.Assert
   |
   +--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)

String

toString()

Constructor Details

RepeatedTest

public RepeatedTest(Test test, int repeat)

Parameters:
test
repeat

Method Details

countTestCases

public int countTestCases()


run

public void run(TestResult result)

Parameters:
result

toString

public String toString()