|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.jdemo.junit.Demo2TestConverter
public class Demo2TestConverter
Converts a demo (or demo suite) to a unit test. The test ensures that the demo can be run and cancelled without throwing an exception.
| Constructor Summary | |
|---|---|
Demo2TestConverter()
|
|
| Method Summary | |
|---|---|
static junit.framework.Test |
createTest(IDemo demo)
Creates a JUnit test from the given demo (democase or demosuite) using default timeout. |
static junit.framework.Test |
createTest(IDemo demo,
long timeOutMillis)
Creates a JUnit test from the given demo (democase or demosuite) using the specified timeout. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Demo2TestConverter()
| Method Detail |
|---|
public static junit.framework.Test createTest(IDemo demo)
createTest(IDemo, long)
public static junit.framework.Test createTest(IDemo demo,
long timeOutMillis)
createTest(IDemo)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||