Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
506000100%3.801

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
org.apache.commons.cli2.application7000100%0.113
org.apache.commons.cli2.builder31000100%0.15
org.apache.commons.cli2.option169000100%0.033
org.apache.commons.cli2.util38000100%0.802
org.apache.commons.cli2.commandline153000100%0.129
org.apache.commons.cli226000100%0.037
org.apache.commons.cli2.validation41000100%0.027
org.apache.commons.cli2.bug31000100%0.01
org.apache.commons.cli2.resource6000100%0.011
org.apache.commons.cli2.jdepend4000100%2.489

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.apache.commons.cli2.application

ClassTestsErrors FailuresSkippedSuccess RateTime
LsTest1000100%0.011
AntTest1000100%0.006
CvsTest1000100%0.007
CpTest4000100%0.089

org.apache.commons.cli2.builder

ClassTestsErrors FailuresSkippedSuccess RateTime
ArgumentBuilderTest20000100%0.086
DefaultOptionBuilderTest11000100%0.064

org.apache.commons.cli2.option

ClassTestsErrors FailuresSkippedSuccess RateTime
DefaultOptionTest14000100%0
ParentTest26000100%0.001
CommandTest17000100%0
GroupTest33000100%0.001
SwitchTest23000100%0.008
PropertyOptionTest17000100%0
NestedGroupTest3000100%0.001
ArgumentTest36000100%0.022

org.apache.commons.cli2.util

ClassTestsErrors FailuresSkippedSuccess RateTime
ComparatorsTest15000100%0.169
HelpFormatterTest23000100%0.633

org.apache.commons.cli2.commandline

ClassTestsErrors FailuresSkippedSuccess RateTime
PreferencesCommandLineTest36000100%0.001
WriteableCommandLineImplTest38000100%0.001
PropertiesCommandLineTest36000100%0.111
DefaultingCommandLineTest36000100%0.002
ParserTest7000100%0.014

org.apache.commons.cli2

ClassTestsErrors FailuresSkippedSuccess RateTime
PrecedenceTest8000100%0.024
DocumentationTest3000100%0.008
CommandLineDefaultsTest15000100%0.005

org.apache.commons.cli2.validation

ClassTestsErrors FailuresSkippedSuccess RateTime
EnumValidatorTest2000100%0
UrlValidatorTest3000100%0.009
FileValidatorTest7000100%0.003
ClassValidatorTest13000100%0.006
NumberValidatorTest7000100%0.003
DateValidatorTest9000100%0.006

org.apache.commons.cli2.bug

ClassTestsErrors FailuresSkippedSuccess RateTime
Bug32533Test1000100%0
BugCLI145Test2000100%0
BugCLI126Test1000100%0
BugCLI158Test3000100%0.002
BugCLI123Test4000100%0
Bug13935Test1000100%0
BugCLI150Test1000100%0.005
Bug13886Test1000100%0
BugCLI122Test1000100%0
BugCLI144Test1000100%0.003
BugCLI80Test1000100%0
Bug28005Test1000100%0
BugCLI12Test1000100%0
BugCLI159Test6000100%0
Bug27575Test1000100%0
Bug15046Test1000100%0
BugLoopingOptionLookAlikeTest2000100%0
Bug15648Test1000100%0
BugCLI18Test1000100%0

org.apache.commons.cli2.resource

ClassTestsErrors FailuresSkippedSuccess RateTime
ResourceHelperTest6000100%0.011

org.apache.commons.cli2.jdepend

ClassTestsErrors FailuresSkippedSuccess RateTime
JDependTest4000100%2.489

Test Cases

[Summary] [Package List] [Test Cases]

EnumValidatorTest

testValidate0
testNonMember0

Bug32533Test

testBlah0

UrlValidatorTest

testValidate0.008
testMalformedURL0
testBadProtocol0.001

DefaultOptionTest

testAppendUsage_NoOptional0
testProcessParent_Burst0
testProcessParent0
testCanProcess0
testCanProcess_BadMatch0
testPrefixes0
testProcess0
testTriggers0
testValidate0
testAppendUsage0
testAppendUsage_NoAlias0
testGetPreferredName0
testGetDescription0
testHelpLines0

PreferencesCommandLineTest

testPropertyValues0
testNoSeparator0
testNullOption0
testPreferenceTriggers0
testHasOptionString0
testHasOptionOption0
testGetOption0
testGetValuesString0
testGetValuesStringList0
testGetValuesOption0
testGetValuesOptionList0
testGetValueString0
testGetValueStringObject0
testGetValueOption0
testGetValueOptionObject0
testGetSwitchString0.001
testGetSwitchStringBoolean0
testGetSwitchOption0
testGetSwitchOptionBoolean0
testGetPropertyString0
testGetPropertyStringString0
testGetProperties0
testGetOptionCountString0
testGetOptionCountOption0
testGetOptions0
testGetOptionTriggers0
testProperties0
testOptions0
testValues0
testSwitches0
testSwitches_True0
testSwitches_False0
testGetOptions_Order0
testGetOptionCount0
testGetOptionCount_Strings0
testOptionAsArgument0

