|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cactus.util.UniqueGenerator
Generates a quasi-unique id for a test case.
Constructor Summary | |
UniqueGenerator()
|
Method Summary | |
static java.lang.String |
generate(junit.framework.TestCase theTestCase)
Generates a unique identifier for a Cactus test. |
static java.lang.String |
generate(junit.framework.TestCase theTestCase,
long theTime)
Generates a unique identifier for a Cactus test. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UniqueGenerator()
Method Detail |
public static java.lang.String generate(junit.framework.TestCase theTestCase)
theTestCase
- The Test to generate a unique ID for
public static java.lang.String generate(junit.framework.TestCase theTestCase, long theTime)
theTestCase
- The Test to generate a unique ID fortheTime
- The time component to include in the generated ID
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |