Apache Commons logo Commons CSV™ logo

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
308 0 0 13 95.779% 6.66

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


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.apache.commons.csv.issues 12 0 0 1 91.667% 0.467
org.apache.commons.csv 296 0 0 12 95.946% 6.193

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

org.apache.commons.csv.issues

Class Tests Errors Failures Skipped Success Rate Time
JiraCsv213Test 1 0 0 1 0% 0
JiraCsv203Test 7 0 0 0 100% 0
JiraCsv198Test 1 0 0 0 100% 0.461
JiraCsv164Test 2 0 0 0 100% 0.001
JiraCsv167Test 1 0 0 0 100% 0.005

org.apache.commons.csv

Class Tests Errors Failures Skipped Success Rate Time
CSVFormatPredefinedTest 8 0 0 0 100% 0.002
ExtendedBufferedReaderTest 5 0 0 0 100% 0.005
AssertionsTest 2 0 0 0 100% 0.002
CSVFormatTest 56 0 0 0 100% 0.038
CSVParserTest 75 0 0 3 96% 0.074
CSVPrinterTest 91 0 0 9 90.11% 5.851
TokenMatchersTest 4 0 0 0 100% 0.02
CSVRecordTest 17 0 0 0 100% 0.017
LexerTest 26 0 0 0 100% 0.139
CSVFileParserTest 12 0 0 0 100% 0.045

Test Cases

[Summary] [Package List] [Test Cases]

JiraCsv203Test

testQuoteModeMinimal 0
testWithoutQuoteMode 0
testQuoteModeNonNumeric 0
testQuoteModeAllNonNull 0
testWithEmptyValues 0
testWithoutNullString 0
testQuoteModeAll 0

JiraCsv198Test

test 0.461

CSVFormatPredefinedTest

testTDF 0
testExcel 0
testMySQL 0
testRFC4180 0
testPostgreSqlCsv 0
testPostgreSqlText 0
testDefault 0
testOracle 0

JiraCsv164Test

testJiraCsv154_withCommentMarker 0
testJiraCsv154_withHeaderComments 0

ExtendedBufferedReaderTest

testEmptyInput 0
testReadChar 0
testReadLine 0.001
testReadLookahead1 0
testReadLookahead2 0.001

AssertionsTest

testNotNullNull 0
testNotNull 0

JiraCsv167Test

parse 0.002

CSVFormatTest

testEqualsIgnoreSurroundingSpaces 0
testEqualsCommentStart 0.001
testWithDelimiter 0
testToStringAndWithCommentMarkerTakingCharacter 0.006
testQuotePolicyNoneWithoutEscapeThrowsException 0
testWithQuoteLFThrowsException 0
testWithFirstRecordAsHeader 0.001
testSerialization 0.009
testNullRecordSeparatorCsv106 0.001
testEqualsQuoteChar 0
testToString 0
testWithHeaderComments 0.001
testEqualsSkipHeaderRecord 0
testQuoteCharSameAsCommentStartThrowsException 0
testWithRecordSeparatorCR 0.001
testWithRecordSeparatorLF 0
testWithEscapeCRThrowsExceptions 0
testWithSystemRecordSeparator 0
testWithIgnoreEmptyLines 0
testEqualsNoQuotes 0
testHashCodeAndWithIgnoreHeaderCase 0
testEqualsEscape 0
testEqualsHeader 0
testEqualsIgnoreEmptyLines 0.001
testWithCommentStart 0
testNewFormat 0
testWithIgnoreSurround 0
testRFC4180 0
testEscapeSameAsCommentStartThrowsException 0
testFormatThrowsNullPointerException 0.003
testDelimiterSameAsCommentStartThrowsException 0
testEqualsDelimiter 0
testQuoteCharSameAsCommentStartThrowsExceptionForWrapperType 0
testEqualsNullString 0
testWithQuotePolicy 0
testEqualsQuotePolicy 0
testEscapeSameAsCommentStartThrowsExceptionForWrapperType 0
testEqualsRecordSeparator 0
testWithCommentStartCRThrowsException 0
testQuoteCharSameAsDelimiterThrowsException 0
testWithDelimiterLFThrowsException 0
testDelimiterSameAsEscapeThrowsException 0
testWithEscape 0
testWithHeader 0
testGetHeader 0
testEqualsLeftNoQuoteRightQuote 0
testWithQuoteChar 0
testEquals 0
testWithEmptyEnum 0.002
testFormat 0.001
testWithRecordSeparatorCRLF 0
testEqualsOne 0
testDuplicateHeaderElements 0.001
testWithNullString 0
testWithHeaderEnum 0.002
testEqualsWithNull 0

