public class DefaultOptionTest extends ParentTestCase
Constructor and Description |
---|
DefaultOptionTest() |
Modifier and Type | Method and Description |
---|---|
static DefaultOption |
buildHelpOption() |
static DefaultOption |
buildXOption() |
void |
testAppendUsage_NoAlias() |
void |
testAppendUsage_NoOptional() |
void |
testAppendUsage() |
void |
testCanProcess_BadMatch() |
void |
testCanProcess() |
void |
testGetDescription() |
void |
testGetPreferredName() |
void |
testHelpLines() |
void |
testPrefixes() |
void |
testProcess() |
void |
testProcessParent_Burst() |
void |
testProcessParent() |
void |
testTriggers() |
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 DefaultOptionTest()
public static DefaultOption buildHelpOption()
public static DefaultOption buildXOption()
public void testProcessParent() throws OptionException
testProcessParent
in class ParentTestCase
OptionException
public void testProcessParent_Burst() throws OptionException
OptionException
public void testCanProcess()
testCanProcess
in class OptionTestCase
public void testCanProcess_BadMatch()
public void testPrefixes()
testPrefixes
in class OptionTestCase
public void testProcess()
testProcess
in class OptionTestCase
public void testTriggers()
testTriggers
in class OptionTestCase
public void testValidate()
testValidate
in class OptionTestCase
public void testAppendUsage()
testAppendUsage
in class OptionTestCase
public void testAppendUsage_NoOptional()
public void testAppendUsage_NoAlias()
public void testGetPreferredName()
testGetPreferredName
in class OptionTestCase
public void testGetDescription()
testGetDescription
in class OptionTestCase
public void testHelpLines()
testHelpLines
in class OptionTestCase
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.