Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
909 0 0 0 100% 15.20 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 396 0 0 0 100% 12.42 s
integrationTest.SR113 5 0 0 0 100% 0.026 s
integrationTest.FR143 1 0 0 0 100% 0.002 s
integrationTest.issue3402853 1 0 0 0 100% 0.114 s
com.opencsv.stream.reader 6 0 0 0 100% 0.003 s
com.opencsv.bean.comparator 3 0 0 0 100% 0.008 s
integrationTest.isClosed 1 0 0 0 100% 0.036 s
integrationTest.FR138 1 0 0 0 100% 0.009 s
com.opencsv 411 0 0 0 100% 2.205 s
com.opencsv.validators 51 0 0 0 100% 0.189 s
com.opencsv.exceptions 13 0 0 0 100% 0.048 s
integrationTest.writeThenRead 3 0 0 0 100% 0.054 s
com.opencsv.bean.validators 14 0 0 0 100% 0.068 s
com.opencsv.bean.processor 3 0 0 0 100% 0.016 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.011 s
RecursionTest 12 0 0 0 100% 0.045 s
ColumnPositionMappingStrategyTest 10 0 0 0 100% 0.063 s
AnnotationTest 46 0 0 0 100% 0.355 s
StatefulBeanToCsvWithCSVWriterTest 29 0 0 0 100% 0.415 s
CsvToBeanTest 27 0 0 0 100% 0.222 s
JoinTest 47 0 0 0 100% 0.266 s
StatefulBeanToCsvPerformanceTest 1 0 0 0 100% 8.907 s
ProfileTest 8 0 0 0 100% 0.147 s
ConverterUUIDTest 22 0 0 0 100% 0.023 s
CsvToBeanAsIteratorTest 15 0 0 0 100% 0.037 s
NumberTest 24 0 0 0 100% 0.110 s
ExceptionHandlerTest 8 0 0 0 100% 0.151 s
HeaderColumnNameTranslateMappingStrategyTest 5 0 0 0 100% 0.026 s
FuzzyMappingTest 5 0 0 0 100% 0.021 s
TemporalTest 16 0 0 0 100% 0.724 s
CollectionSplitTest 42 0 0 0 100% 0.170 s
OptionalTest 4 0 0 0 100% 0.010 s
HeaderColumnNameMappingStrategyTest 7 0 0 0 100% 0.019 s
NonPrimitiveConversionTest 6 0 0 0 100% 0.045 s
CsvToBeanBuilderTest 1 0 0 0 100% 0.003 s
CsvToBeanDoubleTest 1 0 0 0 100% 0.005 s
IgnoreTest 14 0 0 0 100% 0.124 s
StatefulBeanToCsvTest 42 0 0 0 100% 0.526 s

integrationTest.SR113

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

integrationTest.FR143

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

integrationTest.issue3402853

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

com.opencsv.stream.reader

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

com.opencsv.bean.comparator

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

integrationTest.isClosed

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

integrationTest.FR138

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

com.opencsv

- Class Tests Errors Failures Skipped Success Rate Time
CSVReaderTest 37 0 0 0 100% 0.047 s
CSVReaderHeaderAwareBuilderTest 13 0 0 0 100% 0.064 s
CSVIteratorTest 4 0 0 0 100% 0.052 s
ResultSetHelperServiceTest 32 0 0 0 100% 0.085 s
ResultSetColumnNameHelperServiceTest 19 0 0 0 100% 0.296 s
CSVParserSpec 14 0 0 0 100% 0.341 s
RFC4180ParserSpec 75 0 0 0 100% 0.075 s
CSVParserBuilderTest 7 0 0 0 100% 0.003 s
CSVParserWriterSpec 9 0 0 0 100% 0.024 s
CSVWriterBuilderTest 16 0 0 0 100% 0.169 s
CSVReaderHeaderAwareWithValidatorsTest 6 0 0 0 100% 0.009 s
UniCodeTest 10 0 0 0 100% 0.006 s
OpencsvTest 1 0 0 0 100% 0.001 s
CSVWriterTest 39 0 0 0 100% 0.186 s
CsvReaderHeaderAwareTest 14 0 0 0 100% 0.020 s
CSVReaderAndParserIntegrationSpec 6 0 0 0 100% 0.024 s
CSVReaderBuilderTest 12 0 0 0 100% 0.007 s
RFC4180ParserBuilderTest 3 0 0 0 100% 0.002 s
CSVReaderWithValidatorsTest 6 0 0 0 100% 0.004 s
CSVIteratorSpec 4 0 0 0 100% 0.630 s
CSVReaderWithRowProcessorTest 2 0 0 0 100% 0.001 s
Bug63Test 1 0 0 0 100% 0.035 s
CSVReaderSpec 11 0 0 0 100% 0.073 s
TestUtilitiesTest 1 0 0 0 100% 0.001 s
CSVParserBuilderSpec 2 0 0 0 100% 0.009 s
RFC4180ParserTest 2 0 0 0 100% 0.005 s
CSVParserTest 63 0 0 0 100% 0.033 s
CSVReaderHeaderAwareWithRowProcessorTest 2 0 0 0 100% 0.003 s

