Apache Commons logo Apache Commons CLI

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
689 0 0 59 91.4% 2.074 s

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


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.apache.commons.cli 652 0 0 59 91.0% 1.971 s
org.apache.commons.cli.bug 37 0 0 0 100% 0.103 s

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

org.apache.commons.cli

- Class Tests Errors Failures Skipped Success Rate Time
ApplicationTest 5 0 0 0 100% 0.014 s
UnrecognizedOptionExceptionTest 1 0 0 0 100% 0.007 s
CommandLineTest 15 0 0 0 100% 0.103 s
AlreadySelectedExceptionTest 1 0 0 0 100% 0.001 s
ParseExceptionTest 1 0 0 0 100% 0.001 s
TypeHandlerTest 63 0 0 0 100% 0.163 s
SolrCliTest 1 0 0 0 100% 0.005 s
PosixParserTest 66 0 0 10 84.8% 0.085 s
ValueTest 40 0 0 0 100% 0.099 s
OptionValidatorTest 115 0 0 0 100% 0.257 s
OptionTest 21 0 0 0 100% 0.063 s
PatternOptionBuilderTest 10 0 0 0 100% 0.291 s
HelpFormatterTest 36 0 0 0 100% 0.145 s
UtilTest 2 0 0 0 100% 0.176 s
DefaultParserTest 74 0 0 0 100% 0.187 s
OptionsTest 15 0 0 0 100% 0.016 s
ArgumentIsOptionTest 3 0 0 0 100% 0.008 s
BasicParserTest 66 0 0 27 59.1% 0.079 s
OptionBuilderTest 9 0 0 0 100% 0.012 s
DisablePartialMatchingTest 2 0 0 0 100% 0.019 s
GnuParserTest 66 0 0 22 66.7% 0.096 s
DeprecatedAttributesTest 4 0 0 0 100% 0.003 s
OptionGroupTest 13 0 0 0 100% 0.014 s
SolrCreateToolTest 2 0 0 0 100% 0.013 s
ValuesTest 7 0 0 0 100% 0.004 s
ConverterTests 14 0 0 0 100% 0.110 s

org.apache.commons.cli.bug

- Class Tests Errors Failures Skipped Success Rate Time
BugCLI252Test 2 0 0 0 100% 0.004 s
BugCLI71Test 4 0 0 0 100% 0.033 s
BugCLI13Test 1 0 0 0 100% 0.003 s
BugCLI265Test 3 0 0 0 100% 0.005 s
BugCLI18Test 1 0 0 0 100% 0.003 s
BugCLI162Test 4 0 0 0 100% 0.011 s
BugCLI266Test 2 0 0 0 100% 0.002 s
BugCLI148Test 2 0 0 0 100% 0.012 s
BugCLI312Test 3 0 0 0 100% 0.004 s
BugCLI133Test 1 0 0 0 100% 0.003 s
BugCLI325Test 1 0 0 0 100% 0.009 s
BugsTest 13 0 0 0 100% 0.014 s

Test Cases

[Summary] [Package List] [Test Cases]

ApplicationTest

testAnt 0 s
testMan 0.003 s
testNLT 0.001 s
testLs 0 s
testGroovy 0.001 s

BugCLI252Test

testAmbiquousOptionName 0.001 s
testExactOptionNameMatch 0 s

UnrecognizedOptionExceptionTest

testConstructor 0.006 s

CommandLineTest

testGetParsedOptionValue 0.024 s
testGetParsedOptionValueWithOption 0.005 s
testDeprecatedDefaultOption 0.014 s
testBuilderNullArgs 0.001 s
testDeprecatedOption 0.003 s
testDeprecatedParsedOptionValue 0 s
testGetParsedOptionValueUsingDefault 0.002 s
testBuilder 0.002 s
testGetOptionsBuilder 0.001 s
testBuilderNullOption 0.002 s
testGetOptionProperties 0.002 s
testGetOptionPropertiesWithOption 0.001 s
testNullOption 0.001 s
testGetParsedOptionValueWithChar 0.001 s
testGetOptionsCtor 0.001 s

AlreadySelectedExceptionTest

testConstructor 0.001 s

BugCLI71Test

testBasic 0.002 s
testLackOfError 0.003 s
testMistakenArgument 0.001 s
testGetsDefaultIfOptional 0.005 s

BugCLI13Test

testCLI13 0 s

BugCLI265Test

testShouldParseShortOptionWithoutValue 0.003 s
testShouldParseShortOptionWithValue 0.001 s
testShouldParseConcatenatedShortOptions 0.001 s

ParseExceptionTest

testConstructor 0.001 s

TypeHandlerTest

