Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
935 0 0 1 99.9% 8.111 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
com.opencsv.bean 399 0 0 0 100% 7.147 s
integrationTest.SR121 1 0 0 0 100% 0.001 s
integrationTest.SR120 2 0 0 0 100% 0.003 s
integrationTest.Bug259 2 0 0 0 100% 0 s
integrationTest.Bug257 2 0 0 0 100% 0 s
integrationTest.SR113 5 0 0 0 100% 0.010 s
integrationTest.Bug258 2 0 0 1 50.0% 0.001 s
integrationTest.FR143 1 0 0 0 100% 0.001 s
integrationTest.issue3402853 1 0 0 0 100% 0.061 s
com.opencsv.stream.reader 6 0 0 0 100% 0 s
integrationTest.BeanTests 4 0 0 0 100% 0.012 s
integrationTest.Bug252 2 0 0 0 100% 0.006 s
com.opencsv.bean.comparator 3 0 0 0 100% 0.002 s
integrationTest.isClosed 1 0 0 0 100% 0.010 s
integrationTest.FR138 1 0 0 0 100% 0.003 s
com.opencsv 416 0 0 0 100% 0.736 s
com.opencsv.validators 51 0 0 0 100% 0.056 s
com.opencsv.exceptions 13 0 0 0 100% 0.014 s
integrationTest.writeThenRead 3 0 0 0 100% 0.017 s
com.opencsv.bean.validators 14 0 0 0 100% 0.017 s
com.opencsv.bean.processor 3 0 0 0 100% 0.006 s
integrationTest.ParserDoubleQuoteHandling 3 0 0 0 100% 0.008 s

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

com.opencsv.bean

- Class Tests Errors Failures Skipped Success Rate Time
CsvToBeanFilterTest 4 0 0 0 100% 0.003 s
RecursionTest 12 0 0 0 100% 0.011 s
ColumnPositionMappingStrategyTest 10 0 0 0 100% 0.009 s
AnnotationTest 47 0 0 0 100% 0.115 s
StatefulBeanToCsvWithCSVWriterTest 29 0 0 0 100% 0.128 s
CsvToBeanTest 27 0 0 0 100% 0.070 s
JoinTest 47 0 0 0 100% 0.128 s
StatefulBeanToCsvPerformanceTest 1 0 0 0 100% 5.968 s
ProfileTest 8 0 0 0 100% 0.044 s
ConverterUUIDTest 22 0 0 0 100% 0.013 s
CsvToBeanAsIteratorTest 15 0 0 0 100% 0.013 s
NumberTest 24 0 0 0 100% 0.045 s
ExceptionHandlerTest 8 0 0 0 100% 0.059 s
HeaderColumnNameTranslateMappingStrategyTest 6 0 0 0 100% 0.013 s
FuzzyMappingTest 6 0 0 0 100% 0.011 s
TemporalTest 16 0 0 0 100% 0.226 s
CollectionSplitTest 42 0 0 0 100% 0.051 s
OptionalTest 4 0 0 0 100% 0.005 s
HeaderColumnNameMappingStrategyTest 7 0 0 0 100% 0.006 s
NonPrimitiveConversionTest 6 0 0 0 100% 0.009 s
CsvToBeanBuilderTest 1 0 0 0 100% 0 s
CsvToBeanDoubleTest 1 0 0 0 100% 0.004 s
IgnoreTest 14 0 0 0 100% 0.034 s
StatefulBeanToCsvTest 42 0 0 0 100% 0.182 s

integrationTest.SR121

- Class Tests Errors Failures Skipped Success Rate Time
SR121Test 1 0 0 0 100% 0.001 s

integrationTest.SR120

- Class Tests Errors Failures Skipped Success Rate Time
AllowSpacesForRequiredFieldsHeadersTest 2 0 0 0 100% 0.003 s

integrationTest.Bug259

- Class Tests Errors Failures Skipped Success Rate Time
DoubleNewLineTest 2 0 0 0 100% 0 s

integrationTest.Bug257

- Class Tests Errors Failures Skipped Success Rate Time
Bug257Test 2 0 0 0 100% 0 s

integrationTest.SR113

- Class Tests Errors Failures Skipped Success Rate Time
SR113Test 5 0 0 0 100% 0.010 s

integrationTest.Bug258

- Class Tests Errors Failures Skipped Success Rate Time
BeanUtilsBeanTest 2 0 0 1 50.0% 0.001 s

integrationTest.FR143

- Class Tests Errors Failures Skipped Success Rate Time
UUIDTest 1 0 0 0 100% 0.001 s

integrationTest.issue3402853

- Class Tests Errors Failures Skipped Success Rate Time
HeaderColumnNameMappingStrategyUserTest 1 0 0 0 100% 0.061 s

com.opencsv.stream.reader

- Class Tests Errors Failures Skipped Success Rate Time
LineReaderTest 6 0 0 0 100% 0 s

integrationTest.BeanTests

- Class Tests Errors Failures Skipped Success Rate Time
CsvToBeanShouldUseNullFieldIndicatorForStringsTest 4 0 0 0 100% 0.012 s

integrationTest.Bug252

- Class Tests Errors Failures Skipped Success Rate Time
MiniCaseCsvTest 2 0 0 0 100% 0.006 s

com.opencsv.bean.comparator

- Class Tests Errors Failures Skipped Success Rate Time
ComparatorTest 3 0 0 0 100% 0.002 s

integrationTest.isClosed

- Class Tests Errors Failures Skipped Success Rate Time
isClosedTest 1 0 0 0 100% 0.010 s

integrationTest.FR138

- Class Tests Errors Failures Skipped Success Rate Time
FR138Test 1 0 0 0 100% 0.003 s

com.opencsv

- Class Tests Errors Failures Skipped Success Rate Time
CSVReaderTest 37 0 0 0 100% 0.013 s
CSVReaderHeaderAwareBuilderTest 13 0 0 0 100% 0.018 s
CSVIteratorTest 4 0 0 0 100% 0.019 s
ResultSetHelperServiceTest 33 0 0 0 100% 0.026 s
ResultSetColumnNameHelperServiceTest 19 0 0 0 100% 0.087 s
CSVParserSpec 14 0 0 0 100% 0.137 s
RFC4180ParserSpec 75 0 0 0 100% 0.034 s
CSVParserBuilderTest 7 0 0 0 100% 0.001 s
CSVParserWriterSpec 9 0 0 0 100% 0.010 s
CSVWriterBuilderTest 17 0 0 0 100% 0.044 s
CSVReaderHeaderAwareWithValidatorsTest 6 0 0 0 100% 0.003 s
UniCodeTest 10 0 0 0 100% 0.001 s
OpencsvTest 1 0 0 0 100% 0 s
CSVWriterTest 39 0 0 0 100% 0.051 s
CsvReaderHeaderAwareTest 14 0 0 0 100% 0.003 s
CSVReaderAndParserIntegrationSpec 6 0 0 0 100% 0.009 s
CSVReaderBuilderTest 12 0 0 0 100% 0.003 s
RFC4180ParserBuilderTest 3 0 0 0 100% 0 s
CSVReaderWithValidatorsTest 6 0 0 0 100% 0.001 s
CSVIteratorSpec 4 0 0 0 100% 0.230 s
CSVReaderWithRowProcessorTest 2 0 0 0 100% 0 s
Bug63Test 1 0 0 0 100% 0.002 s
CSVReaderSpec 11 0 0 0 100% 0.033 s
TestUtilitiesTest 1 0 0 0 100% 0 s
CSVParserBuilderSpec 2 0 0 0 100% 0.003 s
RFC4180ParserTest 3 0 0 0 100% 0.001 s
CSVParserTest 65 0 0 0 100% 0.007 s
CSVReaderHeaderAwareWithRowProcessorTest 2 0 0 0 100% 0 s

com.opencsv.validators

- Class Tests Errors Failures Skipped Success Rate Time
LineValidatorAggregatorTest 19 0 0 0 100% 0.021 s
RowFunctionValidatorTest 9 0 0 0 100% 0.002 s
RowMustHaveSameNumberOfColumnsAsFirstRowValidatorTest 6 0 0 0 100% 0.001 s
RowValidatorAggregatorTest 17 0 0 0 100% 0.032 s