com.opencsv.validators

- Class Tests Errors Failures Skipped Success Rate Time
LineValidatorAggregatorTest 19 0 0 0 100% 0.075 s
RowFunctionValidatorTest 9 0 0 0 100% 0.008 s
RowMustHaveSameNumberOfColumnsAsFirstRowValidatorTest 6 0 0 0 100% 0.006 s
RowValidatorAggregatorTest 17 0 0 0 100% 0.100 s

com.opencsv.exceptions

- Class Tests Errors Failures Skipped Success Rate Time
CsvDataTypeMismatchExceptionTest 2 0 0 0 100% 0.006 s
CsvBadConverterExceptionTest 2 0 0 0 100% 0.007 s
CsvConstraintViolationExceptionTest 2 0 0 0 100% 0.009 s
CsvBeanIntrospectionExceptionTest 5 0 0 0 100% 0.020 s
CsvRequiredFieldEmptyExceptionTest 2 0 0 0 100% 0.006 s

integrationTest.writeThenRead

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

com.opencsv.bean.validators

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

com.opencsv.bean.processor

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

Test Cases

[Summary] [Package List] [Test Cases]

CSVReaderTest

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

CSVReaderHeaderAwareBuilderTest

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

CsvToBeanFilterTest

testColumnNameTranslationWithLineFilteringAndEmptyState 0.003 s
testColumnNameTranslationWithLineFiltering 0.003 s
testFilterWithParallelParsing 0.003 s
testFilterWithIteratorParsing 0 s

RecursionTest

testWritingHeaderNamesNoAnnotations 0.007 s
testPrimitives 0.005 s
testReadingHeaderNamesNoAnnotations 0.004 s
testReadingColumnPositions 0.007 s
testWritingHeaderNames 0.002 s
testWritingColumnPositions 0.002 s
testDuplicateRecursion 0.002 s
testNullMemberVariableRequired 0.003 s
testNullMemberVariableOptional 0.002 s
testEmbeddedBeanNoNullaryConstructor 0.004 s
testReadingHeaderNames 0.004 s
testBindAndRecurse 0.001 s

SR113Test

testWithNullStringNoState 0.006 s
enforceColumns 0.005 s
enforceColumnsWithColumn 0.004 s
writeWithNullField 0.004 s
testWithNullStringNoStateTranslate 0.004 s

ColumnPositionMappingStrategyTest

testParseWithTrailingSpaces 0.007 s
throwsIllegalStateExceptionIfTypeNotSet 0.003 s
testParse 0.021 s
getColumnNamesWhenEmptyMapping 0.004 s
testGetColumnMapping 0.005 s
getColumnNamesWhenNullColumnName 0.005 s
getColumnNamesWhenNullArray 0.003 s
testGetColumnNames 0.003 s
testParseEmptyInput 0.006 s
testGetColumnNamesArray 0.003 s

CSVIteratorTest

removeThrowsUnsupportedOperationException 0.048 s
hasNextWorks 0.001 s
initialReadReturnsStrings 0.001 s
readerExceptionCausesRunTimeException 0.002 s

ResultSetHelperServiceTest

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

ResultSetColumnNameHelperServiceTest

cannotHaveNullColumnName 0.001 s
getSubsetWithTrim 0.240 s
getCharSetWithNullAndTrim 0.007 s
cannotHaveEmptyHeaderName 0.001 s
cannotHaveEmptyColumnName 0.001 s
numberOfColumnsNamesMustMatchNumberOfHeaders 0 s
getColumnNamesWithSubsetOutOfOrder 0.003 s
getTimestampFromResultSetWithCustomFormat 0.004 s
canPrintColumnNames 0.004 s
setDateTimeFormat 0.002 s
getBooleanSubsetFromResultSet 0.005 s
getBooleanFromResultSet 0.006 s
setDateFormat 0.003 s
cannotHaveSpaceHeaderName 0.001 s
getColumnNamesThrowsExceptionIfColumnDoesNotExist 0.004 s
cannotHaveSpaceColumnName 0.001 s
setColumnNames 0.003 s
getSubsetFromResultSetWithCustomFormat 0.003 s
cannotHaveNullHeaderName 0.001 s

LineReaderTest

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

AnnotationTest

testDateAnnotationOnNondateReading 0.003 s
testMapByPositionComplexTypeWrongType 0.012 s
testCustomByPositionWrappedPrimitiveDataTypeMismatch 0.005 s
testCaptureWithNullField 0.012 s
testOptionalDateUnparseableInput 0.028 s
testCaptureByPositionInvalidRegex 0.002 s
testRequiredDateEmptyInput 0.018 s
testMapByNameMismatchingType 0.018 s
testDateAnnotationOnNondateWriting 0.001 s
testIllegalEnumValue 0.009 s
testCaptureByPositionRegexWithoutCaptureGroup 0.002 s
testGoodDerivedDataByPosition 0.011 s
testMapByPositionUnbindableField 0.003 s
testRequiredColumnNonexistentHeaderNameMapping 0.006 s
testMapRequiredByNameMissingData 0.008 s
testCaptureByNameInvalidRegex 0.003 s
testIllegalCurrency 0.007 s
testCustomByNameWrappedPrimitiveDataTypeMismatch 0.003 s
testRequiredColumnNonexistentColumnPositionMapping 0.007 s
testPrematureEOLUsingHeaderNameMapping 0.007 s
testBadDataExceptionsCapturedUnordered 0.002 s
testWriteFormatWithColumnPositions 0.007 s
testGoodDataByPosition 0.009 s
testMultipleExceptionsPerLine 0.010 s
testGoodDataByNameUnordered 0.016 s
testMapByNameUnbindableField 0.002 s
testGoodDataByName 0.008 s
testSetterThrowsException 0.003 s
testUnparseableLocaleSpecificDate 0.009 s
testAnonymousHeaders 0.009 s
testMapByPositionMismatchingType 0.015 s
testExceptionsSuppressed 0.003 s
testWriteFormatWithHeaderNames 0.003 s
testCustomConverterRequiredEmptyInput 0.003 s
testWrongNumberOfColumnsAllowedByName 0.010 s
testFormatByNameWriteInvalidFormatString 0.001 s
testGoodDataByPositionUnordered 0.008 s
testMapRequiredByPositionMissingData 0.009 s
testMapByNameComplexTypeWrongType 0.003 s
testGoodDerivedDataByName 0.014 s
testCaptureByNameRegexWithoutCaptureGroup 0.001 s
testUnparseableLocaleInspecificDate 0.013 s
testFormatByPositionWriteInvalidFormatString 0.001 s
testBadConverter 0.001 s
testGoodDataCustomByName 0.009 s
testGoodDataCustomByPosition 0.005 s

StatefulBeanToCsvWithCSVWriterTest