CSVParserTest

testBackslashEscapingOld 0
skipped
testStartWithEmptyLinesThenHeaders 0
skipped
testBOMInputStream_parseWithReader 0.035
testExcelHeaderCountLessThanData 0
testMultipleIterators 0
testHeaderComment 0
testDefaultFormat 0
testGetRecordPositionWithCRLF 0
testHeaderMissing 0
testTrailingDelimiter 0
testBOMInputStream_ParserWithInputStream 0.005
testBOM 0
CSV-107
testFirstEndOfLineCrLf 0
testProvidedHeaderAuto 0.001
testGetRecordWithMultiLineValues 0
testParseNullStringFormat 0
testSkipSetAltHeaders 0
testGetRecordNumberWithCR 0
testGetRecordNumberWithLF 0
testCSV57 0
testClose 0
testParse 0.008
testTrim 0
testGetLineNumberWithCR 0.001
testGetLineNumberWithLF 0
testParserUrlNullCharsetFormat 0
testForEach 0
testGetOneLine 0
testGetLineNumberWithCRLF 0
testCarriageReturnLineFeedEndings 0
testGetRecordNumberWithCRLF 0
testParseUrlCharsetNullFormat 0.001
testBOMInputStream_ParserWithReader 0.002
testEmptyFile 0
testCarriageReturnEndings 0
testGetLine 0
testIgnoreCaseHeaderMapping 0.001
testGetRecordPositionWithLF 0
testGetOneLineOneParser 0.001
testHeadersMissingException 0.001
testProvidedHeader 0
testIteratorSequenceBreaking 0.001
testSkipHeaderOverrideDuplicateHeaders 0
testParseNullUrlCharsetFormat 0
testInvalidFormat 0
testBackslashEscaping2 0.001
testExcelFormat1 0
testExcelFormat2 0
testEndOfFileBehaviourExcel 0
testRoundtrip 0
testNoHeaderMap 0
testParseFileNullFormat 0.001
testGetHeaderMap 0
testBackslashEscaping 0
testLineFeedEndings 0
testParseNullPathFormat 0
testMappedButNotSetAsOutlook2007ContactExport 0
testEmptyLineBehaviourCSV 0
testSkipSetHeader 0.001
testHeaderMissingWithNull 0
testIgnoreEmptyLines 0
testEndOfFileBehaviorCSV 0
testNewCSVParserNullReaderFormat 0
testParseStringNullFormat 0
testEmptyLineBehaviourExcel 0
testHeader 0
testGetRecords 0
testHeadersMissing 0
testFirstEndOfLineCr 0
testFirstEndOfLineLf 0
testDuplicateHeaders 0.001
testIterator 0
testParseNullFileFormat 0
testSkipAutoHeader 0
testNewCSVParserReaderNullFormat 0

CSVPrinterTest

