Apache Commons logo Apache Commons CSV™ logo

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
421 0 0 15 96.437% 9.28

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 31 0 0 1 96.774% 0.986
org.apache.commons.csv 390 0 0 14 96.41% 8.294

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.001
JiraCsv271Test 2 0 0 0 100% 0.002
JiraCsv198Test 1 0 0 0 100% 0.965
JiraCsv247Test 2 0 0 0 100% 0.002
JiraCsv149Test 2 0 0 0 100% 0
JiraCsv148Test 2 0 0 0 100% 0
JiraCsv263Test 1 0 0 0 100% 0
JiraCsv211Test 1 0 0 0 100% 0.004
JiraCsv167Test 1 0 0 0 100% 0.001
JiraCsv154Test 2 0 0 0 100% 0
JiraCsv249Test 1 0 0 0 100% 0
JiraCsv248Test 1 0 0 0 100% 0.005
JiraCsv265Test 2 0 0 0 100% 0.001
JiraCsv93Test 3 0 0 0 100% 0.004
JiraCsv253Test 1 0 0 0 100% 0.001
JiraCsv206Test 1 0 0 0 100% 0

org.apache.commons.csv

Class Tests Errors Failures Skipped Success Rate Time
CSVFormatPredefinedTest 10 0 0 0 100% 0.001
ExtendedBufferedReaderTest 6 0 0 0 100% 0
CSVFormatTest 92 0 0 0 100% 0.174
CSVParserTest 93 0 0 4 95.699% 0.148
CSVPrinterTest 113 0 0 10 91.15% 7.323
TokenMatchersTest 5 0 0 0 100% 0.001
CSVRecordTest 26 0 0 0 100% 0.076
LexerTest 31 0 0 0 100% 0.273
CSVFileParserTest 14 0 0 0 100% 0.298

Test Cases

[Summary] [Package List] [Test Cases]

JiraCsv213Test

org.apache.commons.csv.issues.JiraCsv213Test 0
class org.apache.commons.csv.issues.JiraCsv213Test is @Disabled

JiraCsv203Test

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

JiraCsv271Test

testJiraCsv271_withList 0
testJiraCsv271_withArray 0

JiraCsv198Test

test 0.965

JiraCsv247Test

testHeadersMissingThrowsWhenNotAllowingMissingColumnNames 0
testHeadersMissingOneColumnWhenAllowingMissingColumnNames 0.001

CSVFormatPredefinedTest

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

ExtendedBufferedReaderTest

testEmptyInput 0
testReadChar 0
testReadLine 0
testReadLookahead1 0
testReadLookahead2 0
testReadingInDifferentBuffer 0

JiraCsv149Test

testJiraCsv149EndWithEOL 0
testJiraCsv149EndWithoutEOL 0

JiraCsv148Test

testWithTrimEmpty 0
testWithIgnoreSurroundingSpacesEmpty 0

JiraCsv263Test

testPrintFromReaderWithQuotes 0

JiraCsv211Test

testJiraCsv211Format 0

JiraCsv167Test

parse 0

JiraCsv154Test

testJiraCsv154_withCommentMarker 0
testJiraCsv154_withHeaderComments 0

JiraCsv249Test

testJiraCsv249 0

JiraCsv248Test

testJiraCsv248 0.005

CSVFormatTest