com.opencsv.exceptions

- Class Tests Errors Failures Skipped Success Rate Time
CsvDataTypeMismatchExceptionTest 2 0 0 0 100% 0.002 s
CsvBadConverterExceptionTest 2 0 0 0 100% 0.003 s
CsvConstraintViolationExceptionTest 2 0 0 0 100% 0.002 s
CsvBeanIntrospectionExceptionTest 5 0 0 0 100% 0.006 s
CsvRequiredFieldEmptyExceptionTest 2 0 0 0 100% 0.001 s

integrationTest.writeThenRead

- Class Tests Errors Failures Skipped Success Rate Time
WriteThenReadTest 3 0 0 0 100% 0.017 s

com.opencsv.bean.validators

- Class Tests Errors Failures Skipped Success Rate Time
BeanFieldValidatorTest 14 0 0 0 100% 0.017 s

com.opencsv.bean.processor

- Class Tests Errors Failures Skipped Success Rate Time
BeanFieldProcessorTest 3 0 0 0 100% 0.006 s

integrationTest.ParserDoubleQuoteHandling

- Class Tests Errors Failures Skipped Success Rate Time
DoubleQuoteHandlingTest 3 0 0 0 100% 0.008 s

Test Cases

[Summary] [Package List] [Test Cases]

CSVReaderTest

attemptToReadCloseStreamReturnsNull 0.001 s
separatorAndEscapeMustBeDifferent 0 s
testIssue2992134OutOfPlaceQuotes 0 s
bug106ParseLineWithCarriageReturnNewLineStrictQuotes 0.001 s
readerCanHandleNullInString 0 s
testSkippingLines 0 s
testSingleQuoteWhenDoubleQuoteIsQuoteChar 0 s
issue108ReaderPlaysWellWithChannels 0 s
quoteAndEscapeMustBeDifferent 0 s
testParseLine 0.001 s
testPeek 0.001 s
testNormalParsedLine 0 s
separatorAndQuoteMustBeDifferent 0.001 s
featureRequest60TreatEmptyFieldsAsNull 0 s
bug233KeepCarriageReturnShouldRemoveCRAtEndOfLine 0 s
featureRequest60TreatEmptyFieldsDelimitedOrNotAsNull 0.001 s
testEscapedQuote 0 s
testIteratorFunctionality 0.001 s
testQuotedParsedLine 0 s
testIteratorWithBadReader 0 s
linesAndRecordsRead 0 s
parseQuotedStringWithDefinedSeparator 0.001 s
testReadMultilineClosingQuoteMissing 0 s
testASingleQuoteAsDataElement 0 s
testEscapedEscape 0 s
featureRequest60TreatEmptyDelimitedFieldsAsNull 0 s
testASingleQuoteAsDataElementWithEmptyField 0 s
testSkippingLinesWithDifferentEscape 0 s
featureRequest60ByDefaultEmptyFieldsAreBlank 0 s
testIssue102 0.001 s
testParseLineStrictQuote 0 s
testMultilineLimit 0 s
testOptionalConstructors 0.001 s
testParseAll 0 s
canCloseReader 0 s
canCreateIteratorFromReader 0 s
testSpacesAtEndOfString 0 s

CSVReaderHeaderAwareBuilderTest

testWithSkipLinesZero 0 s
builderWithErrorLocale 0 s
testWithVerifyReader 0 s
builderWithNullFieldIndicator 0 s
shouldThrowExceptionWhenCannotReadHeader 0.006 s
builderWithMultilineLimit 0 s
testWithCSVParser 0.010 s
testWithSkipLines 0 s
testWithCSVParserNull 0 s
testWithSkipLinesNegative 0 s
testDefaultBuilder 0 s
testNullReader 0.001 s
testWithKeepCR 0 s

CsvToBeanFilterTest

testColumnNameTranslationWithLineFilteringAndEmptyState 0.001 s
testColumnNameTranslationWithLineFiltering 0.001 s
testFilterWithParallelParsing 0.001 s
testFilterWithIteratorParsing 0 s

RecursionTest

testWritingHeaderNamesNoAnnotations 0.001 s
testPrimitives 0.001 s
testReadingHeaderNamesNoAnnotations 0.002 s
testReadingColumnPositions 0.001 s
testWritingHeaderNames 0.001 s
testWritingColumnPositions 0 s
testDuplicateRecursion 0.001 s
testNullMemberVariableRequired 0 s
testNullMemberVariableOptional 0.001 s
testEmbeddedBeanNoNullaryConstructor 0.001 s
testReadingHeaderNames 0.001 s
testBindAndRecurse 0.001 s

SR113Test

testWithNullStringNoState 0.002 s
enforceColumns 0.002 s
enforceColumnsWithColumn 0.002 s
writeWithNullField 0.001 s
testWithNullStringNoStateTranslate 0.001 s

ColumnPositionMappingStrategyTest

testParseWithTrailingSpaces 0.001 s
throwsIllegalStateExceptionIfTypeNotSet 0 s
testParse 0.001 s
getColumnNamesWhenEmptyMapping 0 s
testGetColumnMapping 0.001 s
getColumnNamesWhenNullColumnName 0.001 s
getColumnNamesWhenNullArray 0 s
testGetColumnNames 0 s
testParseEmptyInput 0.001 s
testGetColumnNamesArray 0.001 s

CsvToBeanShouldUseNullFieldIndicatorForStringsTest

emptySeparators 0.003 s
both 0.002 s
emptyQuotes 0.002 s
neither 0.004 s

CSVIteratorTest

removeThrowsUnsupportedOperationException 0.018 s
hasNextWorks 0.001 s
initialReadReturnsStrings 0 s
readerExceptionCausesRunTimeException 0 s

ResultSetHelperServiceTest

getObjectFromResultSet 0.001 s
issue121ConvertingNaNForDoubleOrFloat 0.003 s
getBigIntFromResultSet 0.001 s
formatNumbersObjects 0.001 s
formatNumbersFloatPrimitives 0 s
customNullDefault 0.001 s
getBigDecimalFromResultSet 0.001 s
getLargeNClobFromResultSet 0.001 s
getEmptyNClobFromResultSet 0 s
getTimestampFromResultSet 0 s
getTimestampFromResultSetWithCustomFormat 0 s
canPrintColumnNames 0.001 s
getIntegerFromResultSet 0 s
getTimeFromResultSet 0.001 s
getCharFromResultSet 0.002 s
getUnsupportedFromResultSet 0 s
setDateTimeFormat 0.001 s
getCharHandlesNulls 0.001 s
getBooleanFromResultSet 0.001 s
setDateFormat 0.001 s
formatNumbersIntPrimitives 0.001 s
getNCharFromResultSet 0 s
issue121ConvertingNegativeInfinityForDoubleOrFloat 0.001 s
getEmptyClobFromResultSet 0 s
getNCharHandlesNulls 0 s
getDateFromResultSetUsingCustomFormat 0.001 s
formatBigInt 0 s
getLargeClobFromResultSet 0.001 s
getClobFromResultSet 0 s
issue121ConvertingPositiveInfinityForDoubleOrFloat 0.001 s
getDateFromResultSet 0 s
getBitFromResultSet 0 s
getNClobFromResultSet 0.001 s

ResultSetColumnNameHelperServiceTest

cannotHaveNullColumnName 0 s
getSubsetWithTrim 0.072 s
getCharSetWithNullAndTrim 0.002 s
cannotHaveEmptyHeaderName 0 s
cannotHaveEmptyColumnName 0 s
numberOfColumnsNamesMustMatchNumberOfHeaders 0 s
getColumnNamesWithSubsetOutOfOrder 0.001 s
getTimestampFromResultSetWithCustomFormat 0.001 s
canPrintColumnNames 0.001 s
setDateTimeFormat 0.002 s
getBooleanSubsetFromResultSet 0.001 s
getBooleanFromResultSet 0.002 s
setDateFormat 0.001 s
cannotHaveSpaceHeaderName 0 s
getColumnNamesThrowsExceptionIfColumnDoesNotExist 0.001 s
cannotHaveSpaceColumnName 0.001 s
setColumnNames 0 s
getSubsetFromResultSetWithCustomFormat 0.001 s
cannotHaveNullHeaderName 0 s