testCreateNumber 0.002 s
testCreateObject 0.001 s
testCreateClass 0 s
testCreateFiles 0.001 s
testCreateValue(String, Class, Object)[1] 0.001 s
testCreateValue(String, Class, Object)[2] 0.001 s
testCreateValue(String, Class, Object)[3] 0.001 s
testCreateValue(String, Class, Object)[4] 0.001 s
testCreateValue(String, Class, Object)[5] 0.001 s
testCreateValue(String, Class, Object)[6] 0.001 s
testCreateValue(String, Class, Object)[7] 0 s
testCreateValue(String, Class, Object)[8] 0 s
testCreateValue(String, Class, Object)[9] 0.001 s
testCreateValue(String, Class, Object)[10] 0.003 s
testCreateValue(String, Class, Object)[11] 0.003 s
testCreateValue(String, Class, Object)[12] 0 s
testCreateValue(String, Class, Object)[13] 0.003 s
testCreateValue(String, Class, Object)[14] 0.003 s
testCreateValue(String, Class, Object)[15] 0.003 s
testCreateValue(String, Class, Object)[16] 0.002 s
testCreateValue(String, Class, Object)[17] 0.002 s
testCreateValue(String, Class, Object)[18] 0.001 s
testCreateValue(String, Class, Object)[19] 0.001 s
testCreateValue(String, Class, Object)[20] 0.001 s
testCreateValue(String, Class, Object)[21] 0.002 s
testCreateValue(String, Class, Object)[22] 0.002 s
testCreateValue(String, Class, Object)[23] 0.001 s
testCreateValue(String, Class, Object)[24] 0 s
testCreateValue(String, Class, Object)[25] 0 s
testCreateValue(String, Class, Object)[26] 0 s
testCreateValue(String, Class, Object)[27] 0.001 s
testCreateValue(String, Class, Object)[28] 0.001 s
testCreateValue(String, Class, Object)[29] 0.001 s
testCreateValue(String, Class, Object)[30] 0.002 s
testCreateValue(String, Class, Object)[31] 0 s
testCreateValue(String, Class, Object)[32] 0.001 s
testCreateValue(String, Class, Object)[33] 0.001 s
testCreateValue(String, Class, Object)[34] 0.001 s
testCreateValue(String, Class, Object)[35] 0.001 s
testCreateValue(String, Class, Object)[36] 0 s
testCreateValue(String, Class, Object)[37] 0 s
testCreateValue(String, Class, Object)[38] 0 s
testCreateValue(String, Class, Object)[39] 0.001 s
testCreateValue(String, Class, Object)[40] 0 s
testCreateValue(String, Class, Object)[41] 0 s
testCreateValue(String, Class, Object)[42] 0.001 s
testCreateValue(String, Class, Object)[43] 0.001 s
testCreateValue(String, Class, Object)[44] 0.001 s
testCreateValue(String, Class, Object)[45] 0.001 s
testCreateValue(String, Class, Object)[46] 0.001 s
testCreateValue(String, Class, Object)[47] 0 s
testCreateValue(String, Class, Object)[48] 0 s
testCreateValue(String, Class, Object)[49] 0 s
testCreateValue(String, Class, Object)[50] 0.001 s
testRegister 0 s
testOpenFile 0.021 s
testCreateValueExistingFile 0.002 s
testCreateDate(Date)[1] 0.002 s
testCreateDate(Date)[2] 0.003 s
testCreateDate(Date)[3] 0.001 s
testCreateFile 0.001 s
testCreateURL 0.002 s
testnstantiableEquals 0 s

SolrCliTest

testOptions 0.002 s

PosixParserTest

testSimpleLong 0.002 s
testSimpleShort 0.001 s
testLongOptionQuoteHandling 0.001 s
testOptionalArgsOptionBuilder 0.001 s
testStopBursting2 0 s
testMissingRequiredOption 0 s
testShortWithoutEqual 0.001 s
testReuseOptionsTwice 0.001 s
testMissingRequiredGroup 0.001 s
testOptionGroupLong 0.001 s
testLongOptionWithEqualsQuoteHandling 0 s
testMissingArgWithBursting 0.001 s
testMissingRequiredOptions 0.001 s
testShortWithUnexpectedArgument 0 s
testPropertyOverrideValues 0 s
testStopAtNonOptionLong 0.001 s
testNegativeArgument 0.001 s
testOptionalArgsOptionDotBuilder 0 s
testStopBursting 0 s
testStopAtUnexpectedArg 0.001 s
testPartialLongOptionSingleDash 0.001 s
testOptionGroup 0.003 s
testLongWithoutEqualDoubleDash 0.003 s
testPropertyOptionSingularValue 0.001 s
testPropertyOptionMultipleValues 0 s
testMissingArg 0.005 s
testPropertyOptionFlags 0.004 s
testPropertyOptionGroup 0.012 s
testUnrecognizedOptionWithBursting 0.001 s
testMultipleWithLong 0.001 s
testMultipleWithNull 0 s
testUnrecognizedOption 0 s
testBursting 0 s
testAmbiguousPartialLongOption1 0.001 s
testAmbiguousPartialLongOption2 0 s
testAmbiguousPartialLongOption3 0 s
testPropertyOptionUnexpected 0.001 s
testSingleDash 0 s
testWithRequiredOption 0 s
testUnlimitedArgs 0.001 s
testPropertyOptionRequired 0 s
testOptionAndRequiredOption 0 s
testLongWithEqualDoubleDash 0.001 s
testLongWithUnexpectedArgument2 0 s
testStopAtNonOptionShort 0 s
testUnambiguousPartialLongOption1 0.001 s
testUnambiguousPartialLongOption2 0.001 s
testUnambiguousPartialLongOption3 0.001 s
testShortOptionConcatenatedQuoteHandling 0.001 s
testMultiple 0.001 s
testArgumentStartingWithHyphen 0 s
testPropertiesOption1 0 s
testPropertiesOption2 0.001 s
testDoubleDash1 0 s
testStopAtExpectedArg 0 s
testShortOptionQuoteHandling 0.001 s
testAmbiguousLongWithoutEqualSingleDash 0 s
- not supported by the PosixParser -
testLongWithoutEqualSingleDash 0 s
- not supported by the PosixParser -
testAmbiguousPartialLongOption4 0 s
- not supported by the PosixParser -
testShortWithEqual 0 s
- not supported by the PosixParser -
testNegativeOption 0 s
- not supported by the PosixParser (CLI-184) -
testLongWithUnexpectedArgument1 0 s
- not supported by the PosixParser -
testLongWithEqualSingleDash 0 s
- not supported by the PosixParser -
testUnambiguousPartialLongOption4 0 s
- not supported by the PosixParser -
testDoubleDash2 0 s
- not supported by the PosixParser -
testAmbiguousLongWithoutEqualSingleDash2 0 s
- not supported by the PosixParser -

