public abstract class CommandLineTestCase extends CLITestCase
Modifier and Type | Field and Description |
---|---|
Option |
bool |
Option |
missing |
Option |
multiple |
Option |
present |
Option |
root |
Constructor and Description |
---|
CommandLineTestCase() |
Modifier and Type | Method and Description |
---|---|
protected abstract CommandLine |
createCommandLine() |
void |
setUp() |
void |
testGetOption() |
void |
testGetOptionCount_Strings() |
void |
testGetOptionCount() |
void |
testGetOptionCountOption() |
void |
testGetOptionCountString() |
void |
testGetOptions_Order() |
void |
testGetOptions() |
void |
testGetOptionTriggers() |
void |
testGetProperties() |
void |
testGetPropertyString() |
void |
testGetPropertyStringString() |
void |
testGetSwitchOption() |
void |
testGetSwitchOptionBoolean() |
void |
testGetSwitchString() |
void |
testGetSwitchStringBoolean() |
void |
testGetValueOption() |
void |
testGetValueOptionObject() |
void |
testGetValuesOption() |
void |
testGetValuesOptionList() |
void |
testGetValuesString() |
void |
testGetValuesStringList() |
void |
testGetValueString() |
void |
testGetValueStringObject() |
void |
testHasOptionOption() |
void |
testHasOptionString() |
void |
testOptionAsArgument() |
void |
testOptions() |
void |
testProperties() |
void |
testSwitches_False() |
void |
testSwitches_True() |
void |
testSwitches() |
void |
testValues() |
assertContentsEqual, assertListContentsEqual, list, list, list, list, list, list, list, list
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 CommandLineTestCase()
protected abstract CommandLine createCommandLine()
public void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public final void testHasOptionString()
public final void testHasOptionOption()
public final void testGetOption()
public final void testGetValuesString()
public final void testGetValuesStringList()
public final void testGetValuesOption()
public final void testGetValuesOptionList()
public final void testGetValueString()
public final void testGetValueStringObject()
public final void testGetValueOption()
public final void testGetValueOptionObject()
public final void testGetSwitchString()
public final void testGetSwitchStringBoolean()
public final void testGetSwitchOption()
public final void testGetSwitchOptionBoolean()
public final void testGetPropertyString()
public final void testGetPropertyStringString()
public final void testGetProperties()
public final void testGetOptionCountString()
public final void testGetOptionCountOption()
public final void testGetOptions()
public final void testGetOptionTriggers()
public final void testProperties()
public final void testOptions()
public final void testValues()
public final void testSwitches()
public final void testSwitches_True()
public final void testSwitches_False()
public final void testGetOptions_Order() throws OptionException
OptionException
public final void testGetOptionCount() throws OptionException
OptionException
public final void testGetOptionCount_Strings() throws OptionException
OptionException
public final void testOptionAsArgument() throws OptionException
OptionException
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.