MiniCaseCsvTest

testExportByName 0.004 s
testExportByPosition 0.002 s

LineReaderTest

lineReaderWillKeepCR 0 s
lineReaderNoCRWillHandleEmptyString 0 s
lineReaderNoCRWillHandleStringWithNoLinefeed 0 s
lineReaderKeepingCRWillHandleStringWithNoLinefeed 0 s
lineReaderKeepingCRWillHandleEmptyString 0 s
lineReaderWillRemoveCR 0 s

AnnotationTest

testDateAnnotationOnNondateReading 0.001 s
testMapByPositionComplexTypeWrongType 0.003 s
testCustomByPositionWrappedPrimitiveDataTypeMismatch 0.001 s
testCaptureWithNullField 0.004 s
testOptionalDateUnparseableInput 0.002 s
testCaptureByPositionInvalidRegex 0 s
testRequiredDateEmptyInput 0.005 s
testMapByNameMismatchingType 0.007 s
testDateAnnotationOnNondateWriting 0 s
testIllegalEnumValue 0.003 s
testCaptureByPositionRegexWithoutCaptureGroup 0.001 s
testMapByPositionUnbindableField 0.001 s
testRequiredColumnNonexistentHeaderNameMapping 0.002 s
testGoodDerivedDataByPositionTypeWithBuilder 0.005 s
testMapRequiredByNameMissingData 0.003 s
testCaptureByNameInvalidRegex 0.001 s
testIllegalCurrency 0.003 s
testCustomByNameWrappedPrimitiveDataTypeMismatch 0.002 s
testGoodDerivedDataByPositionTypeWithSet 0.003 s
testRequiredColumnNonexistentColumnPositionMapping 0.003 s
testPrematureEOLUsingHeaderNameMapping 0.003 s
testBadDataExceptionsCapturedUnordered 0.004 s
testWriteFormatWithColumnPositions 0.003 s
testGoodDataByPosition 0.003 s
testMultipleExceptionsPerLine 0.003 s
testGoodDataByNameUnordered 0.006 s
testMapByNameUnbindableField 0 s
testGoodDataByName 0.002 s
testSetterThrowsException 0.001 s
testUnparseableLocaleSpecificDate 0.003 s
testAnonymousHeaders 0.002 s
testMapByPositionMismatchingType 0.005 s
testExceptionsSuppressed 0.001 s
testWriteFormatWithHeaderNames 0.001 s
testCustomConverterRequiredEmptyInput 0.001 s
testWrongNumberOfColumnsAllowedByName 0.008 s
testFormatByNameWriteInvalidFormatString 0 s
testGoodDataByPositionUnordered 0.003 s
testMapRequiredByPositionMissingData 0.002 s
testMapByNameComplexTypeWrongType 0.001 s
testGoodDerivedDataByName 0.003 s
testCaptureByNameRegexWithoutCaptureGroup 0 s
testUnparseableLocaleInspecificDate 0.003 s
testFormatByPositionWriteInvalidFormatString 0 s
testBadConverter 0 s
testGoodDataCustomByName 0.002 s
testGoodDataCustomByPosition 0.002 s

StatefulBeanToCsvWithCSVWriterTest

bindCustomConverterToWrongDataType 0.001 s
writeNullRequiredDate 0.005 s
writeNullRequiredCustom 0.002 s
writeBadBeanUnorderedCaptureExceptions 0.003 s
writeWithoutAnnotations 0 s
multipleWritesCapturedExceptions 0.005 s
writeCustomByPosition 0.002 s
writeBindByPositionUnknownType 0 s
writeBindByNameUnknownType 0 s
writeSingleOptionallyQuotedBean 0.006 s
writeSingleOptionallyQuotedBeanWithPlainCSVWriter 0.004 s
writeSingleQuotedBean 0.005 s
writeOptionalFieldsWithNull 0.006 s
writeGetterPrivate 0 s
readCapturedExceptionsIsDestructive 0.006 s
writeSingleBeanNoQuotes 0.005 s
writeMultipleBeansOrdered 0.006 s
writeDerivedSuperclass 0.006 s
writeSpecifiedStrategy 0.006 s
writeDerivedSubclass 0.006 s
writeCustomByName 0.002 s
writeOptionalNonContiguousField 0.005 s
writeManyFirstBeanIsBad 0.022 s
writeMultipleBeansUnordered 0.006 s
writeGetterMissing 0 s
writeNullRequiredWrappedPrimitive 0.005 s
writeMixedSingleMultipleBeans 0.005 s
writeSingleOptionallyQuotedBeanWithCSVParser 0.004 s
writeEmptyFieldWithConvertGermanToBooleanRequired 0.001 s

LineValidatorAggregatorTest

nullValidators(String)[1] 0.001 s
nullValidators(String)[2] 0 s
nullValidators(String)[3] 0 s
nullValidators(String)[4] 0 s
nullValidators(String)[5] 0.001 s
nullValidators(String)[6] 0 s
shortCircuitIfNoValidators 0 s
validateLine(String, String, String, String)[1] 0 s
validateLine(String, String, String, String)[2] 0 s
validateLine(String, String, String, String)[3] 0 s
validateLine(String, String, String, String)[4] 0 s
validateLine(String, String, String, String)[5] 0.001 s
validateLine(String, String, String, String)[6] 0 s
noValidators(String)[1] 0 s
noValidators(String)[2] 0 s
noValidators(String)[3] 0 s
noValidators(String)[4] 0 s
noValidators(String)[5] 0 s
noValidators(String)[6] 0 s

CSVParserSpec

parsing This,is,a,test from String to array back to String returns the same result 0.092 s
parsing 7,seven,7.89,12/11/16 from String to array back to String returns the same result 0.001 s
parsing a,"b,b,b",c from String to array back to String returns the same result 0 s
parsing a,b,c from String to array back to String returns the same result 0.001 s
parsing a,"PO Box 123, Kippax,ACT. 2615. Australia",d. from String to array back to String returns the same result 0.001 s
parsing zo""har""at,10-04-1980,29,C:\\foo.txt from String to array back to String returns the same result 0 s
parsing #testLine from String to array back to String returns the same result 0.119 s
bug 165 - No character line showing up as an extra record with CSVParser 0.012 s
parseToLine with applyQuotesToAll of false of This, is, a, test. should yield This, is, a, test. 0.001 s
parseToLine with applyQuotesToAll of false of This line, has "a" quote , in, it should yield This line, has ""a"" quote ,in,it 0 s
parseToLine with applyQuotesToAll of false of #string1, #string2, #string3, #string4 should yield #expectedResult 0.002 s
parseToLine with applyQuotesToAll of true of This, is, a, test. should yield "This"," is"," a"," test." 0.001 s
parseToLine with applyQuotesToAll of true of This line, has "a" quote , in, it should yield "This line"," has ""a"" quote ","in","it" 0 s
parseToLine with applyQuotesToAll of true of #string1, #string2, #string3, #string4 should yield #expectedResult 0.001 s

CsvToBeanTest

testMinimumBuilder 0.002 s
testMultipleVerifiers 0.002 s
parseBeanWithIgnoreEmptyLinesAndEmptyIsNull 0.002 s
testNullVerifierClearsList 0.001 s
bug154WhenUsingIteratorTheLineNumbersInTheExceptionShouldBePopulated 0.002 s
parseBeanWithIgnoreEmptyLines 0.001 s
throwIllegalStateWhenOnlyReaderIsSpecifiedToParseWithoutArguments 0 s
throwIllegalStateWhenTypeAndMapperNotProvidedInBuilder 0 s
throwIllegalStateWhenParseWithoutArgumentsIsCalled 0.001 s
testMismatchNumberOfData 0.005 s
testEmptyInputWithHeaderNameMappingAndRequiredField 0.007 s
throwRuntimeExceptionWhenExceptionIsThrown 0 s
testColumnMappingStrategyWithBuilder 0.010 s
bug133ShouldNotThrowNullPointerExceptionWhenProcessingEmptyWithNoAnnotations 0.001 s
parseBeanWithNoAnnotations 0.002 s
testVerifierThrowsExceptionRethrown 0.001 s
throwRuntimeExceptionLineWhenExceptionIsThrown 0.001 s
throwIllegalArguementWhenReaderNotProvidedInBuilder 0.001 s
testVerifierThrowsExceptionCollected 0.001 s
testMinimumBuilderWithCSVReader 0.001 s
testBug194 0.002 s
testSingleVerifier 0.001 s
testMappingWithoutAnnotationsWithBuilder 0.001 s
testMaximumBuilder 0.005 s
testMaximumBuilderWithCSVReader 0.012 s
throwIllegalStateWhenOnlyMapperIsSpecifiedToParseWithoutArguments 0.003 s
testParseVsStream 0.003 s