ValueTest

testLongOptionalArgValuesWithOption(CommandLineParser)[1] 0.001 s
testLongOptionalArgValuesWithOption(CommandLineParser)[2] 0.001 s
testShortOptionalNArgValuesWithOption 0.001 s
testShortOptionalArgValues(CommandLineParser)[1] 0.001 s
testShortOptionalArgValues(CommandLineParser)[2] 0.001 s
testShortOptionalArgValuesWithOption(CommandLineParser)[1] 0.004 s
testShortOptionalArgValuesWithOption(CommandLineParser)[2] 0.001 s
testShortOptionalArgValueWithOption(CommandLineParser)[1] 0.003 s
testShortOptionalArgValueWithOption(CommandLineParser)[2] 0.002 s
testLongOptionalArgValue(CommandLineParser)[1] 0.002 s
testLongOptionalArgValue(CommandLineParser)[2] 0.002 s
testShortOptionalArgNoValue(CommandLineParser)[1] 0.001 s
testShortOptionalArgNoValue(CommandLineParser)[2] 0.001 s
testShortNoArgWithOption 0.007 s
testLongWithArg 0 s
testLongOptionalNArgValuesWithOption(CommandLineParser)[1] 0.001 s
testLongOptionalNArgValuesWithOption(CommandLineParser)[2] 0 s
testLongOptionalNArgValues(CommandLineParser)[1] 0.002 s
testLongOptionalNArgValues(CommandLineParser)[2] 0 s
testShortWithArgWithOption 0 s
testShortWithArg 0 s
testShortOptionalNArgValuesSeparated 0.001 s
testLongOptionalArgValueWithOption(CommandLineParser)[1] 0.001 s
testLongOptionalArgValueWithOption(CommandLineParser)[2] 0.001 s
testLongOptionalArgValues(CommandLineParser)[1] 0 s
testLongOptionalArgValues(CommandLineParser)[2] 0 s
testShortOptionalNArgValues(CommandLineParser)[1] 0 s
testShortOptionalNArgValues(CommandLineParser)[2] 0.001 s
testLongNoArgWithOption 0 s
testLongOptionalNoValueWithOption(CommandLineParser)[1] 0.001 s
testLongOptionalNoValueWithOption(CommandLineParser)[2] 0 s
testLongNoArg 0.001 s
testShortNoArg 0 s
testLongOptionalNoValue(CommandLineParser)[1] 0.001 s
testLongOptionalNoValue(CommandLineParser)[2] 0 s
testShortOptionalArgValue(CommandLineParser)[1] 0.001 s
testShortOptionalArgValue(CommandLineParser)[2] 0 s
testShortOptionalArgNoValueWithOption(CommandLineParser)[1] 0.001 s
testShortOptionalArgNoValueWithOption(CommandLineParser)[2] 0 s
testLongWithArgWithOption 0 s

OptionValidatorTest

