For updates and more see jargs.sourceforge.net

jargs.test.gnu
Class CmdLineParserTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by jargs.test.gnu.CmdLineParserTestCase
All Implemented Interfaces:
junit.framework.Test

public class CmdLineParserTestCase
extends junit.framework.TestCase


Constructor Summary
CmdLineParserTestCase(java.lang.String name)
           
 
Method Summary
 void testBadFormat()
           
 void testCombinedFlags()
           
 void testDefaults()
           
 void testDetachedOption()
           
 void testExplictlyTerminatedOptions()
           
 void testGetOptionValues()
           
 void testLocale()
           
 void testMissingValueForStringOption()
           
 void testMultipleUses()
           
 void testResetBetweenParse()
           
 void testStandardOptions()
           
 void testWhitespaceValueForStringOption()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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
 

Constructor Detail

CmdLineParserTestCase

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

testStandardOptions

public void testStandardOptions()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testDefaults

public void testDefaults()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testMultipleUses

public void testMultipleUses()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testCombinedFlags

public void testCombinedFlags()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testExplictlyTerminatedOptions

public void testExplictlyTerminatedOptions()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testGetOptionValues

public void testGetOptionValues()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testBadFormat

public void testBadFormat()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testResetBetweenParse

public void testResetBetweenParse()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testLocale

public void testLocale()
                throws java.lang.Exception
Throws:
java.lang.Exception

testDetachedOption

public void testDetachedOption()
                        throws java.lang.Exception
Throws:
java.lang.Exception

testMissingValueForStringOption

public void testMissingValueForStringOption()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testWhitespaceValueForStringOption

public void testWhitespaceValueForStringOption()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

For updates and more see jargs.sourceforge.net

Copyright © 2001-2003 Steve Purcell. Copyright © 2002 Vidar Holen. Copyright © 2002 Michal Ceresna. Copyright © 2005 Ewan Mellor. Released under the terms of the BSD licence.