CsvDataTypeMismatchExceptionTest

codeCoverageConstructors 0 s
serializationDeserialization 0.002 s

RFC4180ParserSpec

create a parser from the default constructor 0 s
able to parse a simple line 0 s
able to parse a multiple line record 0 s
parsing This,is,a,test yields values This is a and test 0 s
parsing 7,seven,7.89,12/11/16 yields values 7 seven 7.89 and 12/11/16 0 s
parsing 1,"\""","this is a quote "" character",test yields values 1 \" this is a quote " character and test 0 s
parsing 2,\ ,"this is a comma , character",two yields values 2 \ this is a comma , character and two 0 s
parsing 3,\\ ,this is a backslash \ character,three yields values 3 \\ this is a backslash \ character and three 0 s
parsing 5,"21,34",test comma,five yields values 5 21,34 test comma and five 0 s
parsing 8,\',"a big line with multiple carriage returns in it.",eight yields values 8 \' a big line with multiple carriage returns in it. and eight 0 s
parsing #testLine yields values #expected1 #expected2 #expected3 and #expected4 0.004 s
parsing This,is,a,test with custom quote yields values This is a and test 0.001 s
parsing 7,seven,7.89,12/11/16 with custom quote yields values 7 seven 7.89 and 12/11/16 0 s
parsing 1,'\''','this is a quote '' character',test with custom quote yields values 1 \' this is a quote ' character and test 0 s
parsing 2,\ ,'this is a comma , character',two with custom quote yields values 2 \ this is a comma , character and two 0 s
parsing 3,\\ ,this is a backslash \ character,three with custom quote yields values 3 \\ this is a backslash \ character and three 0 s
parsing 5,'21,34',test comma,five with custom quote yields values 5 21,34 test comma and five 0 s
parsing 8,\",'a big line with multiple carriage returns in it.',eight with custom quote yields values 8 \" a big line with multiple carriage returns in it. and eight 0 s
parsing #testLine with custom quote yields values #expected1 #expected2 #expected3 and #expected4 0.002 s
parsing This.is.a.test with custom separator yields values This is a and test 0 s
parsing 7.seven.7,89.12/11/16 with custom separator yields values 7 seven 7,89 and 12/11/16 0 s
parsing 1."\"""."this is a quote "" character".test with custom separator yields values 1 \" this is a quote " character and test 0 s
parsing 2.\ ."this is a comma . character".two with custom separator yields values 2 \ this is a comma . character and two 0 s
parsing 3.\\ .this is a backslash \ character.three with custom separator yields values 3 \\ this is a backslash \ character and three 0 s
parsing 5."21.34".test comma.five with custom separator yields values 5 21.34 test comma and five 0.001 s
parsing 8.\'."a big line with multiple carriage returns in it.".eight with custom separator yields values 8 \' a big line with multiple carriage returns in it. and eight 0 s
parsing #testLine with custom separator yields values #expected1 #expected2 #expected3 and #expected4 0.002 s
parser with nullfieldindicator 0.001 s
parse a complex string 0 s
Parser with NullFieldindicator of NEITHER should return and 0 s
Parser with NullFieldindicator of EMPTY_SEPARATORS should return null null and null 0.001 s
Parser with NullFieldindicator of EMPTY_QUOTES should return null and 0 s
Parser with NullFieldindicator of BOTH should return null null null and null 0 s
Parser with NullFieldindicator of #nullField should return #string1 #string2 #string3 #string4 and #string5 0.010 s
parseToLine with NullFieldindicator of NEITHER with data null null and should return null, ,,null, 0 s
parseToLine with NullFieldindicator of EMPTY_SEPARATORS with data null null and should return , ,"",,"" 0.001 s
parseToLine with NullFieldindicator of EMPTY_QUOTES with data null null and should return "", ,,"", 0 s
parseToLine with NullFieldindicator of BOTH with data null null and should return , ,,, 0 s
parseToLine with NullFieldindicator of #nullField with data #string1 #string2 #string3 #string4 and #string5 should return #expectedResult 0.002 s
Parser with NullFieldindicator of EMPTY_SEPARATORS should behave consistently if possible 0 s
Parser with NullFieldindicator of EMPTY_QUOTES should behave consistently if possible 0 s
Parser with NullFieldindicator of #nullField should behave consistently if possible 0.001 s
able to parse a field that has a single quote at the end 0.001 s
if given a null then return a null 0 s
parse excel generated string 0.001 s
parsing This,is,a,test from String to array back to String returns the same result 0 s
parsing 7,seven,7.89,12/11/16 from String to array back to String returns the same result 0 s
parsing 1,"\""","this is a quote "" character",test from String to array back to String returns the same result 0.001 s
parsing 2,\ ,"this is a comma , character",two from String to array back to String returns the same result 0 s
parsing 3,\\ ,this is a backslash \ character,three from String to array back to String returns the same result 0 s
parsing 5,"21,34",test comma,five from String to array back to String returns the same result 0 s
parsing 8,\',"a big line with multiple carriage returns in it.",eight from String to array back to String returns the same result 0 s
parsing a,"b,b,b",c from String to array back to String returns the same result 0 s
parsing #testLine from String to array back to String returns the same result 0.001 s
parsing This is a and test from array to String back to array yields the same result 0 s
parsing 7 seven 7.89 and 12/11/16 from array to String back to array yields the same result 0 s
parsing 1 \" this is a quote " character and test from array to String back to array yields the same result 0 s
parsing 2 \ this is a comma , character and two from array to String back to array yields the same result 0.001 s
parsing 3 \\ this is a backslash \ character and three from array to String back to array yields the same result 0 s
parsing 5 21,34 test comma and five from array to String back to array yields the same result 0 s
parsing 8 \' a big line with multiple carriage returns in it. and eight from array to String back to array yields the same result 0 s
parsing #expected1 #expected2 #expected3 and #expected4 from array to String back to array yields the same result 0.003 s
sof request - parsing "ABC\" yields ABC\ 0 s
sof request - parsing "ABC\"" yields ABC\" 0 s
sof request - parsing #value yields #expected 0 s
bug 157 - quotes should not be in data that is unquoted 0 s
bug 165 - No character line showing up as an extra record with RFC4180Parser 0.001 s
parseToLine with applyQuotesToAll of false of This, is, a, test. should yield This, is, a, test. 0 s
parseToLine with applyQuotesToAll of false of This line, has "a" quote , in, it should yield This line," has ""a"" quote ",in,it 0 s
parseToLine with applyQuotesToAll of false of #string1, #string2, #string3, #string4 should yield #expectedResult 0 s
parseToLine with applyQuotesToAll of true of This, is, a, test. should yield "This"," is"," a"," test." 0.001 s
parseToLine with applyQuotesToAll of true of This line, has "a" quote , in, it should yield "This line"," has ""a"" quote ","in","it" 0 s
parseToLine with applyQuotesToAll of true of #string1, #string2, #string3, #string4 should yield #expectedResult 0.001 s
bug 193 - Multiline not working if the last character is a quote character 0 s
Should we throw an error if there are quotes inside an unquoted data field 0 s

CsvBadConverterExceptionTest

codeCoverageConstructors 0 s
serializationDeserialization 0.003 s

CSVParserBuilderTest

testWithEscapeChar 0.001 s
testWithStrictQuotes 0 s
testWithIgnoreLeadingWhiteSpace 0 s
testWithSeparator 0 s
testDefaultBuilder 0 s
testWithQuoteChar 0 s
testWithIgnoreQuotations 0 s

BeanFieldProcessorTest