testExclusivity 0.001 s
validateTest(String, boolean, String)[1] 0.001 s
validateTest(String, boolean, String)[2] 0.001 s
validateTest(String, boolean, String)[3] 0.001 s
validateTest(String, boolean, String)[4] 0.001 s
validateTest(String, boolean, String)[5] 0.001 s
validateTest(String, boolean, String)[6] 0 s
validateTest(String, boolean, String)[7] 0 s
validateTest(String, boolean, String)[8] 0 s
validateTest(String, boolean, String)[9] 0 s
validateTest(String, boolean, String)[10] 0 s
validateTest(String, boolean, String)[11] 0 s
validateTest(String, boolean, String)[12] 0 s
validateTest(String, boolean, String)[13] 0.001 s
validateTest(String, boolean, String)[14] 0.001 s
validateTest(String, boolean, String)[15] 0 s
validateTest(String, boolean, String)[16] 0.001 s
validateTest(String, boolean, String)[17] 0 s
validateTest(String, boolean, String)[18] 0.001 s
validateTest(String, boolean, String)[19] 0.001 s
validateTest(String, boolean, String)[20] 0 s
validateTest(String, boolean, String)[21] 0.001 s
validateTest(String, boolean, String)[22] 0.002 s
validateTest(String, boolean, String)[23] 0.007 s
validateTest(String, boolean, String)[24] 0.004 s
validateTest(String, boolean, String)[25] 0.004 s
validateTest(String, boolean, String)[26] 0.002 s
validateTest(String, boolean, String)[27] 0.002 s
validateTest(String, boolean, String)[28] 0 s
validateTest(String, boolean, String)[29] 0.001 s
validateTest(String, boolean, String)[30] 0.001 s
validateTest(String, boolean, String)[31] 0 s
validateTest(String, boolean, String)[32] 0.001 s
validateTest(String, boolean, String)[33] 0.001 s
validateTest(String, boolean, String)[34] 0.001 s
validateTest(String, boolean, String)[35] 0.001 s
validateTest(String, boolean, String)[36] 0.001 s
validateTest(String, boolean, String)[37] 0.001 s
validateTest(String, boolean, String)[38] 0.003 s
validateTest(String, boolean, String)[39] 0.004 s
validateTest(String, boolean, String)[40] 0.001 s
validateTest(String, boolean, String)[41] 0.001 s
validateTest(String, boolean, String)[42] 0.005 s
validateTest(String, boolean, String)[43] 0.001 s
validateTest(String, boolean, String)[44] 0.001 s
validateTest(String, boolean, String)[45] 0 s
validateTest(String, boolean, String)[46] 0 s
validateTest(String, boolean, String)[47] 0.002 s
validateTest(String, boolean, String)[48] 0.001 s
validateTest(String, boolean, String)[49] 0.001 s
validateTest(String, boolean, String)[50] 0.001 s
validateTest(String, boolean, String)[51] 0.001 s
validateTest(String, boolean, String)[52] 0.001 s
validateTest(String, boolean, String)[53] 0.001 s
validateTest(String, boolean, String)[54] 0 s
validateTest(String, boolean, String)[55] 0 s
validateTest(String, boolean, String)[56] 0 s
validateTest(String, boolean, String)[57] 0.001 s
validateTest(String, boolean, String)[58] 0.001 s
validateTest(String, boolean, String)[59] 0.001 s
validateTest(String, boolean, String)[60] 0.001 s
validateTest(String, boolean, String)[61] 0 s
validateTest(String, boolean, String)[62] 0 s
validateTest(String, boolean, String)[63] 0.001 s
validateTest(String, boolean, String)[64] 0.001 s
validateTest(String, boolean, String)[65] 0.001 s
validateTest(String, boolean, String)[66] 0.001 s
validateTest(String, boolean, String)[67] 0 s
validateTest(String, boolean, String)[68] 0.001 s
validateTest(String, boolean, String)[69] 0.001 s
validateTest(String, boolean, String)[70] 0 s
validateTest(String, boolean, String)[71] 0 s
validateTest(String, boolean, String)[72] 0 s
validateTest(String, boolean, String)[73] 0 s
validateTest(String, boolean, String)[74] 0.001 s
validateTest(String, boolean, String)[75] 0.001 s
validateTest(String, boolean, String)[76] 0 s
validateTest(String, boolean, String)[77] 0.001 s
validateTest(String, boolean, String)[78] 0 s
validateTest(String, boolean, String)[79] 0 s
validateTest(String, boolean, String)[80] 0 s
validateTest(String, boolean, String)[81] 0 s
validateTest(String, boolean, String)[82] 0.001 s
validateTest(String, boolean, String)[83] 0.001 s
validateTest(String, boolean, String)[84] 0.001 s
validateTest(String, boolean, String)[85] 0 s
validateTest(String, boolean, String)[86] 0.001 s
validateTest(String, boolean, String)[87] 0.001 s
validateTest(String, boolean, String)[88] 0.001 s
validateTest(String, boolean, String)[89] 0.001 s
validateTest(String, boolean, String)[90] 0.001 s
validateTest(String, boolean, String)[91] 0.001 s
validateTest(String, boolean, String)[92] 0.001 s
validateTest(String, boolean, String)[93] 0.002 s
validateTest(String, boolean, String)[94] 0.003 s
validateTest(String, boolean, String)[95] 0 s
validateTest(String, boolean, String)[96] 0.001 s
validateTest(String, boolean, String)[97] 0.003 s
validateTest(String, boolean, String)[98] 0.003 s
validateTest(String, boolean, String)[99] 0.003 s
validateTest(String, boolean, String)[100] 0.001 s
validateTest(String, boolean, String)[101] 0.002 s
validateTest(String, boolean, String)[102] 0.001 s
validateTest(String, boolean, String)[103] 0.001 s
validateTest(String, boolean, String)[104] 0 s
validateTest(String, boolean, String)[105] 0.002 s
validateTest(String, boolean, String)[106] 0 s
validateTest(String, boolean, String)[107] 0 s
validateTest(String, boolean, String)[108] 0 s
validateTest(String, boolean, String)[109] 0 s
validateTest(String, boolean, String)[110] 0 s
validateTest(String, boolean, String)[111] 0.001 s
validateTest(String, boolean, String)[112] 0.001 s
validateTest(String, boolean, String)[113] 0.001 s
validateTest(String, boolean, String)[114] 0.001 s

BugCLI18Test

testCLI18 0.001 s

OptionTest

testGetValue 0 s
testSerialization 0.037 s
testSubclass 0 s
testClear 0 s
testClone 0.001 s
testBuilderInvalidOptionName0 0.001 s
testBuilderInvalidOptionName1 0 s
testBuilderInvalidOptionName2 0 s
testBuilderInvalidOptionName3 0 s
testBuilderInvalidOptionName4 0.001 s
testAddValue 0.001 s
testBuilderMethods 0.001 s
testHasArgs 0 s
testHasArgName 0 s
testHashCode 0.008 s
testBuilderEmpty 0 s
testTypeClass 0 s
testEquals 0.001 s
testBuilderInsufficientParams1 0.001 s
testBuilderInsufficientParams2 0 s
testTypeObject 0 s

PatternOptionBuilderTest

testSimplePattern 0.273 s
testExistingFilePattern 0 s
testURLPattern 0.001 s
testEmptyPattern 0.001 s
testClassPattern 0.001 s
testRequiredOption 0.003 s
testExistingFilePatternFileNotExist 0.001 s
testNumberPattern 0.002 s
testUntypedPattern 0.001 s
testObjectPattern 0.001 s

