public class BugCLI159Test extends junit.framework.TestCase
Constructor and Description |
---|
BugCLI159Test() |
Modifier and Type | Method and Description |
---|---|
void |
testNoChildGroup()
Tests whether the child group can be omitted.
|
void |
testNoChildGroupRequired()
Tests whether a required child groupd can be omitted.
|
void |
testNoOptions()
Tests parsing an empty command line.
|
void |
testRequiredRootGroup()
Tests whether the root group is always validated.
|
void |
testWithChildOptions()
Tests parsing a command line with options of the child group.
|
void |
testWithChildOptionsMissing()
Tests a command line containing options of the child group, but the
minimum constraint is violated.
|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
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
public BugCLI159Test()
public void testNoChildGroup() throws OptionException
OptionException
public void testNoChildGroupRequired()
public void testNoOptions() throws OptionException
OptionException
public void testWithChildOptions() throws OptionException
OptionException
public void testWithChildOptionsMissing()
public void testRequiredRootGroup()
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.