public class SwitchTest extends ParentTestCase
| Constructor and Description |
|---|
SwitchTest() |
| Modifier and Type | Method and Description |
|---|---|
static Switch |
buildDisplaySwitch() |
void |
testAppendUsage_NoAlias() |
void |
testAppendUsage_NoDisabled() |
void |
testAppendUsage_NoDisabledOrEnabled() |
void |
testAppendUsage_NoEnabled() |
void |
testAppendUsage() |
void |
testCanProcess_BadMatch() |
void |
testCanProcess() |
void |
testDisabledPrefixStartsWithEnabledPrefix() |
void |
testEmptyPreferredName() |
void |
testEnabledPrefixStartsWithDisabledPrefix() |
void |
testGetDescription() |
void |
testGetPreferredName() |
void |
testHelpLines() |
void |
testNullAliases() |
void |
testNullDisablePrefix() |
void |
testNullEnablePrefix() |
void |
testNullPreferredName() |
void |
testPrefixes() |
void |
testProcess() |
void |
testProcessParent_Disabled() |
void |
testProcessParent() |
void |
testTriggers() |
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 SwitchTest()
public static Switch buildDisplaySwitch()
public void testProcessParent() throws OptionException
testProcessParent in class ParentTestCaseOptionExceptionpublic void testProcessParent_Disabled() throws OptionException
OptionExceptionpublic void testCanProcess()
testCanProcess in class OptionTestCasepublic void testCanProcess_BadMatch()
public void testPrefixes()
testPrefixes in class OptionTestCasepublic void testProcess()
testProcess in class OptionTestCasepublic void testTriggers()
testTriggers in class OptionTestCasepublic void testValidate()
testValidate in class OptionTestCasepublic void testAppendUsage()
testAppendUsage in class OptionTestCasepublic void testAppendUsage_NoAlias()
public void testAppendUsage_NoDisabled()
public void testAppendUsage_NoEnabled()
public void testAppendUsage_NoDisabledOrEnabled()
public void testGetPreferredName()
testGetPreferredName in class OptionTestCasepublic void testGetDescription()
testGetDescription in class OptionTestCasepublic void testNullPreferredName()
public void testEmptyPreferredName()
public void testNullAliases()
public void testNullEnablePrefix()
public void testNullDisablePrefix()
public void testEnabledPrefixStartsWithDisabledPrefix()
public void testDisabledPrefixStartsWithEnabledPrefix()
public void testHelpLines()
testHelpLines in class OptionTestCaseCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.