BugCLI162Test

testInfiniteLoop 0 s
testLongLineChunkingIndentIgnored 0.002 s
testLongLineChunking 0.002 s
testPrintHelpLongLines 0.002 s

BugCLI266Test

testOptionComparatorInsertedOrder 0.001 s
testOptionComparatorDefaultOrder 0.001 s

HelpFormatterTest

testUsageWithLongOptSeparator 0.001 s
testPrintDeprecatedOptions(HelpFormatter, Option, String)[1] 0.008 s
testPrintDeprecatedOptions(HelpFormatter, Option, String)[2] 0.001 s
testPrintDeprecatedOptions(HelpFormatter, Option, String)[3] 0.001 s
testPrintDeprecatedOptions(HelpFormatter, Option, String)[4] 0.001 s
testPrintDeprecatedOptions(HelpFormatter, Option, String)[5] 0 s
testPrintDeprecatedOptions(HelpFormatter, Option, String)[6] 0.001 s
testPrintDeprecatedOptions(HelpFormatter, Option, String)[7] 0 s
testPrintDeprecatedOptions(HelpFormatter, Option, String)[8] 0.002 s
testRenderWrappedTextSingleLine 0.001 s
testIndentedHeaderAndFooter 0.001 s
testPrintSortedUsageWithNullComparator 0.001 s
testAccessors 0.001 s
testRtrim 0 s
testPrintRequiredOptionGroupUsage 0.001 s
testHelpWithLongOptSeparator 0.003 s
testRenderWrappedTextSingleLinePadded 0.001 s
testRenderWrappedTextMultiLine 0.001 s
testPrintUsage 0.004 s
testPrintSortedUsage 0.004 s
testPrintHelpWithEmptySyntax 0.004 s
testPrintOptions 0.002 s
testAutomaticUsage 0.002 s
testDefaultArgName 0 s
testPrintHelpNewlineFooter 0.001 s
testPrintHelpNewlineHeader 0.017 s
testRenderWrappedTextWordCut 0 s
testHeaderStartingWithLineSeparator0 0 s
testHeaderStartingWithLineSeparator1 0.003 s
testOptionWithoutShortFormat 0.001 s
testRenderWrappedTextMultiLinePadded 0 s
testPrintOptionGroupUsage 0 s
testPrintOptionWithEmptyArgNameUsage 0 s
testRenderWrappedTextSingleLinePadded2 0 s
testOptionWithoutShortFormat2 0.001 s
testFindWrapPos 0.001 s

UtilTest

testStripLeadingAndTrailingQuotes 0.065 s
testStripLeadingHyphens 0.001 s

BugCLI148Test

testWorkaround1 0.001 s
testWorkaround2 0.001 s

BugCLI312Test

testNoOptionValues 0.001 s
testPropertyStyleOption_withGetOptionProperties 0 s
testPropertyStyleOption_withGetOptions 0 s

BugCLI133Test

testOrder 0.001 s

DefaultParserTest

testSimpleLong 0.002 s
testSimpleShort 0.001 s
testLongOptionQuoteHandling 0.001 s
testOptionalArgsOptionBuilder 0.004 s
testStopBursting2 0.002 s
testMissingRequiredOption 0.002 s
testShortWithoutEqual 0.001 s
testReuseOptionsTwice 0.001 s
testMissingRequiredGroup 0.003 s
testOptionGroupLong 0.001 s
testAmbiguousLongWithoutEqualSingleDash 0.001 s
testMissingArgWithBursting 0.001 s
testMissingRequiredOptions 0.001 s
testShortWithUnexpectedArgument 0.001 s
testPropertyOverrideValues 0.001 s
testStopAtNonOptionLong 0.001 s
testNegativeArgument 0.001 s
testOptionalArgsOptionDotBuilder 0.001 s
testStopBursting 0.003 s
testStopAtUnexpectedArg 0.002 s
testPartialLongOptionSingleDash 0.001 s
testOptionGroup 0 s
testLongWithoutEqualDoubleDash 0.001 s
testLongWithoutEqualSingleDash 0.001 s
testPropertyOptionSingularValue 0.001 s
testPropertyOptionMultipleValues 0.001 s
testMissingArg 0 s
testPropertyOptionFlags 0.001 s
testPropertyOptionGroup 0.001 s
testUnrecognizedOptionWithBursting 0 s
testMultipleWithLong 0.001 s
testMultipleWithNull 0.001 s
testUnrecognizedOption 0.001 s
testBursting 0.001 s
testAmbiguousPartialLongOption1 0.001 s
testAmbiguousPartialLongOption2 0.001 s
testAmbiguousPartialLongOption3 0.002 s
testAmbiguousPartialLongOption4 0.001 s
testPropertyOptionUnexpected 0.002 s
testSingleDash 0.004 s
testShortWithEqual 0.004 s
testWithRequiredOption 0.005 s
testUnlimitedArgs 0.007 s
testNegativeOption 0.003 s
testPropertyOptionRequired 0.005 s
testOptionAndRequiredOption 0.001 s
testLongWithEqualDoubleDash 0 s
testLongWithUnexpectedArgument1 0.001 s
testLongWithUnexpectedArgument2 0.001 s
testStopAtNonOptionShort 0.001 s
testLongWithEqualSingleDash 0.001 s
testUnambiguousPartialLongOption1 0.001 s
testUnambiguousPartialLongOption2 0.002 s
testUnambiguousPartialLongOption3 0.004 s
testUnambiguousPartialLongOption4 0 s
testMultiple 0 s
testArgumentStartingWithHyphen 0 s
testPropertiesOption1 0 s
testPropertiesOption2 0 s
testDoubleDash1 0 s
testDoubleDash2 0 s
testStopAtExpectedArg 0.001 s
testAmbiguousLongWithoutEqualSingleDash2 0.001 s
testShortOptionQuoteHandling 0.001 s
testLongOptionWithEqualsQuoteHandlingWithoutStrip 0.002 s
testLongOptionQuoteHandlingWithoutStrip 0.008 s
testLongOptionWithEqualsQuoteHandling 0.001 s
testShortOptionQuoteHandlingWithStrip 0.001 s
testShortOptionQuoteHandlingWithoutStrip 0.004 s
testLongOptionQuoteHandlingWithStrip 0.004 s
testBuilder 0.002 s
testLongOptionWithEqualsQuoteHandlingWithStrip 0.001 s
testShortOptionConcatenatedQuoteHandling 0.002 s
testDeprecated 0.002 s