bindCustomConverterToWrongDataType 0.004 s
writeNullRequiredDate 0.017 s
writeNullRequiredCustom 0.005 s
writeBadBeanUnorderedCaptureExceptions 0.006 s
writeWithoutAnnotations 0.001 s
multipleWritesCapturedExceptions 0.014 s
writeCustomByPosition 0.003 s
writeBindByPositionUnknownType 0.001 s
writeBindByNameUnknownType 0 s
writeSingleOptionallyQuotedBean 0.016 s
writeSingleOptionallyQuotedBeanWithPlainCSVWriter 0.019 s
writeSingleQuotedBean 0.021 s
writeOptionalFieldsWithNull 0.018 s
writeGetterPrivate 0.001 s
readCapturedExceptionsIsDestructive 0.021 s
writeSingleBeanNoQuotes 0.021 s
writeMultipleBeansOrdered 0.037 s
writeDerivedSuperclass 0.013 s
writeSpecifiedStrategy 0.016 s
writeDerivedSubclass 0.014 s
writeCustomByName 0.006 s
writeOptionalNonContiguousField 0.016 s
writeManyFirstBeanIsBad 0.070 s
writeMultipleBeansUnordered 0.015 s
writeGetterMissing 0.001 s
writeNullRequiredWrappedPrimitive 0.015 s
writeMixedSingleMultipleBeans 0.016 s
writeSingleOptionallyQuotedBeanWithCSVParser 0.013 s
writeEmptyFieldWithConvertGermanToBooleanRequired 0.003 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.001 s
shortCircuitIfNoValidators 0 s
validateLine(String, String, String, String)[1] 0.002 s
validateLine(String, String, String, String)[2] 0.001 s
validateLine(String, String, String, String)[3] 0 s
validateLine(String, String, String, String)[4] 0.001 s
validateLine(String, String, String, String)[5] 0 s
validateLine(String, String, String, String)[6] 0.001 s
noValidators(String)[1] 0.001 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.181 s
parsing 7,seven,7.89,12/11/16 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.001 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.001 s
parsing #testLine from String to array back to String returns the same result 0.259 s
bug 165 - No character line showing up as an extra record with CSVParser 0.066 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.001 s
parseToLine with applyQuotesToAll of false of #string1, #string2, #string3, #string4 should yield #expectedResult 0.005 s
parseToLine with applyQuotesToAll of true of This, is, a, test. should yield "This"," is"," a"," test." 0 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.002 s

CsvToBeanTest

testMinimumBuilder 0.007 s
testMultipleVerifiers 0.006 s
parseBeanWithIgnoreEmptyLinesAndEmptyIsNull 0.008 s
testNullVerifierClearsList 0.003 s
bug154WhenUsingIteratorTheLineNumbersInTheExceptionShouldBePopulated 0.006 s
parseBeanWithIgnoreEmptyLines 0.006 s
throwIllegalStateWhenOnlyReaderIsSpecifiedToParseWithoutArguments 0.001 s
throwIllegalStateWhenTypeAndMapperNotProvidedInBuilder 0 s
throwIllegalStateWhenParseWithoutArgumentsIsCalled 0 s
testMismatchNumberOfData 0.028 s
testEmptyInputWithHeaderNameMappingAndRequiredField 0.017 s
throwRuntimeExceptionWhenExceptionIsThrown 0.002 s
testColumnMappingStrategyWithBuilder 0.039 s
bug133ShouldNotThrowNullPointerExceptionWhenProcessingEmptyWithNoAnnotations 0.004 s
parseBeanWithNoAnnotations 0.004 s
testVerifierThrowsExceptionRethrown 0.008 s
throwRuntimeExceptionLineWhenExceptionIsThrown 0.003 s
throwIllegalArguementWhenReaderNotProvidedInBuilder 0.001 s
testVerifierThrowsExceptionCollected 0.003 s
testMinimumBuilderWithCSVReader 0.003 s
testBug194 0.004 s
testSingleVerifier 0.002 s
testMappingWithoutAnnotationsWithBuilder 0.004 s
testMaximumBuilder 0.020 s
testMaximumBuilderWithCSVReader 0.014 s
throwIllegalStateWhenOnlyMapperIsSpecifiedToParseWithoutArguments 0.010 s
testParseVsStream 0.008 s

CsvDataTypeMismatchExceptionTest

codeCoverageConstructors 0 s
serializationDeserialization 0.005 s

RFC4180ParserSpec

