Apache Commons logo Commons CSV™ logo

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
197 0 0 2 98.985% 0.776

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 197 0 0 2 98.985% 0.776

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

org.apache.commons.csv

Class Tests Errors Failures Skipped Success Rate Time
AssertionsTest 2 0 0 0 100% 0.002
CSVFileParserTest 12 0 0 0 100% 0.016
CSVFormatTest 38 0 0 0 100% 0.02
CSVParserTest 55 0 0 2 96.364% 0.021
CSVPrinterTest 37 0 0 0 100% 0.697
CSVRecordTest 16 0 0 0 100% 0.005
ExtendedBufferedReaderTest 5 0 0 0 100% 0.001
FercGovTest 2 0 0 0 100% 0
LexerTest 26 0 0 0 100% 0.013
TokenMatchersTest 4 0 0 0 100% 0.001

Test Cases

[Summary] [Package List] [Test Cases]

AssertionsTest

testNotNullNull 0.002
testNotNull 0

CSVFileParserTest

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

CSVFormatTest

testEqualsIgnoreSurroundingSpaces 0.001
testEqualsCommentStart 0
testWithDelimiter 0
testQuotePolicyNoneWithoutEscapeThrowsException 0
testWithQuoteLFThrowsException 0
testSerialization 0.007
testNullRecordSeparatorCsv106 0.002
testEqualsQuoteChar 0
testQuoteCharSameAsCommentStartThrowsException 0
testWithEscapeCRThrowsExceptions 0
testWithIgnoreEmptyLines 0
testEqualsEscape 0.001
testEqualsHeader 0
testEqualsIgnoreEmptyLines 0
testWithCommentStart 0
testWithIgnoreSurround 0.001
testRFC4180 0
testEscapeSameAsCommentStartThrowsException 0
testDelimiterSameAsCommentStartThrowsException 0
testEqualsDelimiter 0
testQuoteCharSameAsCommentStartThrowsExceptionForWrapperType 0.001
testWithRecordSeparator 0
testWithQuotePolicy 0
testEqualsQuotePolicy 0.001
testEscapeSameAsCommentStartThrowsExceptionForWrapperType 0
testEqualsRecordSeparator 0
testWithCommentStartCRThrowsException 0
testQuoteCharSameAsDelimiterThrowsException 0
testWithDelimiterLFThrowsException 0.001
testDelimiterSameAsEscapeThrowsException 0
testWithEscape 0
testWithHeader 0.002
testGetHeader 0.001
testWithQuoteChar 0
testEquals 0
testFormat 0.001
testDuplicateHeaderElements 0
testWithNullString 0.001

CSVParserTest

testBackslashEscapingOld 0
skipped
testMultipleIterators 0
testHeaderComment 0.001
testDefaultFormat 0.001
testBOM 0
CSV-107
testProvidedHeaderAuto 0
testGetRecordWithMultiLineValues 0
testParseNullStringFormat 0
testGetRecordNumberWithCR 0
testGetRecordNumberWithLF 0
testCSV57 0
testClose 0
testGetLineNumberWithCR 0.001
testGetLineNumberWithLF 0
testParserUrlNullCharsetFormat 0
testForEach 0
testGetOneLine 0
testGetLineNumberWithCRLF 0
testCarriageReturnLineFeedEndings 0
testGetRecordNumberWithCRLF 0
testParseUrlCharsetNullFormat 0
testEmptyFile 0
testCarriageReturnEndings 0
testGetLine 0
testGetOneLineOneParser 0.001
testProvidedHeader 0
testParseNullUrlCharsetFormat 0
testInvalidFormat 0
testBackslashEscaping2 0
testExcelFormat1 0
testExcelFormat2 0
testGetOneLineCustomCollection 0.001
testEndOfFileBehaviourExcel 0
testRoundtrip 0.001
testNoHeaderMap 0
testParseFileNullFormat 0
testGetHeaderMap 0
testBackslashEscaping 0.001
testLineFeedEndings 0
testMappedButNotSetAsOutlook2007ContactExport 0
testDuplicateHeaderEntries 0.001
testEmptyLineBehaviourCSV 0
testSkipSetHeader 0
testIgnoreEmptyLines 0
testEndOfFileBehaviorCSV 0.001
testNewCSVParserNullReaderFormat 0
testParseStringNullFormat 0
testEmptyLineBehaviourExcel 0.001
testHeader 0
testGetRecords 0
testBOMInputStream 0.011
testIterator 0
testParseNullFileFormat 0
testSkipAutoHeader 0
testNewCSVParserReaderNullFormat 0

CSVPrinterTest

testDelimeterQuoteNONE 0
testExcelPrintAllArrayOfLists 0
testQuoteNonNumeric 0
testEOLEscaped 0
testPrinter1 0
testPrinter2 0
testPrinter3 0
testPrinter4 0
testPrinter5 0
testPrinter6 0
testPrinter7 0
testDelimiterPlain 0
testSingleQuoteQuoted 0
testQuoteAll 0
testEOLQuoted 0
testEOLPlain 0.001
testExcelPrintAllIterableOfLists 0
testDelimeterQuoted 0
testPlainPlain 0
testSingleLineComment 0
testExcelPrintAllIterableOfArrays 0
testNewCsvPrinterAppendableNullFormat 0
testInvalidFormat 0
testMultiLineComment 0
testPlainQuoted 0
testExcelPrintAllArrayOfArrays 0
testJdbcPrinter 0.166
testDelimiterEscaped 0
testParseCustomNullValues 0
testPrintCustomNullValues 0
testPrintNullValues 0
testRandom 0.53
testExcelPrinter1 0
testExcelPrinter2 0
testNewCSVPrinterNullAppendableFormat 0
testPlainEscaped 0
testDisabledComment 0

CSVRecordTest

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

ExtendedBufferedReaderTest

testEmptyInput 0.001
testReadChar 0
testReadLine 0
testReadLookahead1 0
testReadLookahead2 0

FercGovTest

testContractFile 0
testTransactionFile 0

LexerTest

testNextToken4 0.007
testNextToken5 0
testNextToken6 0
testTab 0
testSurroundingSpacesAreDeleted 0.002
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
testBackslashWithoutEscaping 0.001
testDelimiterIsWhitespace 0
testIgnoreEmptyLines 0.001
testEscapedControlCharacter 0
testEscapedCR 0
testEscapedFF 0
testEscapedLF 0
testBackspace 0

TokenMatchersTest

testHasContent 0
testHasType 0
testMatches 0
testIsReady 0.001

Failure Details

[Summary] [Package List] [Test Cases]


testBackslashEscapingOld
skipped: skipped
testBOM
skipped: CSV-107