OptionsTest

testAddOptions2X 0.001 s
testMissingOptionsException 0 s
testGetMatchingOpts 0 s
testLong 0 s
testToString 0 s
testHelpOptions 0 s
testAddOptions 0 s
testMissingOptionException 0 s
testDuplicateSimple 0 s
testAddNonConflictingOptions 0 s
testAddConflictingOptions 0.001 s
testGetOptionsGroups 0.002 s
testDuplicateLong 0 s
testSimple 0 s
testDeprecated 0.001 s

ArgumentIsOptionTest

testOptionWithArgument 0.001 s
testOptionAndOptionWithArgument 0.002 s
testOption 0.002 s

BasicParserTest

testSimpleLong 0.002 s
testSimpleShort 0.002 s
testLongOptionQuoteHandling 0 s
testOptionalArgsOptionBuilder 0 s
testMissingRequiredOption 0.001 s
testReuseOptionsTwice 0 s
testMissingRequiredGroup 0 s
testOptionGroupLong 0.001 s
testMissingRequiredOptions 0 s
testShortWithUnexpectedArgument 0 s
testPropertyOverrideValues 0.002 s
testStopAtNonOptionLong 0 s
testNegativeArgument 0.001 s
testOptionalArgsOptionDotBuilder 0.015 s
testStopAtUnexpectedArg 0.001 s
testOptionGroup 0.001 s
testLongWithoutEqualDoubleDash 0 s
testPropertyOptionSingularValue 0.001 s
testPropertyOptionMultipleValues 0 s
testMissingArg 0 s
testPropertyOptionFlags 0.001 s
testPropertyOptionGroup 0 s
testMultipleWithLong 0.001 s
testMultipleWithNull 0.001 s
testUnrecognizedOption 0 s
testPropertyOptionUnexpected 0 s
testSingleDash 0 s
testWithRequiredOption 0 s
testUnlimitedArgs 0.001 s
testPropertyOptionRequired 0 s
testOptionAndRequiredOption 0 s
testLongWithUnexpectedArgument1 0.001 s
testLongWithUnexpectedArgument2 0.001 s
testStopAtNonOptionShort 0 s
testMultiple 0.001 s
testArgumentStartingWithHyphen 0 s
testDoubleDash1 0.001 s
testStopAtExpectedArg 0 s
testShortOptionQuoteHandling 0.001 s
testStopBursting2 0 s
- not supported by the BasicParser -
testShortWithoutEqual 0 s
- not supported by the BasicParser -
testLongOptionWithEqualsQuoteHandling 0 s
- not supported by the BasicParser -
testAmbiguousLongWithoutEqualSingleDash 0 s
- not supported by the BasicParser -
testMissingArgWithBursting 0 s
- not supported by the BasicParser -
testStopBursting 0 s
- not supported by the BasicParser -
testPartialLongOptionSingleDash 0 s
- not supported by the BasicParser -
testLongWithoutEqualSingleDash 0 s
- not supported by the BasicParser -
testUnrecognizedOptionWithBursting 0 s
- not supported by the BasicParser -
testBursting 0 s
- not supported by the BasicParser -
testAmbiguousPartialLongOption1 0 s
- not supported by the BasicParser -
testAmbiguousPartialLongOption2 0 s
- not supported by the BasicParser -
testAmbiguousPartialLongOption3 0 s
- not supported by the BasicParser -
testAmbiguousPartialLongOption4 0 s
- not supported by the BasicParser -
testShortWithEqual 0 s
- not supported by the BasicParser -
testNegativeOption 0 s
- not supported by the BasicParser (CLI-184) -
testLongWithEqualDoubleDash 0 s
- not supported by the BasicParser -
testLongWithEqualSingleDash 0 s
- not supported by the BasicParser -
testUnambiguousPartialLongOption1 0 s
- not supported by the BasicParser -
testUnambiguousPartialLongOption2 0 s
- not supported by the BasicParser -
testUnambiguousPartialLongOption3 0 s
- not supported by the BasicParser -
testUnambiguousPartialLongOption4 0 s
- not supported by the BasicParser -
testShortOptionConcatenatedQuoteHandling 0 s
- not supported by the BasicParser -
testPropertiesOption1 0 s
- not supported by the BasicParser -
testPropertiesOption2 0 s
- not supported by the BasicParser -
testDoubleDash2 0 s
- not supported by the BasicParser -
testAmbiguousLongWithoutEqualSingleDash2 0 s
- not supported by the BasicParser -

