TestParser (JSAP: the Java Simple Argument Parser)
Keywords: com.martiansoftware.jsap.TestParser class

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.martiansoftware.jsap
Class TestParser

    java.lang.Object
      junit.framework.Assert
          junit.framework.TestCase
              com.martiansoftware.jsap.TestParser

All Implemented Interfaces:
  junit.framework.Test

    public class TestParser

extends junit.framework.TestCase

Tests the Parser class.

Author:
  Marty Lamb

Constructor Summary
`TestParser()`

Method Summary
`static junit.framework.Test` | `suite()` Returns a suite of tests defined by this class.
`void` | `testMultipleDeclarations()` Tests the ability to parse when allowMultipleDeclarations is set to true.
`void` | `testParser()` Tests the parser with both a String and an Integer option.

Methods inherited from class junit.framework.TestCase
`countTestCases, getName, run, run, runBare, setName, 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
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### TestParser

    public TestParser()

Method Detail

### suite

    public static junit.framework.Test suite()

  Returns a suite of tests defined by this class.

  Returns:
    a suite of tests defined by this class.

### testMultipleDeclarations

    public void testMultipleDeclarations()

  Tests the ability to parse when allowMultipleDeclarations is set to true.

### testParser

    public void testParser()

  Tests the parser with both a String and an Integer option.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002-2005, Martian Software, Inc.. All Rights Reserved.
For the latest version and documentation, please visit http://www.martiansoftware.com/jsap