public class ArgumentTest extends ArgumentTestCase
Constructor and Description |
---|
ArgumentTest() |
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 ArgumentTest()
public static Argument buildUsernameArgument()
public static Argument buildHostArgument()
public static Argument buildPathArgument()
public static Argument buildDateLimitArgument()
public static Argument buildTargetsArgument()
public static Argument buildSizeArgument()
public static Argument buildBoundsArgument()
public void testNew()
public void testProcessValues() throws OptionException
testProcessValues
in class ArgumentTestCase
OptionException
public void testProcessValues_BoundaryQuotes() throws OptionException
OptionException
public void testProcessValues_SpareValues() throws OptionException
OptionException
public void testProcessValues_Optional()
public void testProcessValues_Multiple() throws OptionException
OptionException
public void testProcessValues_Contracted() throws OptionException
OptionException
public void testProcessValues_ContractedTooFew()
public void testProcessValues_ContractedTooMany()
public void testCanProcess()
testCanProcess
in class OptionTestCase
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() throws OptionException
testValidate
in class OptionTestCase
OptionException
public void testValidate_Minimum()
public void testRequired()
public void testValidate_Maximum()
public void testValidate_Validator() throws OptionException, ParseException
OptionException
ParseException
public void testValidate_ValidatorInvalidDate() throws OptionException, ParseException
OptionException
ParseException
public void testAppendUsage()
testAppendUsage
in class OptionTestCase
public void testAppendUsage_Infinite()
public void testAppendUsage_InfiniteNoOptional()
public void testAppendUsage_InfiniteNoNumbering()
public void testAppendUsage_Minimum()
public void testGetPreferredName()
testGetPreferredName
in class OptionTestCase
public void testGetDescription()
testGetDescription
in class OptionTestCase
public void testHelpLines()
testHelpLines
in class OptionTestCase
public void testCanProcess_ConsumeRemaining()
public void testProcess_ConsumeRemaining() throws OptionException
OptionException
public void testProcess_ConsumeNothing()
public void testProcess_InterrogatedDefaultValue() throws OptionException
OptionException
public void testTooFewDefaults()
public void testTooManyDefaults()
public void testProcess_InterrogatedDefaultValues() throws OptionException
OptionException
public void testProcess_StripBoundaryQuotes() throws OptionException
OptionException
public void testSourceDestArgument()
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.