Apache Commons logo Commons CSV™ logo

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
247 0 0 7 97.166% 5.127

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.bugs 3 0 0 0 100% 0.001
org.apache.commons.csv 244 0 0 7 97.131% 5.126

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

org.apache.commons.csv.bugs

Class Tests Errors Failures Skipped Success Rate Time
JiraCsv164Test 2 0 0 0 100% 0.001
JiraCsv167Test 1 0 0 0 100% 0

org.apache.commons.csv

Class Tests Errors Failures Skipped Success Rate Time
AssertionsTest 2 0 0 0 100% 0.131
CSVFileParserTest 12 0 0 0 100% 0.001
CSVFormatPredefinedTest 5 0 0 0 100% 0.001
CSVFormatTest 45 0 0 0 100% 0.038
CSVParserTest 67 0 0 3 95.522% 0.063
CSVPrinterTest 61 0 0 4 93.443% 4.87
CSVRecordTest 17 0 0 0 100% 0.002
ExtendedBufferedReaderTest 5 0 0 0 100% 0.001
LexerTest 26 0 0 0 100% 0.018
TokenMatchersTest 4 0 0 0 100% 0.001

Test Cases

[Summary] [Package List] [Test Cases]

AssertionsTest

testNotNullNull 0.005
testNotNull 0

JiraCsv164Test

testJiraCsv154_withCommentMarker 0
testJiraCsv154_withHeaderComments 0

JiraCsv167Test

parse 0

CSVFileParserTest

testCSVFile[0] 0
testCSVUrl[0] 0
testCSVFile[1] 0
testCSVUrl[1] 0
testCSVFile[2] 0
testCSVUrl[2] 0
testCSVFile[3] 0
testCSVUrl[3] 0
testCSVFile[4] 0
testCSVUrl[4] 0
testCSVFile[5] 0
testCSVUrl[5] 0

CSVFormatPredefinedTest

testTDF 0
testExcel 0
testMySQL 0.001
testRFC4180 0
testDefault 0

CSVFormatTest

testEqualsIgnoreSurroundingSpaces 0
testEqualsCommentStart 0
testWithDelimiter 0
testQuotePolicyNoneWithoutEscapeThrowsException 0
testWithQuoteLFThrowsException 0
testWithFirstRecordAsHeader 0
testSerialization 0.01
testNullRecordSeparatorCsv106 0
testEqualsQuoteChar 0.001
testEqualsSkipHeaderRecord 0
testQuoteCharSameAsCommentStartThrowsException 0.001
testWithRecordSeparatorCR 0
testWithRecordSeparatorLF 0
testWithEscapeCRThrowsExceptions 0
testWithIgnoreEmptyLines 0
testEqualsEscape 0.001
testEqualsHeader 0
testEqualsIgnoreEmptyLines 0.001
testWithCommentStart 0
testWithIgnoreSurround 0.001
testRFC4180 0
testEscapeSameAsCommentStartThrowsException 0
testDelimiterSameAsCommentStartThrowsException 0
testEqualsDelimiter 0
testQuoteCharSameAsCommentStartThrowsExceptionForWrapperType 0.001
testEqualsNullString 0
testWithQuotePolicy 0
testEqualsQuotePolicy 0.001
testEscapeSameAsCommentStartThrowsExceptionForWrapperType 0
testEqualsRecordSeparator 0
testWithCommentStartCRThrowsException 0.001
testQuoteCharSameAsDelimiterThrowsException 0
testWithDelimiterLFThrowsException 0
testDelimiterSameAsEscapeThrowsException 0.001
testWithEscape 0
testWithHeader 0.005
testGetHeader 0
testWithQuoteChar 0
testEquals 0
testWithEmptyEnum 0.002
testFormat 0
testWithRecordSeparatorCRLF 0.001
testDuplicateHeaderElements 0
testWithNullString 0
testWithHeaderEnum 0.002

CSVParserTest

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

CSVPrinterTest

testHeaderCommentTdf 0.015
testDelimeterQuoteNONE 0
testHeaderNotSet 0.001
testRandomExcel 1.218
testRandomMySql 0.822
testExcelPrintAllArrayOfLists 0
testPrint 0
testQuoteNonNumeric 0
testJdbcPrinterWithResultSetMetaData 0.798
testEOLEscaped 0
testPrinter1 0
testPrinter2 0
testPrinter3 0
testPrinter4 0
testPrinter5 0
testPrinter6 0
testPrinter7 0.001
testDelimiterPlain 0
testJira135_part1 0
skipped
testJira135_part2 0
skipped
testJira135_part3 0
skipped
testSingleQuoteQuoted 0
testTrimOffOneColumn 0
testTrailingDelimiterOnTwoColumns 0.001
testQuoteAll 0
testRandomTdf 0.81
testEOLQuoted 0
testEOLPlain 0
testExcelPrintAllIterableOfLists 0.001
testTrimOnOneColumn 0
testDelimeterQuoted 0
testSkipHeaderRecordFalse 0
testPlainPlain 0
testSingleLineComment 0
testExcelPrintAllIterableOfArrays 0
testNewCsvPrinterAppendableNullFormat 0
testInvalidFormat 0
testMultiLineComment 0
testJdbcPrinterWithResultSet 0.004
testPlainQuoted 0
testRandomRfc4180 0.593
testExcelPrintAllArrayOfArrays 0
testJdbcPrinter 0.004
testSkipHeaderRecordTrue 0
testRandomDefault 0.59
testTrimOnTwoColumns 0
testDelimiterEscaped 0
testHeader 0
testParseCustomNullValues 0
testEscapeBackslash 0.001
testPrintCustomNullValues 0
testPrintNullValues 0
testHeaderCommentExcel 0
testExcelPrinter1 0
testExcelPrinter2 0
testMySqlNullOutput 0.001
testJira135All 0
skipped
testMySqlNullStringDefault 0
testNewCSVPrinterNullAppendableFormat 0
testPlainEscaped 0
testDisabledComment 0.001

CSVRecordTest

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

ExtendedBufferedReaderTest

testEmptyInput 0
testReadChar 0
testReadLine 0
testReadLookahead1 0
testReadLookahead2 0

LexerTest

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

TokenMatchersTest

testHasContent 0
testHasType 0
testMatches 0
testIsReady 0

Failure Details

[Summary] [Package List] [Test Cases]


testBackslashEscapingOld
skipped: skipped
testStartWithEmptyLinesThenHeaders
skipped: skipped
testBOM
skipped: CSV-107
testJira135_part1
skipped: skipped
testJira135_part2
skipped: skipped
testJira135_part3
skipped: skipped
testJira135All
skipped: skipped