public class

RepeatedTest

extends TestDecorator
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.extensions.TestDecorator
       ↳ junit.extensions.RepeatedTest

Class Overview

A Decorator that runs a test repeatedly.

Summary

[Expand]
Inherited Fields
From class junit.extensions.TestDecorator
Public Constructors
RepeatedTest(Test test, int repeat)
Public Methods
int countTestCases()
Counts the number of test cases that will be run by this test.
void run(TestResult result)
Runs a test and collects its result in a TestResult instance.
String toString()
[Expand]
Inherited Methods
From class junit.extensions.TestDecorator
From class junit.framework.Assert
From class java.lang.Object
From interface junit.framework.Test

Public Constructors

public RepeatedTest (Test test, int repeat)

Public Methods

public int countTestCases ()

Counts the number of test cases that will be run by this test.

public void run (TestResult result)

Runs a test and collects its result in a TestResult instance.

public String toString ()