create a parser from the default constructor 0.003 s
able to parse a simple line 0.001 s
able to parse a multiple line record 0.002 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.001 s
parsing 2,\ ,"this is a comma , character",two yields values 2 \ this is a comma , character and two 0.001 s
parsing 3,\\ ,this is a backslash \ character,three yields values 3 \\ this is a backslash \ character and three 0.001 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.007 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.001 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.007 s
parsing This.is.a.test with custom separator yields values This is a and test 0.001 s
parsing 7.seven.7,89.12/11/16 with custom separator yields values 7 seven 7,89 and 12/11/16 0.001 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.001 s
parsing 5."21.34".test comma.five with custom separator 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 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.007 s
parser with nullfieldindicator 0.002 s
parse a complex string 0.001 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.001 s
Parser with NullFieldindicator of BOTH should return null null null and null 0.001 s
Parser with NullFieldindicator of #nullField should return #string1 #string2 #string3 #string4 and #string5 0.018 s
parseToLine with NullFieldindicator of NEITHER with data null null and should return null, ,,null, 0.001 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.001 s
parseToLine with NullFieldindicator of #nullField with data #string1 #string2 #string3 #string4 and #string5 should return #expectedResult 0.007 s
Parser with NullFieldindicator of EMPTY_SEPARATORS should behave consistently if possible 0.001 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 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.001 s
parsing 7,seven,7.89,12/11/16 from String to array back to String returns the same result 0.001 s
parsing 1,"\""","this is a quote "" character",test from String to array back to String returns the same result 0 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.005 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 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.004 s
sof request - parsing "ABC\" yields ABC\ 0 s
sof request - parsing "ABC\"" yields ABC\" 0 s
sof request - parsing #value yields #expected 0.001 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.002 s
parseToLine with applyQuotesToAll of true of This, is, a, test. should yield "This"," is"," a"," test." 0 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.001 s
Should we throw an error if there are quotes inside an unquoted data field 0.001 s

CsvBadConverterExceptionTest

codeCoverageConstructors 0 s
serializationDeserialization 0.006 s

CSVParserBuilderTest

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

BeanFieldProcessorTest

testProcessor(String, int, String, long)[1] 0.005 s
testProcessor(String, int, String, long)[2] 0.004 s
testProcessor(String, int, String, long)[3] 0.004 s

JoinTest

testReadNullOptionalFieldValueOnly 0.026 s
testEmptyRangeExpression 0.002 s
testCaptureByPositionInvalidRegex 0.002 s
testReadPrimitive 0.007 s
testNonMatchingRegularExpression 0.008 s
testReadEmptyRegexAllRequiredFieldHeaderNameMapping 0.002 s
testRangeWithOnePosition 0.011 s
testNoNullaryConstructor 0.005 s
testReadConversionLocalePrimitiveHeaderMapping 0.008 s
testCaptureByPositionRegexWithoutCaptureGroup 0.002 s
testOpenRangeWithoutUpperBoundry 0.008 s
testCustomConverterByPositionWrite 0.010 s
testCustomConverterByPositionRead 0.004 s
testReadEmptyOptionalFieldValueOnly 0.005 s
testNonNumberRangeExpression 0.002 s
testNoNullaryConstructorNoSetter 0.006 s
testWriteFieldWithoutGetter 0.004 s
testWriteColumnMapping 0.007 s
testRangeBackward 0.006 s
testReadConversionLocalePrimitivePositionMapping 0.006 s
testBadCustomConverter 0.002 s
testCaptureByNameInvalidRegex 0.001 s
testBeanInstantiationImpossibleIllegalAccess 0.004 s
testWriteEmptyRequiredFieldColumnPositionMapping 0.002 s
testFieldNotMultiValuedMap 0.002 s
testReadEmptyOptionalFieldPosition 0.007 s
testWritePrimitive 0.005 s
testDoubleOpenRange 0.005 s
testReadDate 0.007 s
testReadEmptyIndividualRequiredFieldColumnPositionMapping 0.005 s
testOpenRangeNoLowerBound 0.004 s
testClosedRange 0.009 s
testNamingOverlap 0.007 s
testCustomConverterByNameWrite 0.008 s
testCustomConverterByNameRead 0.004 s
testWriteEmptyRequiredFieldInFirstBean 0.004 s
testWriteEmptyRequiredFieldInSecondBean 0.008 s
testSetterThrowsException 0.005 s
testReadEmptyOptionalFieldHeader 0.004 s
testReadEmptyIndividualRequiredFieldHeaderNameMapping 0.005 s
testUnassignableMultiValuedMap 0.001 s
testFormatByNameWriteInvalidFormatString 0.001 s
testUnknownMultiValuedMap 0.002 s
testCaptureByNameRegexWithoutCaptureGroup 0.002 s
testFormatByPositionWriteInvalidFormatString 0.002 s
testIllegalRegularExpression 0.002 s
testReadEmptyRegexSingleRequiredFieldHeaderNameMappingValueOnly 0.007 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.008 s
#value1, #value2, #value3 should produce #csvWriterValue from CSVWriter, #csvParserValue from CSVParserWriter with CSVParser, and #rfc4180Value from CSVParserWriter with RFC4180Parser 0.010 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.002 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.003 s
withFieldAsNull writes correctly with the CSVParserWriter EMPTY_QUOTES 0.004 s
withFieldAsNull writes correctly with the CSVParserWriter EMPTY_SEPARATORS 0.001 s
withFieldAsNull writes correctly with the CSVParserWriter BOTH 0.001 s
withFieldAsNull writes correctly with the CSVParserWriter NEITHER 0.001 s
withFieldAsNull writes correctly with the CSVParserWriter #nullFieldIndicator 0.011 s