testProcessor(String, int, String, long)[1] 0.002 s
testProcessor(String, int, String, long)[2] 0.001 s
testProcessor(String, int, String, long)[3] 0.002 s

DoubleQuoteHandlingTest

usingCSVParser 0 s
usingRFC4180ParserNoApplyQuotesToAll 0.001 s
usingRFC4180Parser 0 s

Bug257Test

parseToLineUsesCorrectSeparator 0 s
parseUsingRFC4180Parser 0 s

JoinTest

testReadNullOptionalFieldValueOnly 0.008 s
testEmptyRangeExpression 0.001 s
testCaptureByPositionInvalidRegex 0 s
testReadPrimitive 0.002 s
testNonMatchingRegularExpression 0.003 s
testReadEmptyRegexAllRequiredFieldHeaderNameMapping 0.001 s
testRangeWithOnePosition 0.008 s
testNoNullaryConstructor 0.003 s
testReadConversionLocalePrimitiveHeaderMapping 0.002 s
testCaptureByPositionRegexWithoutCaptureGroup 0.001 s
testOpenRangeWithoutUpperBoundry 0.003 s
testCustomConverterByPositionWrite 0.006 s
testCustomConverterByPositionRead 0.001 s
testReadEmptyOptionalFieldValueOnly 0.001 s
testNonNumberRangeExpression 0 s
testNoNullaryConstructorNoSetter 0.002 s
testWriteFieldWithoutGetter 0.001 s
testWriteColumnMapping 0.002 s
testRangeBackward 0.003 s
testReadConversionLocalePrimitivePositionMapping 0.005 s
testBadCustomConverter 0.001 s
testCaptureByNameInvalidRegex 0 s
testBeanInstantiationImpossibleIllegalAccess 0.001 s
testWriteEmptyRequiredFieldColumnPositionMapping 0.001 s
testFieldNotMultiValuedMap 0.001 s
testReadEmptyOptionalFieldPosition 0.003 s
testWritePrimitive 0.002 s
testDoubleOpenRange 0.001 s
testReadDate 0.002 s
testReadEmptyIndividualRequiredFieldColumnPositionMapping 0.001 s
testOpenRangeNoLowerBound 0.002 s
testClosedRange 0.001 s
testNamingOverlap 0.006 s
testCustomConverterByNameWrite 0.002 s
testCustomConverterByNameRead 0.029 s
testWriteEmptyRequiredFieldInFirstBean 0.001 s
testWriteEmptyRequiredFieldInSecondBean 0.003 s
testSetterThrowsException 0.001 s
testReadEmptyOptionalFieldHeader 0.001 s
testReadEmptyIndividualRequiredFieldHeaderNameMapping 0.001 s
testUnassignableMultiValuedMap 0.001 s
testFormatByNameWriteInvalidFormatString 0.001 s
testUnknownMultiValuedMap 0 s
testCaptureByNameRegexWithoutCaptureGroup 0 s
testFormatByPositionWriteInvalidFormatString 0 s
testIllegalRegularExpression 0 s
testReadEmptyRegexSingleRequiredFieldHeaderNameMappingValueOnly 0.005 s

CSVParserWriterSpec

a, b, c should produce "a","b","c" from CSVWriter, "a","b","c" from CSVParserWriter with CSVParser, and "a","b","c" from CSVParserWriter with RFC4180Parser 0.003 s
#value1, #value2, #value3 should produce #csvWriterValue from CSVWriter, #csvParserValue from CSVParserWriter with CSVParser, and #rfc4180Value from CSVParserWriter with RFC4180Parser 0.004 s
applyQuotesToAll is false then a, b, c should produce a,b,c from CSVWriter, a,b,c from CSVParserWriter with CSVParser, and a,b,c from CSVParserWriter with RFC4180Parser 0 s
applyQuotesToAll is false then #value1, #value2, #value3 should produce #csvWriterValue from CSVWriter, #csvParserValue from CSVParserWriter with CSVParser, and #rfc4180Value from CSVParserWriter with RFC4180Parser 0.002 s
withFieldAsNull writes correctly with the CSVParserWriter EMPTY_QUOTES 0.001 s
withFieldAsNull writes correctly with the CSVParserWriter EMPTY_SEPARATORS 0 s
withFieldAsNull writes correctly with the CSVParserWriter BOTH 0.001 s
withFieldAsNull writes correctly with the CSVParserWriter NEITHER 0 s
withFieldAsNull writes correctly with the CSVParserWriter #nullFieldIndicator 0.004 s

StatefulBeanToCsvPerformanceTest

testPerformance 5.967 s

ProfileTest

testNoDefaultsPosition 0.003 s
testCsvNumberMismatch 0.001 s
testWritingByName 0.005 s
testReadingByName 0.009 s
testWritingByPosition 0.013 s
testReadingByPosition 0.011 s
testNoDefaultsName 0.002 s
testCsvDateMismatch 0 s

CSVWriterBuilderTest

buildCSVParserWithValues 0.001 s
withSeparator 0 s
builderHasWriter 0 s
withQuoteCharFailsIfParserSet 0 s
withParserFailsIfEscapeCharSet 0 s
buildWillProduceCSVWriterByDefault 0 s
withEscapeCharFailsIfParserSet 0 s
buildWithParserResultSetHelper 0.004 s
withQuoteChar 0 s
withParserFailsIfQuoteCharSet 0.001 s
buildWithResultSetHelpler 0 s
buildWillProduceCSVParserWriterIfParserIsSupplied 0.001 s
withLineEnd 0 s
withEscapeChar 0 s
withParserFailsIfSeparatorSet 0 s
withSeparatorFailsIfParserSet 0 s
withParser 0 s

RowFunctionValidatorTest

functionTestNumberValidate 0 s
functionTestNumberIsValid 0 s
thirdElementIsMiddleInitial 0 s
nullArrayIsInvalid 0 s
secondElementIsTheFirstName 0 s
numberOfElementsInARow 0 s
fourthElementIsLastName 0 s
fifthElementIsADate 0 s
AnEmptyArrayIsInvalid 0 s

SR121Test

newlineEscapeCharacterIssue 0.001 s

CsvConstraintViolationExceptionTest

codeCoverageConstructors 0 s
serializationDeserialization 0.002 s

CSVReaderHeaderAwareWithValidatorsTest

readerWithRowValidatorWithBadRow 0 s
readerWithLineValidatorExceptionContainsLineNumber 0.001 s
readerWithLineValidatorWithValidString 0 s
readerWithLineValidatorWithBadFirstString 0 s
readerWithRowValidatorExceptionContainsLineNumber 0 s
readerWithLineValidatorWithBadString 0.001 s

ConverterUUIDTest

convertToReadWithNullEmptyOrWhiteSpace(String)[1] 0 s
convertToReadWithNullEmptyOrWhiteSpace(String)[2] 0 s
convertToReadWithNullEmptyOrWhiteSpace(String)[3] 0 s
convertToReadWithNullEmptyOrWhiteSpace(String)[4] 0 s
convertToReadWithNullEmptyOrWhiteSpace(String)[5] 0 s
convertToReadWithBadValues(String)[1] 0.001 s
convertToReadWithBadValues(String)[2] 0 s
convertToReadWithBadValues(String)[3] 0 s
convertToReadWithBadValues(String)[4] 0 s
convertToReadWithBadValues(String)[5] 0 s
convertToReadWithBadValues(String)[6] 0 s
convertToReadWithBadValues(String)[7] 0 s
convertToReadWithBadValues(String)[8] 0.001 s
convertToReadWithBadValues(String)[9] 0 s
convertToWrite 0 s
convertToWriteWithNull 0 s
convertToRead(String)[1] 0 s
convertToRead(String)[2] 0 s
convertToRead(String)[3] 0 s
convertToRead(String)[4] 0.001 s
convertToRead(String)[5] 0 s
convertToRead(String)[6] 0 s

UniCodeTest

runUniCodeThroughCSVReader 0.001 s
runUniCodeThroughCSVWriter 0 s
writeThenReadTwiceUnicode 0 s
writerTest 0 s
writeThenReadTwiceAscii 0 s
writeThenReadAscii 0 s
readerTest 0 s
writeThenReadTwiceMixedUnicode 0 s
runASCIIThroughCSVWriter 0 s
canParseUnicode 0 s