testEqualsIgnoreSurroundingSpaces 0.002
testDelimiterSameAsEscapeThrowsException_Deprecated 0.001
testPrintWithQuoteModeIsNONE 0
testEqualsCommentStart 0.001
testQuoteCharSameAsDelimiterThrowsException_Deprecated 0.001
testJiraCsv236 0.001
testEscapeSameAsCommentStartThrowsExceptionForWrapperType_Deprecated 0.001
testWithDelimiter 0
testEscapeSameAsCommentStartThrowsException_Deprecated 0.001
testToStringAndWithCommentMarkerTakingCharacter 0.03
testQuotePolicyNoneWithoutEscapeThrowsException 0.002
testWithQuoteLFThrowsException 0.002
testWithFirstRecordAsHeader 0.001
testEqualsNullString_Deprecated 0.001
testJiraCsv236__Deprecated 0
testSerialization 0.009
testNullRecordSeparatorCsv106 0.002
testEqualsQuoteChar 0.001
testTrim 0
testNullRecordSeparatorCsv106__Deprecated 0.001
testToString 0
testWithHeaderComments 0
testEqualsQuoteChar_Deprecated 0
testQuoteCharSameAsCommentStartThrowsException 0.001
testWithRecordSeparatorCR 0.001
testWithRecordSeparatorLF 0.001
testDelimiterSameAsCommentStartThrowsException_Deprecated 0.001
testPrintWithEscapesEndWithoutCRLF 0
testWithEscapeCRThrowsExceptions 0.001
testWithSystemRecordSeparator 0.001
testWithIgnoreEmptyLines 0
testEqualsNoQuotes 0
testHashCodeAndWithIgnoreHeaderCase 0.001
testEqualsSkipHeaderRecord_Deprecated 0
testEqualsIgnoreSurroundingSpaces_Deprecated 0.001
testEqualsEscape 0.001
testEqualsHeader 0.002
testEqualsIgnoreEmptyLines 0
testEqualsHash 0
testWithCommentStart 0.001
testNewFormat 0
testWithIgnoreSurround 0
testRFC4180 0.001
testDelimiterSameAsRecordSeparatorThrowsException 0.001
testEscapeSameAsCommentStartThrowsException 0.001
testFormatThrowsNullPointerException 0.001
testEqualsDelimiter 0
testEqualsRecordSeparator_Deprecated 0.001
testDelimiterSameAsCommentStartThrowsException1 0
testWithHeaderResultSetNull 0
testDuplicateHeaderElements_Deprecated 0
testQuoteCharSameAsCommentStartThrowsExceptionForWrapperType 0.001
testDelimiterSameAsEscapeThrowsException1 0.001
testEqualsQuotePolicy_Deprecated 0
testQuoteCharSameAsCommentStartThrowsException_Deprecated 0.01
testEqualsNullString 0.002
testEqualsHeader_Deprecated 0.001
testEqualsCommentStart_Deprecated 0
testWithQuotePolicy 0.001
testDuplicateHeaderElementsFalse 0.001
testEqualsQuotePolicy 0
testEscapeSameAsCommentStartThrowsExceptionForWrapperType 0.001
testEqualsNoQuotes_Deprecated 0.001
testEqualsRecordSeparator 0
testWithCommentStartCRThrowsException 0.001
testQuoteCharSameAsDelimiterThrowsException 0.003
testPrintWithoutQuotes 0.001
testWithDelimiterLFThrowsException 0.001
testEqualsLeftNoQuoteRightQuote_Deprecated 0
testWithEscape 0.001
testWithHeader 0
testGetHeader 0.002
testEqualsLeftNoQuoteRightQuote 0
testFormatToString 0
testWithQuoteChar 0
testEquals 0.001
testWithEmptyEnum 0
testFormat 0.002
testWithRecordSeparatorCRLF 0.001
testPrintWithEscapesEndWithCRLF 0
testEqualsIgnoreEmptyLines_Deprecated 0
testEqualsOne 0.006
testEqualsEscape_Deprecated 0
testDuplicateHeaderElementsFalse_Deprecated 0.004
testDuplicateHeaderElements 0
testPrintWithQuotes 0
testWithHeaderEnumNull 0
testWithNullString 0
testWithHeaderEnum 0.003
testQuoteCharSameAsCommentStartThrowsExceptionForWrapperType_Deprecated 0.001
testQuotePolicyNoneWithoutEscapeThrowsException_Deprecated 0
testEqualsWithNull 0

CSVParserTest

