org.enhydra.barracuda.testbed
Class TestUtil
java.lang.Object
org.enhydra.barracuda.testbed.TestUtil
- public class TestUtil
- extends Object
This class just defines basic constants (BATCH_MODE, DEBUG_LEVEL)
and parses runtime parameters to set those constants.
Method Summary |
static String |
dateStringInDefaultLocaleShortForm(String theYear,
String theMonth,
String theDay)
|
static void |
parseParams(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(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 String dateStringInDefaultLocaleShortForm(String theYear,
String theMonth,
String theDay)
Copyright © 2003 BarracudaMVC.org All Rights Reserved.