CsvToBeanAsIteratorTest

testPrematureEOLUsingHeaderNameMappingWithoutExceptionCapturing 0 s
throwIllegalStateWhenOnlyReaderIsSpecifiedToParseWithoutArguments 0.001 s
iteratorConvertsIOExceptionToRuntimeException 0 s
throwIllegalStateWhenParseWithoutArgumentsIsCalled 0 s
throwRuntimeExceptionWhenExceptionIsThrown 0 s
iteratorShouldNotSupportRemove 0 s
testPrematureEOLUsingHeaderNameMappingWithExceptionCapturing 0 s
testMultipleExceptionsPerLine 0.003 s
bug133ShouldNotThrowNullPointerExceptionWhenProcessingEmptyWithNoAnnotations 0 s
parseBeanWithNoAnnotations 0.001 s
throwRuntimeExceptionLineWhenExceptionIsThrown 0 s
readWithIteratorOfAnnotatedBean 0.001 s
readWithIteratorAndFilter 0.001 s
testRequiredHeaderMissing 0.001 s
throwIllegalStateWhenOnlyMapperIsSpecifiedToParseWithoutArguments 0.001 s

NumberTest

testUnparsableNumber 0.005 s
testWrappedFloat 0.002 s
testWrappedShort 0.002 s
testPrimitiveInteger 0.004 s
testPrimitiveByte 0.003 s
testPrimitiveLong 0.004 s
testBigDecimal 0.002 s
testPrimitiveDouble 0.001 s
testWrappedInteger 0.001 s
testWritingHeaderNameMappingStrategy 0.003 s
testBigInteger 0.001 s
testWriteNull 0 s
testEmptyOptionalInput 0.001 s
testWrappedDouble 0.001 s
testEmptyPattern 0.002 s
testWritingColumnPositionMappingStrategy 0.002 s
testWriteRoundingMode 0.002 s
testNonNumber 0 s
testInvalidPatternReading 0.001 s
testWrappedByte 0.001 s
testWrappedLong 0.001 s
testPrimitiveFloat 0.001 s
testPrimitiveShort 0.001 s
testInvalidPatternWriting 0.003 s

ExceptionHandlerTest

testWriteWithQueueExceptionHandlerLargeMaxExceptions 0.007 s
testLambdaExceptionHandler 0.004 s
testReadWithExceptionHandler 0.008 s
testWriteWithIgnoreExceptionHandlerSmallNumberOfExceptions 0.007 s
testQueueThenThrowExceptionHandler 0.008 s
testWriteWithIgnoreExceptionHandlerLargeMaxExceptions 0.009 s
testReadWithQueueThenThrowHandler 0.007 s
testWriteWithQueueExceptionHandlerSmallNumberOfExceptions 0.008 s

UUIDTest

convert 0 s

HeaderColumnNameTranslateMappingStrategyTest

columnNameMappingShouldBeCaseInsensitive 0.003 s
testParse 0.001 s
getColumnNameReturnsNullIfColumnNumberIsTooLarge 0.002 s
testParseWithSubsetSetType 0.003 s
testParseWithSubset 0.002 s
onlyConvertWhatIsInTheMap 0.001 s

OpencsvTest

testWriteRead 0 s

BeanUtilsBeanTest

checkStaticFieldInitialized 0 s
whenNewInstance_thenGetPropertiesReturnOnNewInstance 0 s
- Disabled as this was just to test what was returned. -

CSVWriterTest

testSpecialCharacters 0 s
testResultSetWithHeaders 0 s
parseLineWithBothEscapeAndQuoteChar 0 s
getExceptionReturnsException 0.028 s
resetError 0.001 s
correctlyParserNullObject 0 s
testStreamFlushing 0.001 s
testAlternateLineFeeds 0 s
testResultSetTrim 0.001 s
testParseLine 0 s
correctlyParseNullString 0 s
testWriteAllObjects 0 s
testWriteAllAsIterable 0.007 s
testNoQuoteCharsAndNoEscapeChars 0 s
embeddedQuoteInString 0 s
testNoQuoteChars 0 s
checkErrorReturnsTrueWhenPassedInPrintWriter 0 s
getExceptionReturnsExceptionUsingPrintWriter 0.001 s
testMultiLineResultSetWithoutHeaders 0.001 s
parseLineWithNoEscapeCharAndQuotes 0 s
testParseLineWithNoEscapeChar 0 s
flushQuietlyWillNotThrowException 0 s
testAlternateEscapeChar 0 s
testIOException 0.002 s
testMultiLineResultSetWithHeaders 0.001 s
issue136escapeNewLineCharactersWhenNoQuoteCharIsSet 0 s
testWriteAllAsList 0 s
testIntelligentQuotes 0 s
testResultSetWithoutHeaders 0 s
flushWillThrowIOException 0.001 s
issue123SeparatorEscapedWhenQuoteIsNoQuoteCharSpecifyingNoneDefaultEscapeChar 0 s
testResultSetWithHeadersWithoutQuotes 0 s
testResultSetWithoutHeadersAndQuotes 0.001 s
testNullValues 0 s
needToSetBothQuoteAndEscapeCharIfYouWantThemToBeTheSame 0 s
testNoQuotingNoEscaping 0 s
resetException 0.001 s
testNestedQuotes 0.003 s
issue123SeparatorEscapedWhenQuoteIsNoQuoteChar 0 s

FuzzyMappingTest

testWritingFuzzy 0 s
testReadingFuzzyWithoutAnnotations 0.002 s
testHeadersUnmatched 0.003 s
testVariablesUnmatched 0.002 s
testReadingFuzzyWithAnnotationsWithSetType 0.001 s
testReadingFuzzyWithAnnotationsWithBuilder 0.001 s

CsvReaderHeaderAwareTest

shouldFailWhenNumberOfDataItemsIsGreaterThanHeader 0 s
shouldRetrieveColumnsByHeaderName 0 s
shouldRetrieveMap 0 s
shouldReturnNullWhenFileIsOver 0 s
shouldKeepBasicParsing 0.001 s
readNextWhenPastEOF 0 s
readMapThrowsExceptionIfNumberOfDataItemsIsGreaterThanHeader 0 s
shouldFailForInvalidColumnEvenAmongstValidOnes 0 s
readMapThrowsExceptionIfNumberOfDataItemsIsLessThanHeader 0 s
shouldFailWhenNumberOfDataItemsIsLessThanHeader 0 s
testEmptyFieldAsNullWithMap 0 s
shouldFailForInvalidColumn 0 s
shouldRetrieveMultipleColumnsByHeaderName 0 s
shouldInitialiseHeaderWithCompleteConstructor 0.002 s

CSVReaderAndParserIntegrationSpec

parsing with CSVParser 0.005 s
parsing with RFC4180Parser 0.001 s
parsing with #parserName 0.006 s
Bug 143 - Quote Character should be the escaper for CSVParser 0.002 s
Bug 143 - Quote Character should be the escaper for RFC4180Parser 0 s
Bug 143 - Quote Character should be the escaper for #parserName 0.003 s

TemporalTest

testInvalidFormatStringForWriting 0.023 s
testWriteGoodDataByPosition 0.132 s
testMinguoEraUnparseable 0.002 s
testWriteGoodDataByName 0.016 s
testReadGoodDataByName 0.011 s
testJapaneseEraUnparseable 0.001 s
testIsoEraUnparseable 0.001 s
testReadGoodDataByPosition 0.018 s
testUnknownTemporalAccessor 0.001 s
testBeanInputDoesNotMatchFormatString 0.010 s
testCsvInputDoesNotMatchFormatString 0.002 s
testInvalidChronologyForReading 0 s
testThaiBuddhistEraUnparseable 0.001 s
testInvalidChronologyForWriting 0.001 s
testHijrahEraUnparseable 0.001 s
testInvalidFormatStringForReading 0.001 s

BeanFieldValidatorTest