testBackslashEscapingOld 0
public void org.apache.commons.csv.CSVParserTest.testBackslashEscapingOld() throws java.io.IOException is @Disabled
testParseWithDelimiterWithQuote 0.001
testStartWithEmptyLinesThenHeaders 0
public void org.apache.commons.csv.CSVParserTest.testStartWithEmptyLinesThenHeaders() throws java.lang.Exception is @Disabled
testBOMInputStream_parseWithReader 0.017
testExcelHeaderCountLessThanData 0
testHeadersWithNullColumnName 0.001
testMultipleIterators 0
testHeaderComment 0
testDefaultFormat 0
testEndOfFileBehaviorExcel 0
testGetRecordPositionWithCRLF 0
testHeaderMissing 0
testTrailingDelimiter 0
testNotValueCSV 0.001
testParseWithDelimiterStringWithQuote 0.008
testBOMInputStream_ParserWithInputStream 0.005
testBOM 0
CSV-107
testFirstEndOfLineCrLf 0
testProvidedHeaderAuto 0.001
testGetRecordWithMultiLineValues 0.001
testParseWithDelimiterStringWithEscape 0.001
testParseNullStringFormat 0.002
testParseWithDelimiterWithEscape 0
testSkipSetAltHeaders 0
testGetRecordNumberWithCR 0.001
testGetRecordNumberWithLF 0
testCSV57 0.001
testClose 0.001
testParse 0.004
testTrim 0.001
testGetLineNumberWithCR 0
testGetLineNumberWithLF 0.001
testParserUrlNullCharsetFormat 0.002
testForEach 0
testGetOneLine 0
testGetLineNumberWithCRLF 0.001
testCarriageReturnLineFeedEndings 0
testMongoDbCsv 0
public void org.apache.commons.csv.CSVParserTest.testMongoDbCsv() throws java.lang.Exception is @Disabled
testGetRecordNumberWithCRLF 0.001
testParseUrlCharsetNullFormat 0.002
testBOMInputStream_ParserWithReader 0.003
testEmptyFile 0.001
testGetHeaderNames 0.001
testCarriageReturnEndings 0
testParseWithQuoteThrowsException 0.004
testGetLine 0
testIgnoreCaseHeaderMapping 0.001
testGetRecordPositionWithLF 0
testGetOneLineOneParser 0.001
testHeadersMissingException 0.001
testGetHeaderNamesReadOnly 0.001
testDuplicateHeadersAllowedByDefault 0.001
testProvidedHeader 0
testIteratorSequenceBreaking 0.001
testSkipHeaderOverrideDuplicateHeaders 0
testRepeatedHeadersAreReturnedInCSVRecordHeaderNames 0
testEmptyLineBehaviorCSV 0.001
testParseNullUrlCharsetFormat 0
testInvalidFormat 0.003
testBackslashEscaping2 0.001
testExcelFormat1 0.001
testExcelFormat2 0
testDuplicateHeadersNotAllowed 0
testEmptyString 0.001
testRoundtrip 0
testNoHeaderMap 0
testParseFileNullFormat 0.002
testParseWithQuoteWithEscape 0
testGetHeaderMap 0.001
testBackslashEscaping 0
testLineFeedEndings 0.001
testParseNullPathFormat 0.001
testMappedButNotSetAsOutlook2007ContactExport 0.001
testSkipSetHeader 0
testHeaderMissingWithNull 0
testIgnoreEmptyLines 0.002
testCSV235 0
testEndOfFileBehaviorCSV 0
testNewCSVParserNullReaderFormat 0
testEmptyLineBehaviorExcel 0
testParseStringNullFormat 0.006
testHeader 0
testGetRecords 0
testHeadersMissing 0
testFirstEndOfLineCr 0
testFirstEndOfLineLf 0
testEmptyFileHeaderParsing 0
testStream 0
testIterator 0.005
testHeadersMissingOneColumnException 0.001
testParseNullFileFormat 0.001
testSkipAutoHeader 0.001
testNewCSVParserReaderNullFormat 0.008

JiraCsv265Test

testCharacterPositionWithCommentsSpanningMultipleLines 0
testCharacterPositionWithComments 0

JiraCsv93Test

testWithSetNullStringNULL 0.001
testWithNotSetNullString 0.001
testWithSetNullStringEmptyString 0.001

JiraCsv253Test

testHandleAbsentValues 0.001

CSVPrinterTest

