com.bristle.javalib.util
Class MapUtil.Tester

java.lang.Object
  extended by com.bristle.javalib.util.MapUtil.Tester
Enclosing class:
MapUtil

public static class MapUtil.Tester
extends Object

Each class contains a Tester inner class with a main() for easier unit testing. To call main from the command line, use:

   java class$Tester
where "class" is the name of the outer class.


Constructor Summary
MapUtil.Tester()
           
 
Method Summary
private static void doTest(Object[] arr, Map map, String strValid)
           
private static void doTest(Object[] arrKeys, Object[] arrVals, Map map, String strValid)
           
private static void doTest(String strOut, String strValid)
           
private static void doTestException(Object[] arrKeys, Object[] arrVals, Exception eValid)
           
static void main(String[] args)
          Main testing method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapUtil.Tester

public MapUtil.Tester()
Method Detail

doTest

private static void doTest(String strOut,
                           String strValid)

doTest

private static void doTest(Object[] arr,
                           Map map,
                           String strValid)

doTest

private static void doTest(Object[] arrKeys,
                           Object[] arrVals,
                           Map map,
                           String strValid)

doTestException

private static void doTestException(Object[] arrKeys,
                                    Object[] arrVals,
                                    Exception eValid)

main

public static void main(String[] args)
Main testing method.

Parameters:
args - Array of command line argument strings