org.globus.cog.gridshell.getopt.test
Class GetOptTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.globus.cog.gridshell.getopt.test.GetOptTest
All Implemented Interfaces:
junit.framework.Test

public class GetOptTest
extends junit.framework.TestCase

JUnit test of org.globus.cog.gridface.impl.gridshell.getopt.app.GetOptImpl


Constructor Summary
GetOptTest()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testArg()
           
 void testDefaultValidators()
           
 void testDynamicOptions()
          Dynamic options must be a flag, this is used when needing to get a command name so that we can get the options
 void testEnvVar()
           
 void testEscapedVar()
           
 void testNullEnvVar()
           
 void testOption()
           
 void testOptions()
           
 void testParseArgument()
           
 void testRequired()
           
 void testStrictAndTwice()
           
 void testUndefinedVar()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetOptTest

public GetOptTest()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Throws:
Exception

testOption

public void testOption()

testArg

public void testArg()

testDefaultValidators

public void testDefaultValidators()
                           throws Exception
Throws:
Exception

testStrictAndTwice

public void testStrictAndTwice()

testParseArgument

public void testParseArgument()

testOptions

public void testOptions()

testRequired

public void testRequired()

testEnvVar

public void testEnvVar()

testNullEnvVar

public void testNullEnvVar()

testEscapedVar

public void testEscapedVar()

testUndefinedVar

public void testUndefinedVar()

testDynamicOptions

public void testDynamicOptions()
Dynamic options must be a flag, this is used when needing to get a command name so that we can get the options