StatefulBeanToCsvPerformanceTest

testPerformance 8.906 s

ProfileTest

testNoDefaultsPosition 0.039 s
testCsvNumberMismatch 0.003 s
testWritingByName 0.018 s
testReadingByName 0.030 s
testWritingByPosition 0.012 s
testReadingByPosition 0.035 s
testNoDefaultsName 0.004 s
testCsvDateMismatch 0.001 s

CSVWriterBuilderTest

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

RowFunctionValidatorTest

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

CsvConstraintViolationExceptionTest

codeCoverageConstructors 0.001 s
serializationDeserialization 0.006 s

CSVReaderHeaderAwareWithValidatorsTest

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

ConverterUUIDTest

convertToReadWithNullEmptyOrWhiteSpace(String)[1] 0.001 s
convertToReadWithNullEmptyOrWhiteSpace(String)[2] 0 s
convertToReadWithNullEmptyOrWhiteSpace(String)[3] 0 s
convertToReadWithNullEmptyOrWhiteSpace(String)[4] 0 s
convertToReadWithNullEmptyOrWhiteSpace(String)[5] 0.001 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.001 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.001 s
convertToRead(String)[1] 0.001 s
convertToRead(String)[2] 0.001 s
convertToRead(String)[3] 0.001 s
convertToRead(String)[4] 0.001 s
convertToRead(String)[5] 0.001 s
convertToRead(String)[6] 0.001 s

UniCodeTest

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

CsvToBeanAsIteratorTest

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

NumberTest

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

ExceptionHandlerTest

testWriteWithQueueExceptionHandlerLargeMaxExceptions 0.023 s
testLambdaExceptionHandler 0.008 s
testReadWithExceptionHandler 0.010 s
testWriteWithIgnoreExceptionHandlerSmallNumberOfExceptions 0.022 s
testQueueThenThrowExceptionHandler 0.022 s
testWriteWithIgnoreExceptionHandlerLargeMaxExceptions 0.022 s
testReadWithQueueThenThrowHandler 0.020 s
testWriteWithQueueExceptionHandlerSmallNumberOfExceptions 0.020 s

UUIDTest

convert 0 s

HeaderColumnNameTranslateMappingStrategyTest

columnNameMappingShouldBeCaseInsensitive 0.005 s
testParse 0.004 s
getColumnNameReturnsNullIfColumnNumberIsTooLarge 0.004 s
testParseWithSubset 0.005 s
onlyConvertWhatIsInTheMap 0.005 s

OpencsvTest

testWriteRead 0.001 s

CSVWriterTest

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

FuzzyMappingTest

testWritingFuzzy 0.002 s
testReadingFuzzyWithoutAnnotations 0.004 s
testHeadersUnmatched 0.007 s
testVariablesUnmatched 0.004 s
testReadingFuzzyWithAnnotations 0.004 s

CsvReaderHeaderAwareTest

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

CSVReaderAndParserIntegrationSpec

parsing with CSVParser 0.012 s
parsing with RFC4180Parser 0.001 s
parsing with #parserName 0.015 s
Bug 143 - Quote Character should be the escaper for CSVParser 0.007 s
Bug 143 - Quote Character should be the escaper for RFC4180Parser 0.001 s
Bug 143 - Quote Character should be the escaper for #parserName 0.008 s

TemporalTest

