universe.tests.common
Class CommandLineTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--universe.tests.common.CommandLineTest
All Implemented Interfaces:
junit.framework.Test

public class CommandLineTest
extends junit.framework.TestCase

Tests the functionality of the CommandLine class.

Version:
$Id: CommandLineTest.java,v 1.4 2002/04/20 00:48:33 jjweston Exp $

Field Summary
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
CommandLineTest(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
          Permits this test class to be run by itself.
 void setUp()
           
 void tearDown()
           
 void testBasicOptions()
           
 void testCopyJfcOptionValue()
           
 void testCopyOneOptionValue()
           
 void testCopyOptionValues()
           
 void testCopyTextOptionValue()
           
 void testOptionsWithCommaDelimitedValues()
           
 void testOptionsWithOneOrZeroValues()
           
 void testOptionsWithRandomlyDelimitedValues()
           
 void testOptionsWithSpaceDelimitedValues()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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

CommandLineTest

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

setUp

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

tearDown

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

testBasicOptions

public void testBasicOptions()

testOptionsWithOneOrZeroValues

public void testOptionsWithOneOrZeroValues()

testOptionsWithCommaDelimitedValues

public void testOptionsWithCommaDelimitedValues()

testOptionsWithRandomlyDelimitedValues

public void testOptionsWithRandomlyDelimitedValues()

testOptionsWithSpaceDelimitedValues

public void testOptionsWithSpaceDelimitedValues()

testCopyTextOptionValue

public void testCopyTextOptionValue()

testCopyOneOptionValue

public void testCopyOneOptionValue()

testCopyJfcOptionValue

public void testCopyJfcOptionValue()

testCopyOptionValues

public void testCopyOptionValues()

main

public static void main(java.lang.String[] args)
Permits this test class to be run by itself.

Parameters:
args - standard java command-line arguments; ignored in this case


Copyright © 2001 Universe Dev Team All Rights Reserved.