ParentTest

testCanProcess_ContractedArgument0
testProcess_NoMatch0
testProcess_Children0
testProcess_Argument0
testValidate_Children0
testProcessParent0
testCanProcess0
testCanProcess_BadMatch0
testPrefixes0
testProcess0
testTriggers0.001
testValidate0
testAppendUsage0
testGetPreferredName0
testGetDescription0
testNullPreferredName0
testHelpLines0
testRequired0
testValidate_Argument0
testAppendUsage_NoArguments0
testAppendUsage_NoChildren0
testAppendUsage_NoArgumentsOrChildren0
testHelpLines_NoArgument0
testHelpLines_NoChildren0
testID0
testGetId0

BugCLI145Test

testWithMaximum0
testWithMaximumUsingDefaultValues0

ArgumentBuilderTest

testConsumeRemaining0
testNullConsumeRemaining0
testEmptyConsumeRemaining0
testDefault0.001
testDefaultX20
testNullDefault0.001
testDefaults0
testNullDefaults0
testId0
testInitialSeparator0.001
testMaximum0
testNegativeMaximum0
testMinimum0
testNegativeMinimum0
testName0.001
testNullName0
testEmptyName0
testSubsequentSeparator0
testValidator0.082
testNullValidator0

CommandTest

testProcessParent_Spare0
testCanProcess_Alias0
testEmotyPreferredName0
testAppendUsage_NoOptional0
testProcessParent0
testCanProcess0
testCanProcess_BadMatch0
testPrefixes0
testProcess0
testTriggers0
testValidate0
testAppendUsage0
testAppendUsage_NoAlias0
testGetPreferredName0
testGetDescription0
testNullPreferredName0
testHelpLines0

FileValidatorTest

testValidate0
testValidate_Directory0.001
testValidate_ReadableFile0
testValidate_WritableFile0.001
testValidate_HiddenFile0
testValidate_Existing0.001
testValidate_File0

BugCLI126Test

testMultiplePropertyArgs0

BugCLI158Test

testSingleOptionSingleArgument0
testSingleOptionNoArgument0
testSingleOptionMaximumNumberOfArgument0.002

BugCLI123Test

testSingleChildOption0
testMultipleChildOptions0
testSingleParentOption0
testParentOptionAndChildOption0

Bug13935Test

testRequiredGroup0

LsTest

testLs0.011

GroupTest

testAppendUsage_NoOptional0
testProcessOptions0
testProcessAnonymousArguments0
testHelpLines_NoExpanded0
testHelpLines_NoName0
testIsRequired_ChildNoFlagNoMinimum0
testIsRequired_ChildNoFlagMinimum0
testIsRequired_ChildFlagNoMinimum0
testIsRequired_ChildFlagMinimum0
testIsRequired_ParentNoMinimum0
testIsRequired_ParentMiminum0
testCanProcess0
testCanProcess_BadMatch0
testPrefixes0
testProcess0
testTriggers0
testValidate0
testAppendUsage0
testGetPreferredName0
testGetDescription0
testHelpLines0
testCanProcess_NullMatch0
testProcess_Nested0
testValidate_UnexpectedOption0
testValidate_MissingOption0
testValidate_RequiredChild0
testAppendUsage_NoExpand0
testAppendUsage_NoExpandOrName0
testAppendUsage_NoName0
testAppendUsage_WithArgs0
testAppendUsage_OptionalChildGroup0
testAppendUsage_OptionalChildGroupNoSetting0.001
testAppendUsage_RequiredChildGroup0

AntTest

testAnt0.006

WriteableCommandLineImplTest

testToMakeEclipseSpotTheTestCase0
testAddValue0
testAddSwitch0
testAddProperty0
testAddOption0
testLooksLikeOption0
testHasOptionString0
testHasOptionOption0
testGetOption0
testGetValuesString0
testGetValuesStringList0.001
testGetValuesOption0
testGetValuesOptionList0
testGetValueString0
testGetValueStringObject0
testGetValueOption0
testGetValueOptionObject0
testGetSwitchString0
testGetSwitchStringBoolean0
testGetSwitchOption0
testGetSwitchOptionBoolean0
testGetPropertyString0
testGetPropertyStringString0
testGetProperties0
testGetOptionCountString0
testGetOptionCountOption0
testGetOptions0
testGetOptionTriggers0
testProperties0
testOptions0
testValues0
testSwitches0
testSwitches_True0
testSwitches_False0
testGetOptions_Order0
testGetOptionCount0
testGetOptionCount_Strings0
testOptionAsArgument0