testInvalidFormatStringForWriting 0.063 s
testWriteGoodDataByPosition 0.364 s
testMinguoEraUnparseable 0.006 s
testWriteGoodDataByName 0.064 s
testReadGoodDataByName 0.077 s
testJapaneseEraUnparseable 0.003 s
testIsoEraUnparseable 0.003 s
testReadGoodDataByPosition 0.054 s
testUnknownTemporalAccessor 0.002 s
testBeanInputDoesNotMatchFormatString 0.059 s
testCsvInputDoesNotMatchFormatString 0.008 s
testInvalidChronologyForReading 0.001 s
testThaiBuddhistEraUnparseable 0.004 s
testInvalidChronologyForWriting 0.001 s
testHijrahEraUnparseable 0.003 s
testInvalidFormatStringForReading 0.002 s

BeanFieldValidatorTest

testGoodString 0.006 s
testValidatorWithParameter(String, boolean)[1] 0.005 s
testValidatorWithParameter(String, boolean)[2] 0.003 s
testValidatorWithParameter(String, boolean)[3] 0.004 s
testValidatorWithParameter(String, boolean)[4] 0.004 s
testValidatorWithParameter(String, boolean)[5] 0.005 s
testValidatorWithParameter(String, boolean)[6] 0.004 s
testValidatorWithParameter(String, boolean)[7] 0.004 s
testValidatorWithParameter(String, boolean)[8] 0.003 s
testValidatorWithParameter(String, boolean)[9] 0.003 s
testValidatorWithParameter(String, boolean)[10] 0.004 s
testValidatorWithParameter(String, boolean)[11] 0.004 s
testValidatorWithParameter(String, boolean)[12] 0.004 s
badName 0.003 s

CollectionSplitTest

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

CSVReaderBuilderTest

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

WriteThenReadTest

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

OptionalTest

testWriteWithOptionalNull 0.002 s
testReadWithOptionalNull 0.003 s
testReadWithOptionalNotNull 0.003 s
testWriteWithOptionalNotNull 0.001 s

RFC4180ParserBuilderTest

testWithSeparator 0 s
testDefaultBuilder 0 s
testWithQuoteChar 0.001 s

CSVReaderWithValidatorsTest

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

CsvBeanIntrospectionExceptionTest

defaultExceptionHasNoMessage 0.001 s
exceptionWithMessageBeanAndFieldWillReturnMessage 0 s
exceptionWithOnlyAMessage 0.001 s
exceptionWithNoMessageButHasBeanAndField 0 s
serializationDeserialization 0.018 s

HeaderColumnNameMappingStrategyTest

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

RowMustHaveSameNumberOfColumnsAsFirstRowValidatorTest

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

ComparatorTest

testComparatorNull 0.006 s
testLiteralComparatorInteger 0.001 s
testLiteralComparatorString 0 s

CSVIteratorSpec

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

NonPrimitiveConversionTest

convertUUID(String)[1] 0.022 s
convertUUID(String)[2] 0.004 s
convertUUID(String)[3] 0.003 s
convertUUID(String)[4] 0.003 s
convertUUID(String)[5] 0.003 s
convertUUID(String)[6] 0.003 s

CSVReaderWithRowProcessorTest

readerWithoutRowProcessor 0.001 s
readerWithRowProcessor 0 s

CsvToBeanBuilderTest

precedenceOfExceptionHandlers 0.002 s

isClosedTest

issue115StandardReadFailsAfterALargeNumberOfReads 0.035 s

CsvToBeanDoubleTest

parseBeanWithNoAnnotations 0.005 s

Bug63Test

mappingStrategyRead 0.034 s

CSVReaderSpec

When class java.nio.charset.CharacterCodingException is thrown the exception will not be caught 0.053 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.001 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.001 s
When class java.io.IOException is thrown the exception will be caught 0 s
When #exceptionClass is thrown the exception #will be caught 0.072 s

TestUtilitiesTest

displayStringArray 0.001 s

IgnoreTest

testIgnoreWithMethodAndColumnPositionMappingOnReading 0.027 s
testSerialVersionUIDSerializable 0.002 s
testInvalidInputToBuilderForIgnoreOnReading 0.002 s
testIgnoreWithAnnotationAndColumnPositionMappingOnReading 0.007 s
testInvalidInputToBuilderForIgnoreOnWriting 0.001 s
testIgnoreAllWithHeaderNameMappingOnReading 0.005 s
testRemappingOnIgnore 0.021 s
testSerialVersionUIDNonSerializable 0.003 s
testIgnoreWithAnnotationAndHeaderNameMappingOnReading 0.010 s
testIgnoreWithRecursion 0.005 s
testInvalidInputForIgnore 0.007 s
testIgnoreOnWriting 0.009 s
testIgnoreAllWithColumnPositionMappingOnReading 0.012 s
testIgnoreWithMethodAndHeaderNameMappingOnReading 0.009 s