OptionBuilderTest

testBaseOptionStringOpt 0.002 s
testTwoCompleteOptions 0 s
testBuilderIsResettedAlways 0.001 s
testCompleteOption 0.001 s
testCreateIncompleteOption 0.001 s
testOptionArgNumbers 0 s
testIllegalOptions 0 s
testSpecialOptChars 0 s
testBaseOptionCharOpt 0.001 s

DisablePartialMatchingTest

testDisablePartialMatching 0.013 s
testRegularPartialMatching 0.001 s

BugCLI325Test

testCli325 0.007 s

GnuParserTest

testSimpleLong 0.001 s
testSimpleShort 0.002 s
testLongOptionQuoteHandling 0.001 s
testOptionalArgsOptionBuilder 0.001 s
testMissingRequiredOption 0.002 s
testShortWithoutEqual 0 s
testReuseOptionsTwice 0.001 s
testMissingRequiredGroup 0.001 s
testOptionGroupLong 0 s
testLongOptionWithEqualsQuoteHandling 0.001 s
testMissingRequiredOptions 0.001 s
testPropertyOverrideValues 0 s
testStopAtNonOptionLong 0 s
testNegativeArgument 0.002 s
testOptionalArgsOptionDotBuilder 0.001 s
testStopAtUnexpectedArg 0.004 s
testOptionGroup 0 s
testLongWithoutEqualDoubleDash 0.001 s
testPropertyOptionSingularValue 0.002 s
testPropertyOptionMultipleValues 0.003 s
testMissingArg 0.004 s
testPropertyOptionFlags 0.002 s
testPropertyOptionGroup 0.002 s
testMultipleWithLong 0.001 s
testMultipleWithNull 0.002 s
testUnrecognizedOption 0.001 s
testPropertyOptionUnexpected 0.001 s
testSingleDash 0.001 s
testShortWithEqual 0 s
testWithRequiredOption 0 s
testUnlimitedArgs 0.001 s
testPropertyOptionRequired 0.001 s
testOptionAndRequiredOption 0.001 s
testLongWithEqualDoubleDash 0 s
testStopAtNonOptionShort 0.001 s
testLongWithEqualSingleDash 0.001 s
testShortOptionConcatenatedQuoteHandling 0.001 s
testMultiple 0.002 s
testArgumentStartingWithHyphen 0.002 s
testPropertiesOption1 0.001 s
testPropertiesOption2 0.001 s
testDoubleDash1 0.001 s
testStopAtExpectedArg 0 s
testShortOptionQuoteHandling 0.001 s
testStopBursting2 0 s
- not supported by the GnuParser -
testAmbiguousLongWithoutEqualSingleDash 0 s
- not supported by the GnuParser -
testMissingArgWithBursting 0 s
- not supported by the GnuParser -
testShortWithUnexpectedArgument 0 s
- not supported by the GnuParser -
testStopBursting 0 s
- not supported by the GnuParser -
testPartialLongOptionSingleDash 0 s
- not supported by the GnuParser -
testLongWithoutEqualSingleDash 0 s
- not supported by the GnuParser -
testUnrecognizedOptionWithBursting 0 s
- not supported by the GnuParser -
testBursting 0 s
- not supported by the GnuParser -
testAmbiguousPartialLongOption1 0 s
- not supported by the GnuParser -
testAmbiguousPartialLongOption2 0 s
- not supported by the GnuParser -
testAmbiguousPartialLongOption3 0 s
- not supported by the GnuParser -
testAmbiguousPartialLongOption4 0 s
- not supported by the GnuParser -
testNegativeOption 0 s
- not supported by the GnuParser (CLI-184) -
testLongWithUnexpectedArgument1 0 s
- not supported by the GnuParser -
testLongWithUnexpectedArgument2 0 s
- not supported by the GnuParser -
testUnambiguousPartialLongOption1 0 s
- not supported by the GnuParser -
testUnambiguousPartialLongOption2 0 s
- not supported by the GnuParser -
testUnambiguousPartialLongOption3 0 s
- not supported by the GnuParser -
testUnambiguousPartialLongOption4 0 s
- not supported by the GnuParser -
testDoubleDash2 0 s
- not supported by the GnuParser -
testAmbiguousLongWithoutEqualSingleDash2 0 s
- not supported by the GnuParser -

DeprecatedAttributesTest

testDefaultToString 0 s
testBuilderNonDefaults 0.001 s
testDefaultBuilder 0 s
testBuilderNonDefaultsToString 0.001 s

BugsTest

test13666_Builder 0 s
test11456 0 s
test11457 0 s
test11458 0.001 s
test11680 0.002 s
test12210 0.001 s
test13425 0 s
test13666 0 s
test13935 0 s
test14786 0 s
test15046 0 s
test15648 0 s
test31148 0.001 s

OptionGroupTest

testTwoOptionsFromDifferentGroup 0.001 s
testNoOptionsExtraArgs 0 s
testGetNames 0.001 s
testTwoValidOptions 0.001 s
testSingleOption 0 s
testToString 0 s
testTwoOptionsFromGroup 0.001 s
testTwoValidLongOptions 0.001 s
testSingleOptionFromGroup 0 s
testTwoOptionsFromGroupWithProperties 0.001 s
testTwoLongOptionsFromGroup 0.001 s
testSingleLongOption 0 s
testValidLongOnlyOptions 0.001 s

SolrCreateToolTest