SwitchTest

testProcessParent0.001
testProcessParent_Disabled0.001
testCanProcess0
testCanProcess_BadMatch0
testPrefixes0
testProcess0
testTriggers0
testValidate0.001
testAppendUsage0.001
testAppendUsage_NoAlias0
testAppendUsage_NoDisabled0.001
testAppendUsage_NoEnabled0
testAppendUsage_NoDisabledOrEnabled0
testGetPreferredName0
testGetDescription0.001
testNullPreferredName0
testEmptyPreferredName0.001
testNullAliases0
testNullEnablePrefix0.001
testNullDisablePrefix0
testEnabledPrefixStartsWithDisabledPrefix0
testDisabledPrefixStartsWithEnabledPrefix0
testHelpLines0

PropertiesCommandLineTest

testPropertyValues0.002
testNoSeparator0.097
testNullOption0
testPropertyTriggers0
testHasOptionString0
testHasOptionOption0
testGetOption0
testGetValuesString0.001
testGetValuesStringList0
testGetValuesOption0.001
testGetValuesOptionList0
testGetValueString0.001
testGetValueStringObject0
testGetValueOption0.001
testGetValueOptionObject0
testGetSwitchString0
testGetSwitchStringBoolean0
testGetSwitchOption0.001
testGetSwitchOptionBoolean0
testGetPropertyString0
testGetPropertyStringString0
testGetProperties0
testGetOptionCountString0.001
testGetOptionCountOption0.001
testGetOptions0
testGetOptionTriggers0
testProperties0
testOptions0
testValues0
testSwitches0.001
testSwitches_True0
testSwitches_False0.001
testGetOptions_Order0.001
testGetOptionCount0.001
testGetOptionCount_Strings0.001
testOptionAsArgument0

ClassValidatorTest

testValidName0.002
testNameBadStart0
testNameBadEnd0.001
testNameBadMiddle0
testIllegalNameChar0
testLoadable0
testLoadValid0
testLoadInvalid0
testInstantiate0.001
testCreateClassInstance0
testCreateInterfaceInstance0.001
testCreateProtectedInstance0.001
testClassloader0

PrecedenceTest

testSimple0.001
testArgument0.001
testBurst0.002
testChildren0.007
testArgumentVsBurst0.008
testArgumentVsChildren0.002
testBurstVsChildren0.002
testArgumentVsBurstVsChildren0.001

BugCLI150Test

testNegativeNumber0.005

NumberValidatorTest

testValidate_Minimum0.001
testValidate_Maximum0
testValidate_Number0.001
testValidate_Currency0
testValidate_Percent0.001
testValidate_Integer0
testValidate_ExcessChars0

Bug13886Test

testMandatoryGroup0

BugCLI122Test

testArgumentWhichStartsWithDash0

BugCLI144Test

testFileValidator0.003

BugCLI80Test

testBug0

ResourceHelperTest

testOverridden0.008
testNewMessage1Param0.001
testNewMessage2Params0
testNewMessage3Params0
testNewMessage4Params0
testDefaultBundle0.002

Bug28005Test

testInfiniteLoop0

DocumentationTest

testBasicUsage0.003
testManualIntroduction0
testExampleAnt0.005

CvsTest

testCVS0.007

BugCLI12Test

testBug0

CpTest

testNoSource0.065
testOneSource0.005
testMultiSource0.005
testHelp0.014

ComparatorsTest

testGroupFirst0.076
testGroupLast0.002
testSwitchFirst0.011
testSwitchLast0.001
testCommandFirst0.069
testCommandLast0.001
testDefaultOptionFirst0.001
testDefaultOptionLast0.001
testNamedFirst0.002
testNamedLast0.001
testPreferredNameFirst0.001
testPreferredNameLast0
testRequiredFirst0.002
testRequiredLast0
testChained0.001

PropertyOptionTest

testCanProcess_Null0
testCanProcess_TooShort0
testProcess_UnexpectedOptionException0
testProcess_SetToEmpty0
testProcess_BadPropertyException0
testAppendUsage_Hidden0
testHelpLines_NoDisplay0
testCanProcess0
testCanProcess_BadMatch0
testPrefixes0
testProcess0
testTriggers0
testValidate0
testAppendUsage0
testGetPreferredName0
testGetDescription0
testHelpLines0

DefaultOptionBuilderTest

testName0
testNew_NullShortPrefix0.001
testNew_EmptyShortPrefix0
testNew_NullLongPrefix0
testNew_EmptyLongPrefix0
testCreate0.001
testWithDescription0
testWithRequired0.001
testWithChildren0
testWithArgument0.06
testWithId0.001