testPrintRecordsWithEmptyVector 0.005
testPrintReaderWithoutQuoteToWriter 0.003
testEolQuoted 0.001
testMongoDbTsvBasic 0
testHeaderCommentTdf 0.013
testDelimeterQuoteNone 0.001
testRandomMongoDbCsv 0
public void org.apache.commons.csv.CSVPrinterTest.testRandomMongoDbCsv() throws java.lang.Exception is @Disabled
testHeaderNotSet 0
testPostgreSqlNullStringDefaultCsv 0
testRandomExcel 1.591
testRandomMySql 1.102
testExcelPrintAllArrayOfLists 0.002
testMongoDbCsvBasic 0.001
testPrintOnePositiveInteger 0.001
testPrint 0
testJdbcPrinterWithResultSetHeader 0.855
testNewCsvPrinterNullAppendableFormat 0.001
testQuoteNonNumeric 0.003
testPrintRecordsWithResultSetOneRow 0.012
testMongoDbTsvTabInValue 0.007
testCloseWithCsvFormatAutoFlushOff 1.195
testJdbcPrinterWithResultSetMetaData 0.017
testEolPlain 0.001
testMongoDbTsvCommaInValue 0.001
testMongoDbCsvCommaInValue 0.001
testEscapeNull1 0
testEscapeNull2 0.001
testEscapeNull3 0.001
testEscapeNull4 0
testEscapeNull5 0.001
testPrintRecordsWithCSVRecord 0.003
testPrinter1 0
testPrinter2 0.002
testPrinter3 0.001
testPrinter4 0.002
testPrinter5 0.001
testPrinter6 0
testPrinter7 0.001
testDelimiterPlain 0
testJira135_part1 0
public void org.apache.commons.csv.CSVPrinterTest.testJira135_part1() throws java.io.IOException is @Disabled
testJira135_part2 0
public void org.apache.commons.csv.CSVPrinterTest.testJira135_part2() throws java.io.IOException is @Disabled
testJira135_part3 0
public void org.apache.commons.csv.CSVPrinterTest.testJira135_part3() throws java.io.IOException is @Disabled
testRandomPostgreSqlText 0
public void org.apache.commons.csv.CSVPrinterTest.testRandomPostgreSqlText() throws java.lang.Exception is @Disabled
testSingleQuoteQuoted 0.001
testPrintRecordsWithObjectArray 0
testDelimeterStringQuoteNone 0.002
testTrimOffOneColumn 0
testMongoDbCsvTabInValue 0.001
testDontQuoteEuroFirstChar 0
testTrailingDelimiterOnTwoColumns 0
testQuoteAll 0
testRandomTdf 1.095
testPrintToFileWithCharsetUtf16Be 0.046
testPostgreSqlCsvTextOutput 0
public void org.apache.commons.csv.CSVPrinterTest.testPostgreSqlCsvTextOutput() throws java.io.IOException is @Disabled
testPostgreSqlNullStringDefaultText 0
testPrintToPathWithDefaultCharset 0.011
testPostgreSqlCsvNullOutput 0
public void org.apache.commons.csv.CSVPrinterTest.testPostgreSqlCsvNullOutput() throws java.io.IOException is @Disabled
testPrintCSVRecords 0
testExcelPrintAllIterableOfLists 0
testTrimOnOneColumn 0
testDelimeterQuoted 0
testSkipHeaderRecordFalse 0.001
testPlainPlain 0
testSingleLineComment 0.001
testExcelPrintAllIterableOfArrays 0
testNewCsvPrinterAppendableNullFormat 0.004
testInvalidFormat 0.002
testRandomOracle 0
public void org.apache.commons.csv.CSVPrinterTest.testRandomOracle() throws java.lang.Exception is @Disabled
testMultiLineComment 0
testJdbcPrinterWithResultSet 0.011
testQuoteCommaFirstChar 0.001
testPlainQuoted 0.001
testNotFlushable 0
testRandomRfc4180 0.598
testExcelPrintAllArrayOfArrays 0
testDelimeterStringQuoted 0.001
testJdbcPrinter 0.025
testEscapeBackslash1 0
testEscapeBackslash2 0.001
testEscapeBackslash3 0
testEscapeBackslash4 0.001
testEscapeBackslash5 0.001
testSkipHeaderRecordTrue 0
testRandomDefault 0.538
testCloseBackwardCompatibility 0
testCloseWithCsvFormatAutoFlushOn 0.003
testTrimOnTwoColumns 0
testDelimiterEscaped 0
testCSV135 0
testCSV259 0.004
testHeader 0.001
testParseCustomNullValues 0.001
testMongoDbCsvDoubleQuoteInValue 0.009
testPrintCustomNullValues 0
testEolEscaped 0
testPrintCSVParser 0
testCRComment 0
testPrintNullValues 0
testRandomPostgreSqlCsv 0
public void org.apache.commons.csv.CSVPrinterTest.testRandomPostgreSqlCsv() throws java.lang.Exception is @Disabled
testPrintCSVRecord 0
testHeaderCommentExcel 0
testExcelPrinter1 0
testExcelPrinter2 0
testCloseWithFlushOn 0
testMySqlNullOutput 0
testPrintReaderWithoutQuoteToAppendable 0
testJira135All 0
public void org.apache.commons.csv.CSVPrinterTest.testJira135All() throws java.io.IOException is @Disabled
testMySqlNullStringDefault 0
testPlainEscaped 0.007
testPrintToFileWithDefaultCharset 0.009
testDelimiterStringEscaped 0
testCloseWithFlushOff 0
testDisabledComment 0

JiraCsv206Test

testJiraCsv206MultipleCharacterDelimiter 0

TokenMatchersTest

testHasContent 0
testToString 0
testHasType 0
testMatches 0
testIsReady 0

CSVRecordTest