testHelpFormatter 0.008 s
testHelpFormatterDeprecated 0.002 s

ValuesTest

testTwoArgValues 0 s
testShortArgs 0.001 s
testCharSeparator 0 s
testExtraArgs 0 s
testShortArgsWithValue 0 s
testComplexValues 0 s
testMultipleArgValues 0.001 s

ConverterTests

fileTests 0 s
objectTests 0.001 s
urlTests 0.054 s
classTests 0.003 s
dateTests 0.001 s
numberTests(String, Number)[1] 0.001 s
numberTests(String, Number)[2] 0.009 s
numberTests(String, Number)[3] 0.001 s
numberTests(String, Number)[4] 0.001 s
numberTests(String, Number)[5] 0 s
numberTests(String, Number)[6] 0 s
numberTests(String, Number)[7] 0.005 s
numberTests(String, Number)[8] 0.002 s
numberTests(String, Number)[9] 0 s

Failure Details

[Summary] [Package List] [Test Cases]


testAmbiguousLongWithoutEqualSingleDash
- skipped: not supported by the PosixParser
testLongWithoutEqualSingleDash
- skipped: not supported by the PosixParser
testAmbiguousPartialLongOption4
- skipped: not supported by the PosixParser
testShortWithEqual
- skipped: not supported by the PosixParser
testNegativeOption
- skipped: not supported by the PosixParser (CLI-184)
testLongWithUnexpectedArgument1
- skipped: not supported by the PosixParser
testLongWithEqualSingleDash
- skipped: not supported by the PosixParser
testUnambiguousPartialLongOption4
- skipped: not supported by the PosixParser
testDoubleDash2
- skipped: not supported by the PosixParser
testAmbiguousLongWithoutEqualSingleDash2
- skipped: not supported by the PosixParser
testStopBursting2
- skipped: not supported by the BasicParser
testShortWithoutEqual
- skipped: not supported by the BasicParser
testLongOptionWithEqualsQuoteHandling
- skipped: not supported by the BasicParser
testAmbiguousLongWithoutEqualSingleDash
- skipped: not supported by the BasicParser
testMissingArgWithBursting
- skipped: not supported by the BasicParser
testStopBursting
- skipped: not supported by the BasicParser
testPartialLongOptionSingleDash
- skipped: not supported by the BasicParser
testLongWithoutEqualSingleDash
- skipped: not supported by the BasicParser
testUnrecognizedOptionWithBursting
- skipped: not supported by the BasicParser
testBursting
- skipped: not supported by the BasicParser
testAmbiguousPartialLongOption1
- skipped: not supported by the BasicParser
testAmbiguousPartialLongOption2
- skipped: not supported by the BasicParser
testAmbiguousPartialLongOption3
- skipped: not supported by the BasicParser
testAmbiguousPartialLongOption4
- skipped: not supported by the BasicParser
testShortWithEqual
- skipped: not supported by the BasicParser
testNegativeOption
- skipped: not supported by the BasicParser (CLI-184)
testLongWithEqualDoubleDash
- skipped: not supported by the BasicParser
testLongWithEqualSingleDash
- skipped: not supported by the BasicParser
testUnambiguousPartialLongOption1
- skipped: not supported by the BasicParser
testUnambiguousPartialLongOption2
- skipped: not supported by the BasicParser
testUnambiguousPartialLongOption3
- skipped: not supported by the BasicParser
testUnambiguousPartialLongOption4
- skipped: not supported by the BasicParser
testShortOptionConcatenatedQuoteHandling
- skipped: not supported by the BasicParser
testPropertiesOption1
- skipped: not supported by the BasicParser
testPropertiesOption2
- skipped: not supported by the BasicParser
testDoubleDash2
- skipped: not supported by the BasicParser
testAmbiguousLongWithoutEqualSingleDash2
- skipped: not supported by the BasicParser
testStopBursting2
- skipped: not supported by the GnuParser
testAmbiguousLongWithoutEqualSingleDash
- skipped: not supported by the GnuParser
testMissingArgWithBursting
- skipped: not supported by the GnuParser
testShortWithUnexpectedArgument
- skipped: not supported by the GnuParser
testStopBursting
- skipped: not supported by the GnuParser
testPartialLongOptionSingleDash
- skipped: not supported by the GnuParser
testLongWithoutEqualSingleDash
- skipped: not supported by the GnuParser
testUnrecognizedOptionWithBursting
- skipped: not supported by the GnuParser
testBursting
- skipped: not supported by the GnuParser
testAmbiguousPartialLongOption1
- skipped: not supported by the GnuParser
testAmbiguousPartialLongOption2
- skipped: not supported by the GnuParser
testAmbiguousPartialLongOption3
- skipped: not supported by the GnuParser
testAmbiguousPartialLongOption4
- skipped: not supported by the GnuParser
testNegativeOption
- skipped: not supported by the GnuParser (CLI-184)
testLongWithUnexpectedArgument1
- skipped: not supported by the GnuParser
testLongWithUnexpectedArgument2
- skipped: not supported by the GnuParser
testUnambiguousPartialLongOption1
- skipped: not supported by the GnuParser
testUnambiguousPartialLongOption2
- skipped: not supported by the GnuParser
testUnambiguousPartialLongOption3
- skipped: not supported by the GnuParser
testUnambiguousPartialLongOption4
- skipped: not supported by the GnuParser
testDoubleDash2
- skipped: not supported by the GnuParser
testAmbiguousLongWithoutEqualSingleDash2
- skipped: not supported by the GnuParser