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() |
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 CommandTest()
public static Command buildStartCommand()
public static Command buildCommitCommand()
public static Command buildLoginCommand()
public void testProcessParent() throws OptionException
testProcessParent
in class ParentTestCase
OptionException
public void testProcessParent_Spare() throws OptionException
OptionException
public void testCanProcess()
testCanProcess
in class OptionTestCase
public void testCanProcess_BadMatch()
public void testCanProcess_Alias()
public void testPrefixes()
testPrefixes
in class OptionTestCase
public void testProcess() throws OptionException
testProcess
in class OptionTestCase
OptionException
public void testTriggers()
testTriggers
in class OptionTestCase
public void testValidate()
testValidate
in class OptionTestCase
public void testAppendUsage()
testAppendUsage
in class OptionTestCase
public void testNullPreferredName()
public void testEmotyPreferredName()
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.