FR138Test

parseBeanThatHasNullForInt 0.009 s

CSVParserBuilderSpec

builder creates a CSVParser by default 0.001 s
default RFC4180Parser has proper values 0.008 s

RFC4180ParserTest

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

StatefulBeanToCsvTest

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

CSVParserTest

testADoubleQuoteAsDataElement 0 s
separatorAndEscapeCannotBeTheSame 0 s
quoteAndEscapeCanBeTheSameIfNull 0.001 s
testFalseIgnoreQuotations 0.001 s
testStrictQuotesEndsFieldAtQuote 0 s
testNotStrictQuotesAllowsEmbeddedEscapedQuote 0.001 s
testParsedLineWithInternalQuote 0 s
parseSimpleQuotedString 0 s
parseQuotedQuoteCharacters 0 s
parseQuotedStringWithDefinedSeparatorAndQuote 0.001 s
testMultilineLimitBrokeErrorDetailWithQuoteMiddle 0.001 s
spacesAtEndOfQuotedStringDoNotCountIfStrictQuotesIsTrue 0.001 s
testIssue3314579 0 s
shouldSupportPortugueseLocale 0.002 s
parseTrickyString 0 s
testNotStrictQuoteSimple 0.001 s
quoteAndEscapeCannotBeTheSame 0.001 s
testMultilineLimitBrokeErrorDetailWithQuoteEnd 0 s
testParseLine 0 s
parseMultiLinedQuoted 0.001 s
separatorAndQuoteCannotBeTheSame 0.001 s
featureRequest60TreatEmptyFieldsAsNull 0 s
whitespaceBeforeEscape 0 s
parseEscapingTheEscapeCharacter 0 s
parseLineMultiAllowsQuotesAcrossMultipleLines 0 s
featureRequest60TreatEmptyFieldsDelimitedOrNotAsNull 0.001 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.001 s
parseToLineApplyQuotesToAllIsTrue 0 s
testIssue2958242WithoutQuotes 0.001 s
parseToLineApplyQuotesToAllIsFalse 0 s
parseEscapingTheSeparatorCharacterWithoutQuotes 0 s
parseSimpleString 0 s
parseQuotedStringWithDefinedSeparator 0 s
testStrictQuotesEndsFieldAtQuoteWithEscapedQuoteInMiddle 0 s
parserHandlesNullInString 0 s
parseEscapingTheFirstCharacter 0.001 s
separatorCharacterCannotBeNull 0 s
testCanIgnoreQuotations 0 s
parseMultipleQuotes 0 s
testNotStrictQuotesAllowsEmbeddedQuote 0 s
testEscapedDoubleQuoteAsDataElement 0.001 s
testStrictQuoteWithGarbage 0 s
featureRequest60TreatEmptyDelimitedFieldsAsNull 0 s
testAMultiLineInsideQuotes 0 s
pendingIsClearedAfterCallToParseLine 0.001 s
featureRequest60ByDefaultEmptyFieldsAreBlank 0 s
whichCharactersAreEscapable 0 s
testNotStrictQuoteWithSpacesAndTabs 0.001 s
parseEscapingTheSeparatorCharacter 0.001 s
returnPendingIfNullIsPassedIntoParseLineMulti 0 s
testIssue2263439 0.001 s
parseMultiLinedQuotedWithCarriageReturns 0 s
parseQuotedStringWithCommas 0.001 s
testIssue2726363 0 s
testIssue2859181 0 s
anIOExceptionThrownIfStringEndsInsideAQuotedString 0.001 s

CsvRequiredFieldEmptyExceptionTest

codeCoverageConstructors 0.001 s
serializationDeserialization 0.005 s

RowValidatorAggregatorTest

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

CSVReaderHeaderAwareWithRowProcessorTest

readerWithoutRowProcessor 0 s
readerWithRowProcessor 0.001 s

HeaderColumnNameMappingStrategyUserTest

testParse 0.084 s