testPrintRecordsWithEmptyVector 0.008
testHeaderCommentTdf 0.077
testDelimeterQuoteNONE 0
testHeaderNotSet 0
testRandomExcel 1.739
testRandomMySql 0.843
testExcelPrintAllArrayOfLists 0
testPrintOnePositiveInteger 0
testPrint 0
testQuoteNonNumeric 0
testPrintRecordsWithResultSetOneRow 0.161
testCloseWithCsvFormatAutoFlushOff 0.284
testJdbcPrinterWithResultSetMetaData 0.536
testEOLEscaped 0
testEscapeNull1 0
testEscapeNull2 0
testEscapeNull3 0
testEscapeNull4 0
testEscapeNull5 0
testPrinter1 0
testPrinter2 0
testPrinter3 0
testPrinter4 0
testPrinter5 0
testPrinter6 0.001
testPrinter7 0.002
testDelimiterPlain 0
testPostgreSQLNullStringDefaultText 0
testJira135_part1 0
skipped
testJira135_part2 0
skipped
testJira135_part3 0
skipped
testRandomPostgreSqlText 0
skipped
testSingleQuoteQuoted 0
testPrintRecordsWithObjectArray 0
testTrimOffOneColumn 0
testDontQuoteEuroFirstChar 0
testTrailingDelimiterOnTwoColumns 0
testQuoteAll 0
testRandomTdf 0.983
testPrintToFileWithCharsetUtf16Be 0.061
testPostgreSqlCsvTextOutput 0
skipped
testEOLQuoted 0
testPrintToPathWithDefaultCharset 0.031
testPostgreSqlCsvNullOutput 0
skipped
testEOLPlain 0
testExcelPrintAllIterableOfLists 0.001
testTrimOnOneColumn 0
testDelimeterQuoted 0
testSkipHeaderRecordFalse 0
testPlainPlain 0.002
testSingleLineComment 0
testExcelPrintAllIterableOfArrays 0
testNewCsvPrinterAppendableNullFormat 0.001
testInvalidFormat 0
testRandomOracle 0
skipped
testMultiLineComment 0
testJdbcPrinterWithResultSet 0.005
testQuoteCommaFirstChar 0.001
testPlainQuoted 0
testRandomRfc4180 0.656
testExcelPrintAllArrayOfArrays 0
testJdbcPrinter 0.005
testEscapeBackslash1 0
testEscapeBackslash2 0
testEscapeBackslash3 0.001
testEscapeBackslash4 0.001
testEscapeBackslash5 0
testSkipHeaderRecordTrue 0.001
testRandomDefault 0.419
testCloseBackwardCompatibility 0.001
testCloseWithCsvFormatAutoFlushOn 0.001
testTrimOnTwoColumns 0
testDelimiterEscaped 0
testPostgreSQLNullStringDefaultCsv 0.001
testHeader 0
testParseCustomNullValues 0
testPrintCustomNullValues 0
testPrintNullValues 0
testRandomPostgreSqlCsv 0
skipped
testHeaderCommentExcel 0
testExcelPrinter1 0.001
testExcelPrinter2 0
testCloseWithFlushOn 0.001
testMySqlNullOutput 0
testJira135All 0
skipped
testMySqlNullStringDefault 0
testNewCSVPrinterNullAppendableFormat 0.001
testPlainEscaped 0
testPrintToFileWithDefaultCharset 0.001
testCloseWithFlushOff 0.001
testDisabledComment 0

TokenMatchersTest

testHasContent 0.012
testHasType 0
testMatches 0
testIsReady 0.001

CSVRecordTest

testRemoveAndAddColumns 0.001
testPutInMap 0.001
testIsConsistent 0
testIsSet 0
testToMap 0
testIsMapped 0.001
testGetStringInconsistentRecord 0
testToMapWithShortRecord 0
testGetStringNoHeader 0
testGetUnmappedPositiveInt 0
testGetUnmappedNegativeInt 0.001
testGetUnmappedEnum 0
testGetUnmappedName 0
testGetInt 0
testGetString 0
testIterator 0.002
testToMapWithNoHeader 0

LexerTest

testNextToken4 0.029
testNextToken5 0.001
testNextToken6 0
testTab 0
testSurroundingSpacesAreDeleted 0.004
testEscapedControlCharacter2 0
testCommentsAndEmptyLines 0.001
testCR 0.001
testFF 0
testLF 0
testEscapedTab 0.001
testComments 0.002
testSurroundingTabsAreDeleted 0.001
testEscapingAtEOF 0.001
testEscapedMySqlNullValue 0
testEscapedBackspace 0
testBackslashWithEscaping 0
testEscapedCharacter 0
testBackslashWithoutEscaping 0
testDelimiterIsWhitespace 0
testIgnoreEmptyLines 0.001
testEscapedControlCharacter 0
testEscapedCR 0
testEscapedFF 0
testEscapedLF 0
testBackspace 0.001

CSVFileParserTest

testCSVFile[0] 0.008
testCSVUrl[0] 0.004
testCSVFile[1] 0.002
testCSVUrl[1] 0.002
testCSVFile[2] 0.001
testCSVUrl[2] 0
testCSVFile[3] 0.001
testCSVUrl[3] 0
testCSVFile[4] 0.002
testCSVUrl[4] 0.001
testCSVFile[5] 0
testCSVUrl[5] 0

Failure Details

[Summary] [Package List] [Test Cases]


org.apache.commons.csv.issues.JiraCsv213Test
skipped: skipped
testBackslashEscapingOld
skipped: skipped
testStartWithEmptyLinesThenHeaders
skipped: skipped
testBOM
skipped: CSV-107
testJira135_part1
skipped: skipped
testJira135_part2
skipped: skipped
testJira135_part3
skipped: skipped
testRandomPostgreSqlText
skipped: skipped
testPostgreSqlCsvTextOutput
skipped: skipped
testPostgreSqlCsvNullOutput
skipped: skipped
testRandomOracle
skipped: skipped
testRandomPostgreSqlCsv
skipped: skipped
testJira135All
skipped: skipped