public abstract class WriteableCommandLineTestCase extends CommandLineTestCase
Constructor and Description |
---|
WriteableCommandLineTestCase() |
Modifier and Type | Method and Description |
---|---|
protected CommandLine |
createCommandLine() |
protected abstract WriteableCommandLine |
createWriteableCommandLine() |
void |
setUp() |
void |
testAddOption() |
void |
testAddProperty() |
void |
testAddSwitch() |
void |
testAddValue() |
void |
testLooksLikeOption() |
testGetOption, testGetOptionCount_Strings, testGetOptionCount, testGetOptionCountOption, testGetOptionCountString, testGetOptions_Order, testGetOptions, testGetOptionTriggers, testGetProperties, testGetPropertyString, testGetPropertyStringString, testGetSwitchOption, testGetSwitchOptionBoolean, testGetSwitchString, testGetSwitchStringBoolean, testGetValueOption, testGetValueOptionObject, testGetValuesOption, testGetValuesOptionList, testGetValuesString, testGetValuesStringList, testGetValueString, testGetValueStringObject, testHasOptionOption, testHasOptionString, testOptionAsArgument, testOptions, testProperties, testSwitches_False, testSwitches_True, testSwitches, 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 WriteableCommandLineTestCase()
protected abstract WriteableCommandLine createWriteableCommandLine()
protected final CommandLine createCommandLine()
createCommandLine
in class CommandLineTestCase
public void setUp() throws Exception
setUp
in class CommandLineTestCase
Exception
public final void testAddOption()
public final void testAddValue()
public final void testAddSwitch()
public final void testAddProperty()
public final void testLooksLikeOption()
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.