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() |
commandLineassertContentsEqual, assertListContentsEqual, list, list, list, list, list, list, list, listcountTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toStringassertEquals, 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, failpublic 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 ParentTestCaseOptionExceptionpublic void testCanProcess()
testCanProcess in class OptionTestCasepublic void testCanProcess_BadMatch()
public void testCanProcess_ContractedArgument()
public void testPrefixes()
testPrefixes in class OptionTestCasepublic void testProcess() throws OptionException
testProcess in class OptionTestCaseOptionExceptionpublic void testProcess_NoMatch() throws OptionException
OptionExceptionpublic void testProcess_Children() throws OptionException
OptionExceptionpublic void testProcess_Argument() throws OptionException
OptionExceptionpublic void testTriggers()
testTriggers in class OptionTestCasepublic void testValidate() throws OptionException
testValidate in class OptionTestCaseOptionExceptionpublic void testValidate_Children() throws OptionException
OptionExceptionpublic void testValidate_Argument() throws OptionException
OptionExceptionpublic void testAppendUsage()
testAppendUsage in class OptionTestCasepublic void testAppendUsage_NoArguments()
public void testAppendUsage_NoChildren()
public void testAppendUsage_NoArgumentsOrChildren()
public void testGetPreferredName()
testGetPreferredName in class OptionTestCasepublic void testGetDescription()
testGetDescription in class OptionTestCasepublic void testHelpLines()
testHelpLines in class OptionTestCasepublic 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.