NestedGroupTest

testNestedGroup0.001
testNestedGroupHelp0
testNestedGroupHelpOptional0

BugCLI159Test

testNoChildGroup0
testNoChildGroupRequired0
testNoOptions0
testWithChildOptions0
testWithChildOptionsMissing0
testRequiredRootGroup0

JDependTest

testJUnitNotPresent0.721
testAcceptableDistance0.563
testNoCyclesPresent0.434
testApiIndependance0.771

CommandLineDefaultsTest

testValues0.001
testSwitch_Method0.001
testSwitch_Method_Option0
testSwitch_Option0
testSwitch_Parsed0
testSwitch_Parsed_Method0
testSwitch_Parsed_Method_Option0.001
testSwitch_Parsed_Option0
testValues_Method0.001
testValues_Method_Option0
testValues_Option0
testValues_Parsed0
testValues_Parsed_Method0
testValues_Parsed_Method_Option0.001
testValues_Parsed_Option0

DefaultingCommandLineTest

testDefaults0
testTriggers0
testAppendCommandLine0
testInsertCommandLine0
testHasOptionString0
testHasOptionOption0
testGetOption0
testGetValuesString0
testGetValuesStringList0
testGetValuesOption0
testGetValuesOptionList0
testGetValueString0
testGetValueStringObject0
testGetValueOption0
testGetValueOptionObject0
testGetSwitchString0.001
testGetSwitchStringBoolean0
testGetSwitchOption0
testGetSwitchOptionBoolean0
testGetPropertyString0
testGetPropertyStringString0
testGetProperties0
testGetOptionCountString0
testGetOptionCountOption0
testGetOptions0
testGetOptionTriggers0
testProperties0
testOptions0
testValues0
testSwitches0
testSwitches_True0
testSwitches_False0
testGetOptions_Order0
testGetOptionCount0.001
testGetOptionCount_Strings0
testOptionAsArgument0

Bug27575Test

testRequiredOptions0

Bug15046Test

testParamNamedAsOption0

ArgumentTest

testCanProcess0
testPrefixes0.001
testProcess0
testTriggers0
testValidate0
testAppendUsage0
testGetPreferredName0
testGetDescription0.001
testHelpLines0
testNew0.002
testProcessValues0
testProcessValues_BoundaryQuotes0.001
testProcessValues_SpareValues0
testProcessValues_Optional0.001
testProcessValues_Multiple0.007
testProcessValues_Contracted0.001
testProcessValues_ContractedTooFew0.001
testProcessValues_ContractedTooMany0
testValidate_Minimum0.001
testRequired0
testValidate_Maximum0.001
testValidate_Validator0.001
testValidate_ValidatorInvalidDate0.001
testAppendUsage_Infinite0
testAppendUsage_InfiniteNoOptional0
testAppendUsage_InfiniteNoNumbering0
testAppendUsage_Minimum0
testCanProcess_ConsumeRemaining0
testProcess_ConsumeRemaining0.001
testProcess_ConsumeNothing0
testProcess_InterrogatedDefaultValue0
testTooFewDefaults0
testTooManyDefaults0.001
testProcess_InterrogatedDefaultValues0
testProcess_StripBoundaryQuotes0.001
testSourceDestArgument0

BugLoopingOptionLookAlikeTest

testLoopingOptionLookAlike20
testLoopingOptionLookAlike0

HelpFormatterTest

testPrint0.189
testComparator0.033
testPrintFooter0.006
testPrintDivider0.006
testWrap0.005
testWrap_WrapNeeded0.368
testWrap_BeforeSpace0
testWrap_AfterSpace0
testWrap_InWord0
testWrap_NewLine0
testWrap_NewLine20
testWrap_Below1Length0
testPad0
testPad_Null0
testPad_TooLong0
testPad_TooShort0
testGutters0
testPrintHelp0
testPrintHelp_WithException0.001
testPrintHelp_TooNarrow0.019
testPrintException0.001
testPrintUsage0.003
testPrintHeader0.002

Bug15648Test

testQuotedArgumentValue0

DateValidatorTest

testValidate0.001
testSingleFormatValidate0.001
testDefaultDateFormatValidate0
testDefaultTimeFormatValidate0
testDefaultDateTimeFormatValidate0.001
testDefaultValidator0.001
testMinimumBounds0.001
testFormats0
testMaximumBounds0.001

ParserTest

testParse_Successful0.007
testParse_WithUnexpectedOption0.001
testParse_WithUnexpectedShortOption0.001
testParseAndHelp_Successful0.001
testParseAndHelp_ByHelpOption0.001
testParseAndHelp_ByHelpTrigger0.002
testParseAndHelp_WithUnexpectedOption0.001

BugCLI18Test

testBug0