public class CommandTest extends ParentTestCase
| Constructor and Description |
|---|
CommandTest() |
| Modifier and Type | Method and Description |
|---|---|
static Command |
buildCommitCommand() |
static Command |
buildLoginCommand() |
static Command |
buildStartCommand() |
void |
testAppendUsage_NoAlias() |
void |
testAppendUsage_NoOptional() |
void |
testAppendUsage() |
void |
testCanProcess_Alias() |
void |
testCanProcess_BadMatch() |
void |
testCanProcess() |
void |
testEmotyPreferredName() |
void |
testGetDescription() |
void |
testGetPreferredName() |
void |
testHelpLines() |
void |
testNullPreferredName() |
void |
testPrefixes() |
void |
testProcess() |
void |
testProcessParent_Spare() |
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 CommandTest()
public static Command buildStartCommand()
public static Command buildCommitCommand()
public static Command buildLoginCommand()
public void testProcessParent() throws OptionException
testProcessParent in class ParentTestCaseOptionExceptionpublic void testProcessParent_Spare() throws OptionException
OptionExceptionpublic void testCanProcess()
testCanProcess in class OptionTestCasepublic void testCanProcess_BadMatch()
public void testCanProcess_Alias()
public void testPrefixes()
testPrefixes in class OptionTestCasepublic void testProcess() throws OptionException
testProcess in class OptionTestCaseOptionExceptionpublic void testTriggers()
testTriggers in class OptionTestCasepublic void testValidate()
testValidate in class OptionTestCasepublic void testAppendUsage()
testAppendUsage in class OptionTestCasepublic void testNullPreferredName()
public void testEmotyPreferredName()
public void testAppendUsage_NoOptional()
public void testAppendUsage_NoAlias()
public void testGetPreferredName()
testGetPreferredName in class OptionTestCasepublic void testGetDescription()
testGetDescription in class OptionTestCasepublic void testHelpLines()
testHelpLines in class OptionTestCaseCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.