org.barracudamvc.testbed
Class TestUtil

java.lang.Object
  extended by org.barracudamvc.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.


Field Summary
static boolean BATCH_MODE
           
static int DEBUG_LEVEL
           
 
Constructor Summary
TestUtil()
           
 
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
 

Field Detail

BATCH_MODE

public static boolean BATCH_MODE

DEBUG_LEVEL

public static int DEBUG_LEVEL
Constructor Detail

TestUtil

public TestUtil()
Method Detail

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 © 2006 BarracudaMVC.org All Rights Reserved.