testGoodString 0.002 s
testValidatorWithParameter(String, boolean)[1] 0.001 s
testValidatorWithParameter(String, boolean)[2] 0.001 s
testValidatorWithParameter(String, boolean)[3] 0.001 s
testValidatorWithParameter(String, boolean)[4] 0.001 s
testValidatorWithParameter(String, boolean)[5] 0.001 s
testValidatorWithParameter(String, boolean)[6] 0.001 s
testValidatorWithParameter(String, boolean)[7] 0.001 s
testValidatorWithParameter(String, boolean)[8] 0.001 s
testValidatorWithParameter(String, boolean)[9] 0.001 s
testValidatorWithParameter(String, boolean)[10] 0.001 s
testValidatorWithParameter(String, boolean)[11] 0.001 s
testValidatorWithParameter(String, boolean)[12] 0.001 s
badName 0 s

CollectionSplitTest

testGoodCollectionTypeDeque 0.005 s
testGoodCollectionTypeQueue 0.006 s
testGoodCollectionTypeNamedParametrized 0.002 s
testCaptureByPositionInvalidRegex 0 s
testWithSplitOn 0.001 s
testGoodCollectionTypeNavigableSet 0.001 s
testRequiredNotPresentOnWrite 0 s
testWriteWithWriteDelimiter 0.001 s
testUnknownElementType 0.001 s
testCaptureByPositionRegexWithoutCaptureGroup 0 s
testInterfaceAsCollectionTypeInAnnotation 0.001 s
testInvalidRegexAsSplitOn 0 s
testCustomConverterByPositionWrite 0.002 s
testCustomConverterByPositionRead 0.001 s
testNonCollectionBeanMember 0 s
testEmptySplitOn 0.001 s
testGoodCollectionTypeSortedBag 0.001 s
testGoodCollectionTypeSortedSet 0.002 s
testBadCustomConverter 0 s
testCaptureByNameInvalidRegex 0 s
testNullCollection 0.002 s
testGoodCollectionPrimitive 0.001 s
testWrongElementTypeBeanMember 0.001 s
testUnknownCollectionType 0.001 s
testCustomConverterByNameWrite 0.001 s
testCustomConverterByNameRead 0.001 s
testGoodCollectionHeaderMapping 0.002 s
testGoodCollectionTypeNamedUnparametrized 0.004 s
testGoodCollectionTypeList 0.001 s
testWrongCollectionTypeBeanMember 0 s
testFormatByNameWriteInvalidFormatString 0.001 s
testCaptureByNameRegexWithoutCaptureGroup 0 s
testWriteHeaderNameStrategy 0 s
testRequiredNotPresentOnRead 0.001 s
testPrecedenceCollectionAndStandardConverter 0.001 s
testFormatByPositionWriteInvalidFormatString 0 s
testGoodCollectionDate 0.002 s
testPrecedenceCustomAndCollectionConverter 0.001 s
testGoodCollectionTypeBag 0.001 s
testGoodCollectionTypeSet 0.001 s
testGoodCollectionColumnMapping 0.001 s
testGoodEnums 0.002 s

CSVReaderBuilderTest

testWithSkipLinesZero 0 s
builderWithErrorLocale 0 s
testWithVerifyReader 0 s
builderWithNullFieldIndicator 0 s
builderWithMultilineLimit 0 s
testWithCSVParser 0 s
testWithSkipLines 0 s
testWithCSVParserNull 0.001 s
testWithSkipLinesNegative 0 s
testDefaultBuilder 0 s
testNullReader 0.002 s
testWithKeepCR 0 s

WriteThenReadTest

defaultWriterAndReader(String, String)[1] 0.002 s
defaultWriterAndReader(String, String)[2] 0 s
defaultWriterAndReader(String, String)[3] 0.001 s

OptionalTest

testWriteWithOptionalNull 0.003 s
testReadWithOptionalNull 0.001 s
testReadWithOptionalNotNull 0.001 s
testWriteWithOptionalNotNull 0 s

RFC4180ParserBuilderTest

testWithSeparator 0 s
testDefaultBuilder 0 s
testWithQuoteChar 0 s

CSVReaderWithValidatorsTest

readerWithRowValidatorWithBadRow 0.001 s
readerWithLineValidatorExceptionContainsLineNumber 0 s
readerWithLineValidatorWithValidString 0 s
readerWithLineValidatorWithBadFirstString 0 s
readerWithRowValidatorExceptionContainsLineNumber 0 s
readerWithLineValidatorWithBadString 0 s

CsvBeanIntrospectionExceptionTest

defaultExceptionHasNoMessage 0 s
exceptionWithMessageBeanAndFieldWillReturnMessage 0 s
exceptionWithOnlyAMessage 0 s
exceptionWithNoMessageButHasBeanAndField 0 s
serializationDeserialization 0.006 s

HeaderColumnNameMappingStrategyTest

testParseWithEmptyField 0.002 s
verifyColumnNames 0 s
testParse 0.001 s
testParseWithSpacesInHeader 0.001 s
throwsIllegalStateExceptionIfTypeNotSetBeforeParse 0 s
throwsIllegalStateExceptionIfTypeNotSetBeforeGenerateHeaders 0.001 s
testQuotedString 0.001 s

RowMustHaveSameNumberOfColumnsAsFirstRowValidatorTest

isValidEmptyFirstRow 0 s
isValidNullFirstRow 0 s
isValidThreeRowsFirst 0 s
validateEmptyFirstRow 0 s
validateNullFirstRow 0 s
validateThreeRowsFirst 0.001 s

ComparatorTest

testComparatorNull 0.002 s
testLiteralComparatorInteger 0 s
testLiteralComparatorString 0 s

CSVIteratorSpec

reader exception should cause runtime exception 0.226 s
call to remove() results in UnsupportedOperationException thrown 0.002 s
initial read should return string array 0.001 s
call to hasNext() returns correct results 0.001 s

NonPrimitiveConversionTest

convertUUID(String)[1] 0.001 s
convertUUID(String)[2] 0.002 s
convertUUID(String)[3] 0.001 s
convertUUID(String)[4] 0.001 s
convertUUID(String)[5] 0.002 s
convertUUID(String)[6] 0.001 s

CSVReaderWithRowProcessorTest

readerWithoutRowProcessor 0 s
readerWithRowProcessor 0 s

CsvToBeanBuilderTest

precedenceOfExceptionHandlers 0 s

isClosedTest

issue115StandardReadFailsAfterALargeNumberOfReads 0.010 s

CsvToBeanDoubleTest

parseBeanWithNoAnnotations 0.003 s

Bug63Test

mappingStrategyRead 0.002 s

CSVReaderSpec

When class java.nio.charset.CharacterCodingException is thrown the exception will not be caught 0.024 s
When class java.io.CharConversionException is thrown the exception will not be caught 0.001 s
When class java.io.UnsupportedEncodingException is thrown the exception will not be caught 0 s
When class java.nio.charset.MalformedInputException is thrown the exception will not be caught 0 s
When class java.io.UTFDataFormatException is thrown the exception will not be caught 0.001 s
When class java.util.zip.ZipException is thrown the exception will not be caught 0 s
When class java.io.FileNotFoundException is thrown the exception will not be caught 0 s
When class java.io.EOFException is thrown the exception will be caught 0.001 s
When class java.nio.channels.FileLockInterruptionException is thrown the exception will be caught 0 s
When class java.io.IOException is thrown the exception will be caught 0.001 s
When #exceptionClass is thrown the exception #will be caught 0.033 s

TestUtilitiesTest

displayStringArray 0 s

IgnoreTest

testIgnoreWithMethodAndColumnPositionMappingOnReading 0.007 s
testSerialVersionUIDSerializable 0.001 s
testInvalidInputToBuilderForIgnoreOnReading 0 s
testIgnoreWithAnnotationAndColumnPositionMappingOnReading 0.003 s
testInvalidInputToBuilderForIgnoreOnWriting 0 s
testIgnoreAllWithHeaderNameMappingOnReading 0.001 s
testRemappingOnIgnore 0.005 s
testSerialVersionUIDNonSerializable 0.001 s
testIgnoreWithAnnotationAndHeaderNameMappingOnReading 0.001 s
testIgnoreWithRecursion 0.003 s
testInvalidInputForIgnore 0.003 s
testIgnoreOnWriting 0.003 s
testIgnoreAllWithColumnPositionMappingOnReading 0.001 s
testIgnoreWithMethodAndHeaderNameMappingOnReading 0.001 s

