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() |
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 SwitchTest()
public static Switch buildDisplaySwitch()
public void testProcessParent() throws OptionException
testProcessParent
in class ParentTestCase
OptionException
public void testProcessParent_Disabled() 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_NoAlias()
public void testAppendUsage_NoDisabled()
public void testAppendUsage_NoEnabled()
public void testAppendUsage_NoDisabledOrEnabled()
public void testGetPreferredName()
testGetPreferredName
in class OptionTestCase
public void testGetDescription()
testGetDescription
in class OptionTestCase
public 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 OptionTestCase
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.