|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.extensions.TestDecorator | +--junit.extensions.RepeatedTest
A Decorator that runs a test repeatedly.
Field Summary |
Fields inherited from class junit.extensions.TestDecorator |
fTest |
Constructor Summary | |
RepeatedTest(Test test,
int repeat)
|
Method Summary | |
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. |
java.lang.String |
toString()
|
Methods inherited from class junit.extensions.TestDecorator |
basicRun, getTest |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RepeatedTest(Test test, int repeat)
Method Detail |
public int countTestCases()
Test
countTestCases
in interface Test
countTestCases
in class TestDecorator
public void run(TestResult result)
Test
run
in interface Test
run
in class TestDecorator
public java.lang.String toString()
toString
in class TestDecorator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |