public class ParentTest extends ParentTestCase
Modifier and Type | Field and Description |
---|---|
static Argument |
COMPLEX_ARGUMENT |
static Option |
COMPLEX_CHILD_BASIC |
static Option |
COMPLEX_CHILD_DIGEST |
static Option |
COMPLEX_CHILD_SSL |
static Group |
COMPLEX_CHILDREN |
Constructor and Description |
---|
ParentTest() |
Modifier and Type | Method and Description |
---|---|
static Parent |
buildComplexParent() |
static Parent |
buildKParent() |
static Parent |
buildLibParent() |
void |
testAppendUsage_NoArguments() |
void |
testAppendUsage_NoArgumentsOrChildren() |
void |
testAppendUsage_NoChildren() |
void |
testAppendUsage() |
void |
testCanProcess_BadMatch() |
void |
testCanProcess_ContractedArgument() |
void |
testCanProcess() |
void |
testGetDescription() |
void |
testGetId() |
void |
testGetPreferredName() |
void |
testHelpLines_NoArgument() |
void |
testHelpLines_NoChildren() |
void |
testHelpLines() |
void |
testID() |
void |
testNullPreferredName() |
void |
testPrefixes() |
void |
testProcess_Argument() |
void |
testProcess_Children() |
void |
testProcess_NoMatch() |
void |
testProcess() |
void |
testProcessParent() |
void |
testRequired() |
void |
testTriggers() |
void |
testValidate_Argument() |
void |
testValidate_Children() |
void |
testValidate() |
commandLine
assertContentsEqual, assertListContentsEqual, list, list, list, list, list, list, list, list
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 static final Argument COMPLEX_ARGUMENT
public static final Option COMPLEX_CHILD_SSL
public static final Option COMPLEX_CHILD_BASIC
public static final Option COMPLEX_CHILD_DIGEST
public static final Group COMPLEX_CHILDREN
public ParentTest()
public static Parent buildLibParent()
public static Parent buildKParent()
public static Parent buildComplexParent()
public void testProcessParent() throws OptionException
testProcessParent
in class ParentTestCase
OptionException
public void testCanProcess()
testCanProcess
in class OptionTestCase
public void testCanProcess_BadMatch()
public void testCanProcess_ContractedArgument()
public void testPrefixes()
testPrefixes
in class OptionTestCase
public void testProcess() throws OptionException
testProcess
in class OptionTestCase
OptionException
public void testProcess_NoMatch() throws OptionException
OptionException
public void testProcess_Children() throws OptionException
OptionException
public void testProcess_Argument() throws OptionException
OptionException
public void testTriggers()
testTriggers
in class OptionTestCase
public void testValidate() throws OptionException
testValidate
in class OptionTestCase
OptionException
public void testValidate_Children() throws OptionException
OptionException
public void testValidate_Argument() throws OptionException
OptionException
public void testAppendUsage()
testAppendUsage
in class OptionTestCase
public void testAppendUsage_NoArguments()
public void testAppendUsage_NoChildren()
public void testAppendUsage_NoArgumentsOrChildren()
public void testGetPreferredName()
testGetPreferredName
in class OptionTestCase
public void testGetDescription()
testGetDescription
in class OptionTestCase
public void testHelpLines()
testHelpLines
in class OptionTestCase
public void testHelpLines_NoArgument()
public void testHelpLines_NoChildren()
public void testNullPreferredName()
public void testRequired()
public void testID()
public void testGetId()
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.