|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.extensions.TestDecorator | +--junit.extensions.ActiveTest
A Decorator that runs a test in a separate thread.
Fields inherited from class junit.extensions.TestDecorator |
fTest |
Constructor Summary | |
ActiveTest(junit.framework.Test test)
Creates active test with default multiplier (1). |
|
ActiveTest(junit.framework.Test test,
int multiplier)
Creates active test with default multiplier (1). |
Method Summary | |
void |
run(junit.framework.TestResult testResult)
|
java.lang.String |
toString()
|
Methods inherited from class junit.extensions.TestDecorator |
basicRun, countTestCases, 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 ActiveTest(junit.framework.Test test)
test
- Target test.public ActiveTest(junit.framework.Test test, int multiplier)
test
- Target test.multiplier
- Stress level.Method Detail |
public void run(junit.framework.TestResult testResult)
run
in class TestDecorator
public java.lang.String toString()
toString
in class TestDecorator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |