Apache Commons logo Apache Commons CLI

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
676 0 0 59 91.3% 1.714 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 639 0 0 59 90.8% 1.637 s
org.apache.commons.cli.bug 37 0 0 0 100% 0.077 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.006 s
UnrecognizedOptionExceptionTest 1 0 0 0 100% 0.004 s
CommandLineTest 14 0 0 0 100% 0.044 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.221 s
SolrCliTest 1 0 0 0 100% 0.007 s
PosixParserTest 65 0 0 10 84.6% 0.093 s
ValueTest 40 0 0 0 100% 0.119 s
OptionValidatorTest 115 0 0 0 100% 0.244 s
OptionTest 21 0 0 0 100% 0.059 s
PatternOptionBuilderTest 10 0 0 0 100% 0.248 s
HelpFormatterTest 28 0 0 0 100% 0.051 s
UtilTest 2 0 0 0 100% 0.067 s
DefaultParserTest 73 0 0 0 100% 0.110 s
OptionsTest 15 0 0 0 100% 0.015 s
ArgumentIsOptionTest 3 0 0 0 100% 0.003 s
BasicParserTest 65 0 0 27 58.5% 0.044 s
OptionBuilderTest 9 0 0 0 100% 0.013 s
DisablePartialMatchingTest 2 0 0 0 100% 0.027 s
GnuParserTest 65 0 0 22 66.2% 0.062 s
DeprecatedAttributesTest 4 0 0 0 100% 0.004 s
OptionGroupTest 13 0 0 0 100% 0.015 s
SolrCreateToolTest 2 0 0 0 100% 0.007 s
ValuesTest 7 0 0 0 100% 0.007 s
ConverterTests 14 0 0 0 100% 0.165 s

org.apache.commons.cli.bug

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

Test Cases

[Summary] [Package List] [Test Cases]

ApplicationTest

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

BugCLI252Test

testAmbiquousOptionName 0 s
testExactOptionNameMatch 0 s

UnrecognizedOptionExceptionTest

testConstructor 0.003 s

CommandLineTest

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

AlreadySelectedExceptionTest

testConstructor 0 s

BugCLI71Test

testBasic 0 s
testLackOfError 0 s
testMistakenArgument 0.001 s
testGetsDefaultIfOptional 0.001 s

BugCLI13Test

testCLI13 0 s

BugCLI265Test

testShouldParseShortOptionWithoutValue 0.003 s
testShouldParseShortOptionWithValue 0.001 s
testShouldParseConcatenatedShortOptions 0.008 s

ParseExceptionTest

testConstructor 0 s

TypeHandlerTest

testCreateNumber 0 s
testCreateObject 0.003 s
testCreateClass 0.002 s
testCreateFiles 0.004 s
testCreateValue(String, Class, Object)[1] 0.019 s
testCreateValue(String, Class, Object)[2] 0.002 s
testCreateValue(String, Class, Object)[3] 0.004 s
testCreateValue(String, Class, Object)[4] 0.003 s
testCreateValue(String, Class, Object)[5] 0.004 s
testCreateValue(String, Class, Object)[6] 0.004 s
testCreateValue(String, Class, Object)[7] 0.002 s
testCreateValue(String, Class, Object)[8] 0.001 s
testCreateValue(String, Class, Object)[9] 0.002 s
testCreateValue(String, Class, Object)[10] 0.001 s
testCreateValue(String, Class, Object)[11] 0 s
testCreateValue(String, Class, Object)[12] 0.001 s
testCreateValue(String, Class, Object)[13] 0.001 s
testCreateValue(String, Class, Object)[14] 0.001 s
testCreateValue(String, Class, Object)[15] 0 s
testCreateValue(String, Class, Object)[16] 0.001 s
testCreateValue(String, Class, Object)[17] 0 s
testCreateValue(String, Class, Object)[18] 0 s
testCreateValue(String, Class, Object)[19] 0.001 s
testCreateValue(String, Class, Object)[20] 0.001 s
testCreateValue(String, Class, Object)[21] 0 s
testCreateValue(String, Class, Object)[22] 0 s
testCreateValue(String, Class, Object)[23] 0 s
testCreateValue(String, Class, Object)[24] 0.001 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.007 s
testCreateValue(String, Class, Object)[30] 0.001 s
testCreateValue(String, Class, Object)[31] 0.001 s
testCreateValue(String, Class, Object)[32] 0 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.001 s
testCreateValue(String, Class, Object)[37] 0.001 s
testCreateValue(String, Class, Object)[38] 0 s
testCreateValue(String, Class, Object)[39] 0 s
testCreateValue(String, Class, Object)[40] 0 s
testCreateValue(String, Class, Object)[41] 0 s
testCreateValue(String, Class, Object)[42] 0 s
testCreateValue(String, Class, Object)[43] 0 s
testCreateValue(String, Class, Object)[44] 0 s
testCreateValue(String, Class, Object)[45] 0 s
testCreateValue(String, Class, Object)[46] 0.001 s
testCreateValue(String, Class, Object)[47] 0.002 s
testCreateValue(String, Class, Object)[48] 0.003 s
testCreateValue(String, Class, Object)[49] 0.003 s
testCreateValue(String, Class, Object)[50] 0.003 s
testRegister 0.001 s
testOpenFile 0.019 s
testCreateValueExistingFile 0.001 s
testCreateDate(Date)[1] 0 s
testCreateDate(Date)[2] 0.001 s
testCreateDate(Date)[3] 0 s
testCreateFile 0 s
testCreateURL 0.001 s
testnstantiableEquals 0 s

SolrCliTest

testOptions 0.002 s

PosixParserTest

testSimpleLong 0.001 s
testSimpleShort 0 s
testLongOptionQuoteHandling 0 s
testOptionalArgsOptionBuilder 0.001 s
testStopBursting2 0.002 s
testMissingRequiredOption 0 s
testShortWithoutEqual 0 s
testReuseOptionsTwice 0.001 s
testMissingRequiredGroup 0.001 s
testOptionGroupLong 0.001 s
testLongOptionWithEqualsQuoteHandling 0.001 s
testMissingArgWithBursting 0.001 s
testMissingRequiredOptions 0 s
testShortWithUnexpectedArgument 0 s
testPropertyOverrideValues 0.001 s
testStopAtNonOptionLong 0.004 s
testNegativeArgument 0.001 s
testOptionalArgsOptionDotBuilder 0.004 s
testStopBursting 0.006 s
testStopAtUnexpectedArg 0.002 s
testPartialLongOptionSingleDash 0.001 s
testOptionGroup 0.002 s
testLongWithoutEqualDoubleDash 0 s
testPropertyOptionSingularValue 0 s
testPropertyOptionMultipleValues 0.002 s
testMissingArg 0.001 s
testPropertyOptionFlags 0.001 s
testPropertyOptionGroup 0 s
testUnrecognizedOptionWithBursting 0 s
testMultipleWithLong 0 s
testUnrecognizedOption 0.001 s
testBursting 0 s
testAmbiguousPartialLongOption1 0 s
testAmbiguousPartialLongOption2 0.001 s
testAmbiguousPartialLongOption3 0.001 s
testPropertyOptionUnexpected 0 s
testSingleDash 0.001 s
testWithRequiredOption 0.001 s
testUnlimitedArgs 0.001 s
testPropertyOptionRequired 0.001 s
testOptionAndRequiredOption 0 s
testLongWithEqualDoubleDash 0 s
testLongWithUnexpectedArgument2 0 s
testStopAtNonOptionShort 0 s
testUnambiguousPartialLongOption1 0.001 s
testUnambiguousPartialLongOption2 0.001 s
testUnambiguousPartialLongOption3 0 s
testShortOptionConcatenatedQuoteHandling 0 s
testMultiple 0.001 s
testArgumentStartingWithHyphen 0 s
testPropertiesOption1 0 s
testPropertiesOption2 0.001 s
testDoubleDash1 0 s
testStopAtExpectedArg 0.001 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.002 s
testShortOptionalNArgValuesWithOption 0.001 s
testShortOptionalArgValues(CommandLineParser)[1] 0.005 s
testShortOptionalArgValues(CommandLineParser)[2] 0.002 s
testShortOptionalArgValuesWithOption(CommandLineParser)[1] 0.002 s
testShortOptionalArgValuesWithOption(CommandLineParser)[2] 0.001 s
testShortOptionalArgValueWithOption(CommandLineParser)[1] 0.001 s
testShortOptionalArgValueWithOption(CommandLineParser)[2] 0.001 s
testLongOptionalArgValue(CommandLineParser)[1] 0.001 s
testLongOptionalArgValue(CommandLineParser)[2] 0.001 s
testShortOptionalArgNoValue(CommandLineParser)[1] 0.001 s
testShortOptionalArgNoValue(CommandLineParser)[2] 0.001 s
testShortNoArgWithOption 0.001 s
testLongWithArg 0.001 s
testLongOptionalNArgValuesWithOption(CommandLineParser)[1] 0.001 s
testLongOptionalNArgValuesWithOption(CommandLineParser)[2] 0.010 s
testLongOptionalNArgValues(CommandLineParser)[1] 0.001 s
testLongOptionalNArgValues(CommandLineParser)[2] 0 s
testShortWithArgWithOption 0 s
testShortWithArg 0.001 s
testShortOptionalNArgValuesSeparated 0.001 s
testLongOptionalArgValueWithOption(CommandLineParser)[1] 0.001 s
testLongOptionalArgValueWithOption(CommandLineParser)[2] 0.001 s
testLongOptionalArgValues(CommandLineParser)[1] 0.001 s
testLongOptionalArgValues(CommandLineParser)[2] 0.001 s
testShortOptionalNArgValues(CommandLineParser)[1] 0.001 s
testShortOptionalNArgValues(CommandLineParser)[2] 0.001 s
testLongNoArgWithOption 0.001 s
testLongOptionalNoValueWithOption(CommandLineParser)[1] 0 s
testLongOptionalNoValueWithOption(CommandLineParser)[2] 0.001 s
testLongNoArg 0.002 s
testShortNoArg 0.001 s
testLongOptionalNoValue(CommandLineParser)[1] 0.003 s
testLongOptionalNoValue(CommandLineParser)[2] 0.003 s
testShortOptionalArgValue(CommandLineParser)[1] 0.002 s
testShortOptionalArgValue(CommandLineParser)[2] 0.002 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 s
validateTest(String, boolean, String)[2] 0.001 s
validateTest(String, boolean, String)[3] 0.001 s
validateTest(String, boolean, String)[4] 0 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 s
validateTest(String, boolean, String)[14] 0.001 s
validateTest(String, boolean, String)[15] 0.001 s
validateTest(String, boolean, String)[16] 0 s
validateTest(String, boolean, String)[17] 0 s
validateTest(String, boolean, String)[18] 0 s
validateTest(String, boolean, String)[19] 0 s
validateTest(String, boolean, String)[20] 0 s
validateTest(String, boolean, String)[21] 0.001 s
validateTest(String, boolean, String)[22] 0.001 s
validateTest(String, boolean, String)[23] 0.001 s
validateTest(String, boolean, String)[24] 0 s
validateTest(String, boolean, String)[25] 0.001 s
validateTest(String, boolean, String)[26] 0.001 s
validateTest(String, boolean, String)[27] 0.001 s
validateTest(String, boolean, String)[28] 0.001 s
validateTest(String, boolean, String)[29] 0 s
validateTest(String, boolean, String)[30] 0 s
validateTest(String, boolean, String)[31] 0.002 s
validateTest(String, boolean, String)[32] 0 s
validateTest(String, boolean, String)[33] 0.003 s
validateTest(String, boolean, String)[34] 0.003 s
validateTest(String, boolean, String)[35] 0.002 s
validateTest(String, boolean, String)[36] 0.001 s
validateTest(String, boolean, String)[37] 0.001 s
validateTest(String, boolean, String)[38] 0 s
validateTest(String, boolean, String)[39] 0 s
validateTest(String, boolean, String)[40] 0.001 s
validateTest(String, boolean, String)[41] 0.001 s
validateTest(String, boolean, String)[42] 0.001 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.001 s
validateTest(String, boolean, String)[48] 0 s
validateTest(String, boolean, String)[49] 0 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.001 s
validateTest(String, boolean, String)[55] 0.001 s
validateTest(String, boolean, String)[56] 0.001 s
validateTest(String, boolean, String)[57] 0.001 s
validateTest(String, boolean, String)[58] 0.001 s
validateTest(String, boolean, String)[59] 0 s
validateTest(String, boolean, String)[60] 0 s
validateTest(String, boolean, String)[61] 0.001 s
validateTest(String, boolean, String)[62] 0.001 s
validateTest(String, boolean, String)[63] 0 s
validateTest(String, boolean, String)[64] 0 s
validateTest(String, boolean, String)[65] 0.001 s
validateTest(String, boolean, String)[66] 0.001 s
validateTest(String, boolean, String)[67] 0.001 s
validateTest(String, boolean, String)[68] 0 s
validateTest(String, boolean, String)[69] 0 s
validateTest(String, boolean, String)[70] 0.002 s
validateTest(String, boolean, String)[71] 0.001 s
validateTest(String, boolean, String)[72] 0.001 s
validateTest(String, boolean, String)[73] 0.001 s
validateTest(String, boolean, String)[74] 0.001 s
validateTest(String, boolean, String)[75] 0 s
validateTest(String, boolean, String)[76] 0 s
validateTest(String, boolean, String)[77] 0 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.001 s
validateTest(String, boolean, String)[82] 0.003 s
validateTest(String, boolean, String)[83] 0.002 s
validateTest(String, boolean, String)[84] 0.003 s
validateTest(String, boolean, String)[85] 0.001 s
validateTest(String, boolean, String)[86] 0.001 s
validateTest(String, boolean, String)[87] 0.002 s
validateTest(String, boolean, String)[88] 0.003 s
validateTest(String, boolean, String)[89] 0.001 s
validateTest(String, boolean, String)[90] 0.001 s
validateTest(String, boolean, String)[91] 0 s
validateTest(String, boolean, String)[92] 0 s
validateTest(String, boolean, String)[93] 0 s
validateTest(String, boolean, String)[94] 0 s
validateTest(String, boolean, String)[95] 0 s
validateTest(String, boolean, String)[96] 0 s
validateTest(String, boolean, String)[97] 0 s
validateTest(String, boolean, String)[98] 0 s
validateTest(String, boolean, String)[99] 0.001 s
validateTest(String, boolean, String)[100] 0.001 s
validateTest(String, boolean, String)[101] 0 s
validateTest(String, boolean, String)[102] 0 s
validateTest(String, boolean, String)[103] 0.001 s
validateTest(String, boolean, String)[104] 0.001 s
validateTest(String, boolean, String)[105] 0 s
validateTest(String, boolean, String)[106] 0.001 s
validateTest(String, boolean, String)[107] 0.002 s
validateTest(String, boolean, String)[108] 0.004 s
validateTest(String, boolean, String)[109] 0.002 s
validateTest(String, boolean, String)[110] 0.001 s
validateTest(String, boolean, String)[111] 0.002 s
validateTest(String, boolean, String)[112] 0.037 s
validateTest(String, boolean, String)[113] 0.001 s
validateTest(String, boolean, String)[114] 0.001 s

BugCLI18Test

testCLI18 0 s

OptionTest

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

PatternOptionBuilderTest

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

BugCLI162Test

testInfiniteLoop 0.001 s
testLongLineChunkingIndentIgnored 0.001 s
testLongLineChunking 0 s
testPrintHelpLongLines 0.007 s

BugCLI266Test

testOptionComparatorInsertedOrder 0.003 s
testOptionComparatorDefaultOrder 0.004 s

HelpFormatterTest

testUsageWithLongOptSeparator 0.002 s
testRenderWrappedTextSingleLine 0 s
testIndentedHeaderAndFooter 0 s
testPrintSortedUsageWithNullComparator 0 s
testAccessors 0 s
testRtrim 0.001 s
testPrintRequiredOptionGroupUsage 0.001 s
testHelpWithLongOptSeparator 0.001 s
testRenderWrappedTextSingleLinePadded 0 s
testRenderWrappedTextMultiLine 0.002 s
testPrintUsage 0.003 s
testPrintSortedUsage 0.004 s
testPrintHelpWithEmptySyntax 0.003 s
testPrintOptions 0.001 s
testAutomaticUsage 0.001 s
testDefaultArgName 0.001 s
testPrintHelpNewlineFooter 0.002 s
testPrintHelpNewlineHeader 0.001 s
testRenderWrappedTextWordCut 0 s
testHeaderStartingWithLineSeparator0 0 s
testHeaderStartingWithLineSeparator1 0.001 s
testOptionWithoutShortFormat 0.001 s
testRenderWrappedTextMultiLinePadded 0.001 s
testPrintOptionGroupUsage 0.001 s
testPrintOptionWithEmptyArgNameUsage 0 s
testRenderWrappedTextSingleLinePadded2 0 s
testOptionWithoutShortFormat2 0 s
testFindWrapPos 0.001 s

UtilTest

testStripLeadingAndTrailingQuotes 0.032 s
testStripLeadingHyphens 0.001 s

BugCLI148Test

testWorkaround1 0.001 s
testWorkaround2 0.001 s

BugCLI312Test

testNoOptionValues 0.001 s
testPropertyStyleOption_withGetOptionProperties 0.001 s
testPropertyStyleOption_withGetOptions 0.001 s

BugCLI133Test

testOrder 0.001 s

DefaultParserTest

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

OptionsTest

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

ArgumentIsOptionTest

testOptionWithArgument 0 s
testOptionAndOptionWithArgument 0.001 s
testOption 0.001 s

BasicParserTest

testSimpleLong 0.001 s
testSimpleShort 0 s
testLongOptionQuoteHandling 0.001 s
testOptionalArgsOptionBuilder 0.001 s
testMissingRequiredOption 0 s
testReuseOptionsTwice 0 s
testMissingRequiredGroup 0 s
testOptionGroupLong 0.001 s
testMissingRequiredOptions 0 s
testShortWithUnexpectedArgument 0 s
testPropertyOverrideValues 0.001 s
testStopAtNonOptionLong 0 s
testNegativeArgument 0.001 s
testOptionalArgsOptionDotBuilder 0.001 s
testStopAtUnexpectedArg 0 s
testOptionGroup 0.001 s
testLongWithoutEqualDoubleDash 0 s
testPropertyOptionSingularValue 0.001 s
testPropertyOptionMultipleValues 0 s
testMissingArg 0 s
testPropertyOptionFlags 0 s
testPropertyOptionGroup 0.003 s
testMultipleWithLong 0.001 s
testUnrecognizedOption 0.001 s
testPropertyOptionUnexpected 0 s
testSingleDash 0 s
testWithRequiredOption 0 s
testUnlimitedArgs 0.001 s
testPropertyOptionRequired 0.001 s
testOptionAndRequiredOption 0 s
testLongWithUnexpectedArgument1 0.001 s
testLongWithUnexpectedArgument2 0 s
testStopAtNonOptionShort 0 s
testMultiple 0.001 s
testArgumentStartingWithHyphen 0 s
testDoubleDash1 0 s
testStopAtExpectedArg 0.001 s
testShortOptionQuoteHandling 0 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.001 s
testTwoCompleteOptions 0.004 s
testBuilderIsResettedAlways 0.001 s
testCompleteOption 0.001 s
testCreateIncompleteOption 0 s
testOptionArgNumbers 0 s
testIllegalOptions 0.001 s
testSpecialOptChars 0.001 s
testBaseOptionCharOpt 0 s

DisablePartialMatchingTest

testDisablePartialMatching 0.018 s
testRegularPartialMatching 0.004 s

BugCLI325Test

testCli325 0 s

GnuParserTest

testSimpleLong 0 s
testSimpleShort 0 s
testLongOptionQuoteHandling 0.001 s
testOptionalArgsOptionBuilder 0.001 s
testMissingRequiredOption 0 s
testShortWithoutEqual 0 s
testReuseOptionsTwice 0 s
testMissingRequiredGroup 0.001 s
testOptionGroupLong 0.001 s
testLongOptionWithEqualsQuoteHandling 0 s
testMissingRequiredOptions 0 s
testPropertyOverrideValues 0.001 s
testStopAtNonOptionLong 0 s
testNegativeArgument 0 s
testOptionalArgsOptionDotBuilder 0.001 s
testStopAtUnexpectedArg 0.001 s
testOptionGroup 0 s
testLongWithoutEqualDoubleDash 0 s
testPropertyOptionSingularValue 0.001 s
testPropertyOptionMultipleValues 0.001 s
testMissingArg 0 s
testPropertyOptionFlags 0 s
testPropertyOptionGroup 0 s
testMultipleWithLong 0.001 s
testUnrecognizedOption 0.001 s
testPropertyOptionUnexpected 0 s
testSingleDash 0 s
testShortWithEqual 0.001 s
testWithRequiredOption 0 s
testUnlimitedArgs 0 s
testPropertyOptionRequired 0.001 s
testOptionAndRequiredOption 0.001 s
testLongWithEqualDoubleDash 0 s
testStopAtNonOptionShort 0 s
testLongWithEqualSingleDash 0 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 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 s

BugsTest

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

OptionGroupTest

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

SolrCreateToolTest

testHelpFormatter 0.004 s
testHelpFormatterDeprecated 0.002 s

ValuesTest

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

ConverterTests

fileTests 0 s
objectTests 0.003 s
urlTests 0.136 s
classTests 0.001 s
dateTests 0.002 s
numberTests(String, Number)[1] 0.001 s
numberTests(String, Number)[2] 0 s
numberTests(String, Number)[3] 0 s
numberTests(String, Number)[4] 0 s
numberTests(String, Number)[5] 0.001 s
numberTests(String, Number)[6] 0.001 s
numberTests(String, Number)[7] 0.003 s
numberTests(String, Number)[8] 0.002 s
numberTests(String, Number)[9] 0.001 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