jimm.datavision.test
Class GetoptsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by jimm.datavision.test.GetoptsTest
All Implemented Interfaces:
junit.framework.Test

public class GetoptsTest
extends junit.framework.TestCase


Field Summary
protected  java.lang.String[] args
           
protected static java.lang.String[] DEFAULT_ARGS_LIST
           
protected  Getopts g
           
 
Constructor Summary
GetoptsTest(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void setUp()
           
static junit.framework.Test suite()
           
 void testDefaultValues()
           
 void testIllegalArg()
           
 void testRemainingArgs()
           
 void testSimpleCommandLine()
           
 void testSimpleOptions()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_ARGS_LIST

protected static final java.lang.String[] DEFAULT_ARGS_LIST

args

protected java.lang.String[] args

g

protected Getopts g
Constructor Detail

GetoptsTest

public GetoptsTest(java.lang.String name)
Method Detail

suite

public static junit.framework.Test suite()

setUp

public void setUp()
Overrides:
setUp in class junit.framework.TestCase

testSimpleOptions

public void testSimpleOptions()

testIllegalArg

public void testIllegalArg()

testDefaultValues

public void testDefaultValues()

testRemainingArgs

public void testRemainingArgs()

testSimpleCommandLine

public void testSimpleCommandLine()

main

public static void main(java.lang.String[] args)