testIsInconsistent 0
testRemoveAndAddColumns 0
testPutInMap 0
testIsConsistent 0
testSerialization 0.017
testToMap 0.001
testToString 0.003
testCSVRecordNULLValues 0.002
testGetNullEnum 0.002
testIsMapped 0.001
testGetWithEnum 0.001
testIsSetInt 0.001
testGetStringInconsistentRecord 0.001
testToMapWithShortRecord 0.003
testGetStringNoHeader 0.001
testGetUnmappedPositiveInt 0.002
testIsSetString 0.001
testGetUnmappedNegativeInt 0.001
testGetUnmappedEnum 0.002
testGetUnmappedName 0.001
testGetInt 0.001
testGetString 0
testStream 0.001
testToList 0.002
testIterator 0.001
testToMapWithNoHeader 0.001

LexerTest

testNextToken4 0.2
testNextToken5 0.002
testNextToken6 0.001
testReadEscapeBackspace 0.012
testTab 0.001
testTrimTrailingSpacesZeroLength 0
testSurroundingSpacesAreDeleted 0
testEscapedControlCharacter2 0.001
testCommentsAndEmptyLines 0.002
testCR 0.002
testFF 0
testLF 0
testEscapedTab 0.001
testIsMetaCharCommentStart 0
testComments 0
testSurroundingTabsAreDeleted 0.002
testEscapingAtEOF 0.004
testEscapedMySqlNullValue 0.001
testEscapedBackspace 0.001
testBackslashWithEscaping 0.004
testEscapedCharacter 0.001
testBackslashWithoutEscaping 0.001
testDelimiterIsWhitespace 0.001
testIgnoreEmptyLines 0.001
testReadEscapeTab 0.001
testReadEscapeFF 0
testEscapedControlCharacter 0
testEscapedCR 0
testEscapedFF 0.001
testEscapedLF 0.001
testBackspace 0.001

CSVFileParserTest

testCSVFile{File}[1] 0.057
testCSVFile{File}[2] 0.004
testCSVFile{File}[3] 0.001
testCSVFile{File}[4] 0.002
testCSVFile{File}[5] 0.002
testCSVFile{File}[6] 0.001
testCSVFile{File}[7] 0.001
testCSVUrl{File}[1] 0.013
testCSVUrl{File}[2] 0.004
testCSVUrl{File}[3] 0.003
testCSVUrl{File}[4] 0.003
testCSVUrl{File}[5] 0.001
testCSVUrl{File}[6] 0.001
testCSVUrl{File}[7] 0.005

Failure Details

[Summary] [Package List] [Test Cases]


org.apache.commons.csv.issues.JiraCsv213Test
skipped: class org.apache.commons.csv.issues.JiraCsv213Test is @Disabled
testBackslashEscapingOld
skipped: public void org.apache.commons.csv.CSVParserTest.testBackslashEscapingOld() throws java.io.IOException is @Disabled
testStartWithEmptyLinesThenHeaders
skipped: public void org.apache.commons.csv.CSVParserTest.testStartWithEmptyLinesThenHeaders() throws java.lang.Exception is @Disabled
testBOM
skipped: CSV-107
testMongoDbCsv
skipped: public void org.apache.commons.csv.CSVParserTest.testMongoDbCsv() throws java.lang.Exception is @Disabled
testRandomMongoDbCsv
skipped: public void org.apache.commons.csv.CSVPrinterTest.testRandomMongoDbCsv() throws java.lang.Exception is @Disabled
testJira135_part1
skipped: public void org.apache.commons.csv.CSVPrinterTest.testJira135_part1() throws java.io.IOException is @Disabled
testJira135_part2
skipped: public void org.apache.commons.csv.CSVPrinterTest.testJira135_part2() throws java.io.IOException is @Disabled
testJira135_part3
skipped: public void org.apache.commons.csv.CSVPrinterTest.testJira135_part3() throws java.io.IOException is @Disabled
testRandomPostgreSqlText
skipped: public void org.apache.commons.csv.CSVPrinterTest.testRandomPostgreSqlText() throws java.lang.Exception is @Disabled
testPostgreSqlCsvTextOutput
skipped: public void org.apache.commons.csv.CSVPrinterTest.testPostgreSqlCsvTextOutput() throws java.io.IOException is @Disabled
testPostgreSqlCsvNullOutput
skipped: public void org.apache.commons.csv.CSVPrinterTest.testPostgreSqlCsvNullOutput() throws java.io.IOException is @Disabled
testRandomOracle
skipped: public void org.apache.commons.csv.CSVPrinterTest.testRandomOracle() throws java.lang.Exception is @Disabled
testRandomPostgreSqlCsv
skipped: public void org.apache.commons.csv.CSVPrinterTest.testRandomPostgreSqlCsv() throws java.lang.Exception is @Disabled
testJira135All
skipped: public void org.apache.commons.csv.CSVPrinterTest.testJira135All() throws java.io.IOException is @Disabled