public class CSVWriterTest extends Object
| Constructor and Description |
|---|
CSVWriterTest() |
@Test public void correctlyParseNullString()
@Test public void correctlyParserNullObject()
@Test public void testParseLine()
@Test public void testSpecialCharacters()
@Test public void parseLineWithBothEscapeAndQuoteChar()
@Test public void testParseLineWithNoEscapeChar()
@Test public void parseLineWithNoEscapeCharAndQuotes()
@Test
public void testWriteAllAsList()
throws IOException
IOException - if the reader fails.@Test
public void testWriteAllAsIterable()
throws IOException
IOException - if the reader fails.@Test
public void testWriteAllObjects()
throws IOException
IOException@Test public void testNoQuoteChars()
@Test public void testNoQuoteCharsAndNoEscapeChars()
@Test
public void testIntelligentQuotes()
throws IOException
IOException@Test
public void testNullValues()
throws IOException
IOException@Test
public void testStreamFlushing()
throws IOException
IOException@Test public void flushWillThrowIOException()
@Test public void flushQuietlyWillNotThrowException()
@Test public void testAlternateEscapeChar()
@Test public void embeddedQuoteInString()
@Test public void testNoQuotingNoEscaping()
@Test public void testNestedQuotes()
@Test public void testAlternateLineFeeds()
@Test
public void testResultSetWithHeaders()
throws SQLException,
IOException
SQLExceptionIOException@Test
public void testResultSetWithHeadersWithoutQuotes()
throws SQLException,
IOException
SQLExceptionIOException@Test
public void testMultiLineResultSetWithHeaders()
throws SQLException,
IOException
SQLExceptionIOException@Test
public void testResultSetWithoutHeaders()
throws SQLException,
IOException
SQLExceptionIOException@Test
public void testResultSetWithoutHeadersAndQuotes()
throws SQLException,
IOException
SQLExceptionIOException@Test
public void testMultiLineResultSetWithoutHeaders()
throws SQLException,
IOException
SQLExceptionIOException@Test
public void testResultSetTrim()
throws SQLException,
IOException
SQLExceptionIOException@Test
public void needToSetBothQuoteAndEscapeCharIfYouWantThemToBeTheSame()
throws SQLException,
IOException
SQLExceptionIOException@Test public void issue123SeparatorEscapedWhenQuoteIsNoQuoteChar()
@Test public void issue123SeparatorEscapedWhenQuoteIsNoQuoteCharSpecifyingNoneDefaultEscapeChar()
@Test public void issue136escapeNewLineCharactersWhenNoQuoteCharIsSet()
@Test
public void testIOException()
throws IOException
IOException@Test
public void checkErrorReturnsTrueWhenPassedInPrintWriter()
throws IOException
IOException@Test
public void getExceptionReturnsException()
throws IOException
IOException@Test
public void getExceptionReturnsExceptionUsingPrintWriter()
throws IOException
IOException@Test
public void resetException()
throws IOException
IOException@Test
public void resetError()
throws IOException
IOExceptionCopyright © 2005–2025. All rights reserved.