org.enhydra.barracuda.testbed
Class TestUtil
java.lang.Object
|
+--org.enhydra.barracuda.testbed.TestUtil
- public class TestUtil
- extends java.lang.Object
This class just defines basic constants (BATCH_MODE, DEBUG_LEVEL)
and parses runtime parameters to set those constants.
Method Summary |
static java.lang.String |
dateStringInDefaultLocaleShortForm(java.lang.String theYear,
java.lang.String theMonth,
java.lang.String theDay)
|
static void |
parseParams(java.lang.String[] args)
This utility method is used to parse an argument string
to automatically adjust any global paramters
Known paramters:
---------------
batch - (opt) run the test in batch mode (as opposed to interactive Swing mode,
which is the default)
debug_level - (opt) an int value which determines whether debug msgs show |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BATCH_MODE
public static boolean BATCH_MODE
DEBUG_LEVEL
public static int DEBUG_LEVEL
TestUtil
public TestUtil()
parseParams
public static void parseParams(java.lang.String[] args)
- This utility method is used to parse an argument string
to automatically adjust any global paramters
Known paramters:
---------------
batch - (opt) run the test in batch mode (as opposed to interactive Swing mode,
which is the default)
debug_level - (opt) an int value which determines whether debug msgs show
dateStringInDefaultLocaleShortForm
public static java.lang.String dateStringInDefaultLocaleShortForm(java.lang.String theYear,
java.lang.String theMonth,
java.lang.String theDay)
Copyright © 2001 Enhydra.org