de.qfs.lib.util
Class ArgsParser.UnitTest
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--de.qfs.lib.util.ArgsParser.UnitTest
- All Implemented Interfaces:
- junit.framework.Test
- Enclosing class:
- ArgsParser
- public static class ArgsParser.UnitTest
- extends junit.framework.TestCase
Test cases for the ArgsParser class.
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, name, run, run, runBare, runTest, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ArgsParser.UnitTest
public ArgsParser.UnitTest(java.lang.String name)
- Create a new UnitTest.
- Parameters:
name
- The name of the test.
setUp
protected void setUp()
- Set up the test fixture.
- Overrides:
setUp
in class junit.framework.TestCase
suite
public static junit.framework.Test suite()
- Get the suite of tests.
- Returns:
- The tests.
testBadOptions
public void testBadOptions()
- Test bad options in setOptions method.
testParseOK
public void testParseOK()
- Test the parse method.
testParseBad
public void testParseBad()
- Test the parse method.
testParseMultiple
public void testParseMultiple()
- Test the parse method.
testParseWildcards
public void testParseWildcards()
- Test the parse method.