FR138Test

parseBeanThatHasNullForInt 0.002 s

DoubleNewLineTest

doubleNewLineWithRFCParser 0 s
doubleNewLineWithCSVParser 0 s

CSVParserBuilderSpec

builder creates a CSVParser by default 0 s
default RFC4180Parser has proper values 0.003 s

RFC4180ParserTest

testEmptyString 0 s
compareParseToLine(String, String, String)[1] 0.001 s
compareParseToLine(String, String, String)[2] 0 s

StatefulBeanToCsvTest

writeNullOrderPosition 0.004 s
bindCustomConverterToWrongDataType 0 s
writeNullRequiredDate 0.005 s
writeMixedSingleMultipleBeansWithIterator 0.005 s
writeManyWithIteratorFirstBeanIsBad 0.014 s
writeCustomByNameWithIterator 0.002 s
writeNullRequiredCustom 0.001 s
writeDifferentOrderNameTypeLast 0.012 s
writeMultipleExceptionsOneBean 0.001 s
writeBadBeanUnorderedCaptureExceptions 0.002 s
writeWithoutAnnotations 0 s
multipleWritesCapturedExceptions 0.004 s
writeCustomByPosition 0.001 s
writeBindByPositionUnknownType 0 s
writeBindByNameUnknownType 0 s
writeMultipleExceptionsPerBean 0.001 s
writeSingleOptionallyQuotedBean 0.005 s
writeDifferentOrderPositionTypeLast 0.005 s
writeSingleQuotedBean 0.005 s
writeOptionalFieldsWithNull 0.006 s
writeMultipleBeansUnorderedWithIterator 0.006 s
writeDifferentOrderPositionTypeFirst 0.008 s
writeGetterPrivate 0 s
writeNullOrderName 0.006 s
readCapturedExceptionsIsDestructive 0.005 s
writeSingleBeanNoQuotes 0.005 s
writeMultipleBeansOrderedWithIterator 0.011 s
writeMultipleBeansOrdered 0.004 s
writeDerivedSuperclass 0.004 s
writeSpecifiedStrategy 0.005 s
writeDifferentOrderNameTypeFirst 0.004 s
writeWithIteratorBadBeanUnorderedCaptureExceptions 0.002 s
writeDerivedSubclass 0.005 s
writeCustomByName 0.001 s
writeOptionalNonContiguousField 0.005 s
writeManyFirstBeanIsBad 0.013 s
writeMultipleBeansUnordered 0.004 s
writeGetterMissing 0.001 s
writeNullRequiredWrappedPrimitive 0.004 s
writeMixedSingleMultipleBeans 0.004 s
writeMultipleBeansOrderedFromStream 0.005 s
writeEmptyFieldWithConvertGermanToBooleanRequired 0.001 s

CSVParserTest

testADoubleQuoteAsDataElement 0 s
separatorAndEscapeCannotBeTheSame 0 s
quoteAndEscapeCanBeTheSameIfNull 0 s
testFalseIgnoreQuotations 0.001 s
testStrictQuotesEndsFieldAtQuote 0 s
testNotStrictQuotesAllowsEmbeddedEscapedQuote 0 s
parseToLineUsesCorrectSeparator 0 s
testParsedLineWithInternalQuote 0 s
parseSimpleQuotedString 0 s
parseQuotedQuoteCharacters 0 s
parseQuotedStringWithDefinedSeparatorAndQuote 0 s
testMultilineLimitBrokeErrorDetailWithQuoteMiddle 0 s
spacesAtEndOfQuotedStringDoNotCountIfStrictQuotesIsTrue 0 s
testIssue3314579 0.001 s
shouldSupportPortugueseLocale 0 s
parseTrickyString 0 s
testNotStrictQuoteSimple 0 s
quoteAndEscapeCannotBeTheSame 0 s
testMultilineLimitBrokeErrorDetailWithQuoteEnd 0 s
testParseLine 0 s
parseMultiLinedQuoted 0 s
separatorAndQuoteCannotBeTheSame 0 s
featureRequest60TreatEmptyFieldsAsNull 0 s
whitespaceBeforeEscape 0 s
parseEscapingTheEscapeCharacter 0 s
parseLineMultiAllowsQuotesAcrossMultipleLines 0 s
featureRequest60TreatEmptyFieldsDelimitedOrNotAsNull 0 s
parseSimpleQuotedStringWithSpaces 0 s
validateEscapeStringBeforeRealTest 0 s
testStrictQuoteSimple 0 s
issue93ParsingEmptyDoubleQuoteField 0.001 s
parseEmptyElements 0 s
returnNullWhenNullPassedIn 0 s
testStrictQuoteWithSpacesAndTabs 0 s
testMultilineLimitBrokeErrorDetailWithQuoteBegin 0 s
parseToLineApplyQuotesToAllIsTrue 0 s
testIssue2958242WithoutQuotes 0 s
parseToLineApplyQuotesToAllIsFalse 0 s
parseEscapingTheSeparatorCharacterWithoutQuotes 0 s
parseSimpleString 0 s
parseQuotedStringWithDefinedSeparator 0 s
testStrictQuotesEndsFieldAtQuoteWithEscapedQuoteInMiddle 0.001 s
parserHandlesNullInString 0 s
parseEscapingTheFirstCharacter 0 s
testEmptyString 0 s
separatorCharacterCannotBeNull 0 s
testCanIgnoreQuotations 0 s
parseMultipleQuotes 0 s
testNotStrictQuotesAllowsEmbeddedQuote 0 s
testEscapedDoubleQuoteAsDataElement 0 s
testStrictQuoteWithGarbage 0 s
featureRequest60TreatEmptyDelimitedFieldsAsNull 0 s
testAMultiLineInsideQuotes 0 s
pendingIsClearedAfterCallToParseLine 0 s
featureRequest60ByDefaultEmptyFieldsAreBlank 0 s
whichCharactersAreEscapable 0 s
testNotStrictQuoteWithSpacesAndTabs 0 s
parseEscapingTheSeparatorCharacter 0 s
returnPendingIfNullIsPassedIntoParseLineMulti 0 s
testIssue2263439 0 s
parseMultiLinedQuotedWithCarriageReturns 0 s
parseQuotedStringWithCommas 0 s
testIssue2726363 0.001 s
testIssue2859181 0 s
anIOExceptionThrownIfStringEndsInsideAQuotedString 0 s

CsvRequiredFieldEmptyExceptionTest

codeCoverageConstructors 0 s
serializationDeserialization 0.001 s

RowValidatorAggregatorTest

lineIsValid(String[], boolean)[1] 0.001 s
lineIsValid(String[], boolean)[2] 0 s
lineIsValid(String[], boolean)[3] 0 s
lineIsValid(String[], boolean)[4] 0 s
lineIsValid(String[], boolean)[5] 0 s
lineIsValid(String[], boolean)[6] 0 s
lineIsValid(String[], boolean)[7] 0 s
lineIsValid(String[], boolean)[8] 0 s
shortCircuitIfNoValidators 0.026 s
lineValidate(String[], boolean, boolean, boolean)[1] 0.001 s
lineValidate(String[], boolean, boolean, boolean)[2] 0.001 s
lineValidate(String[], boolean, boolean, boolean)[3] 0 s
lineValidate(String[], boolean, boolean, boolean)[4] 0 s
lineValidate(String[], boolean, boolean, boolean)[5] 0.001 s
lineValidate(String[], boolean, boolean, boolean)[6] 0 s
lineValidate(String[], boolean, boolean, boolean)[7] 0.001 s
lineValidate(String[], boolean, boolean, boolean)[8] 0 s

CSVReaderHeaderAwareWithRowProcessorTest

readerWithoutRowProcessor 0 s
readerWithRowProcessor 0 s

AllowSpacesForRequiredFieldsHeadersTest

bindByNameWithRequiredFields 0.002 s
noRequiredFields 0.001 s

HeaderColumnNameMappingStrategyUserTest

testParse 0.026 s

Failure Details

[Summary] [Package List] [Test Cases]


whenNewInstance_thenGetPropertiesReturnOnNewInstance
- skipped: Disabled as this was just to test what was returned.