public class CSVReaderTest extends Object
| Constructor and Description |
|---|
CSVReaderTest() |
@BeforeAll public static void storeSystemLocale()
@AfterEach public void setSystemLocaleBackToDefault()
@BeforeEach public void setUp()
@Test
public void testParseLine()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOException - if the reader fails.com.opencsv.exceptions.CsvValidationException@Test
public void readerCanHandleNullInString()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOExceptioncom.opencsv.exceptions.CsvValidationException@Test
public void testParseLineStrictQuote()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOExceptioncom.opencsv.exceptions.CsvValidationException@Test
public void testParseAll()
throws IOException,
com.opencsv.exceptions.CsvException
IOException - if the reader fails.com.opencsv.exceptions.CsvException@Test
public void testOptionalConstructors()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOException - if the reader fails.com.opencsv.exceptions.CsvValidationException@Test
public void parseQuotedStringWithDefinedSeparator()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOExceptioncom.opencsv.exceptions.CsvValidationException@Test
public void testSkippingLines()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOException - if bad things happencom.opencsv.exceptions.CsvValidationException@Test
public void linesAndRecordsRead()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOException - if bad things happencom.opencsv.exceptions.CsvValidationException@Test
public void testSkippingLinesWithDifferentEscape()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOException - if bad things happencom.opencsv.exceptions.CsvValidationException@Test
public void testNormalParsedLine()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOException - But not reallycom.opencsv.exceptions.CsvValidationException@Test
public void testASingleQuoteAsDataElement()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOException - But not reallycom.opencsv.exceptions.CsvValidationException@Test
public void testASingleQuoteAsDataElementWithEmptyField()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOException - But not reallycom.opencsv.exceptions.CsvValidationException@Test
public void testSpacesAtEndOfString()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOExceptioncom.opencsv.exceptions.CsvValidationException@Test
public void testEscapedQuote()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOExceptioncom.opencsv.exceptions.CsvValidationException@Test
public void testEscapedEscape()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOExceptioncom.opencsv.exceptions.CsvValidationException@Test
public void testSingleQuoteWhenDoubleQuoteIsQuoteChar()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOException - But not reallycom.opencsv.exceptions.CsvValidationException@Test
public void testQuotedParsedLine()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOException - But not reallycom.opencsv.exceptions.CsvValidationException@Test
public void bug106ParseLineWithCarriageReturnNewLineStrictQuotes()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOExceptioncom.opencsv.exceptions.CsvValidationException@Test
public void bug233KeepCarriageReturnShouldRemoveCRAtEndOfLine()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOExceptioncom.opencsv.exceptions.CsvValidationException@Test
public void testIssue2992134OutOfPlaceQuotes()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOExceptioncom.opencsv.exceptions.CsvValidationException@Test public void quoteAndEscapeMustBeDifferent()
@Test public void separatorAndEscapeMustBeDifferent()
@Test public void separatorAndQuoteMustBeDifferent()
@Test public void testIteratorFunctionality()
@Test public void testIteratorWithBadReader()
@Test
public void canCloseReader()
throws IOException
IOException@Test public void canCreateIteratorFromReader()
@Test
public void attemptToReadCloseStreamReturnsNull()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOExceptioncom.opencsv.exceptions.CsvValidationException@Test
public void testIssue102()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOExceptioncom.opencsv.exceptions.CsvValidationException@Test
public void issue108ReaderPlaysWellWithChannels()
throws IOException,
com.opencsv.exceptions.CsvException
IOExceptioncom.opencsv.exceptions.CsvException@Test
public void featureRequest60ByDefaultEmptyFieldsAreBlank()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOExceptioncom.opencsv.exceptions.CsvValidationException@Test
public void featureRequest60TreatEmptyFieldsAsNull()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOExceptioncom.opencsv.exceptions.CsvValidationException@Test
public void featureRequest60TreatEmptyDelimitedFieldsAsNull()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOExceptioncom.opencsv.exceptions.CsvValidationException@Test
public void featureRequest60TreatEmptyFieldsDelimitedOrNotAsNull()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOExceptioncom.opencsv.exceptions.CsvValidationException@Test public void testMultilineLimit()
@Test
public void testReadMultilineClosingQuoteMissing()
throws com.opencsv.exceptions.CsvValidationException
com.opencsv.exceptions.CsvValidationException@Test
public void testPeek()
throws IOException,
com.opencsv.exceptions.CsvValidationException
IOExceptioncom.opencsv.exceptions.CsvValidationExceptionCopyright © 2005–2025. All rights reserved.