|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectau.com.bytecode.opencsv.CSVReaderTest
public class CSVReaderTest
Constructor Summary | |
---|---|
CSVReaderTest()
|
Method Summary | |
---|---|
void |
parseQuotedStringWithDefinedSeperator()
|
void |
setUp()
Setup the test. |
void |
testASingleQuoteAsDataElement()
Same as testADoubleQuoteAsDataElement but I changed the quotechar to a single quote. |
void |
testASingleQuoteAsDataElementWithEmptyField()
Same as testADoubleQuoteAsDataElement but I changed the quotechar to a single quote. |
void |
testEscapedEscape()
|
void |
testEscapedQuote()
|
void |
testNormalParsedLine()
Test a normal non quoted line with three elements |
void |
testOptionalConstructors()
Tests constructors with optional delimiters and optional quote char. |
void |
testParseAll()
Test parsing to a list. |
void |
testParseLine()
Tests iterating over a reader. |
void |
testParseLineStrictQuote()
|
void |
testQuotedParsedLine()
Test a normal line with three elements and all elements are quoted |
void |
testSingleQuoteWhenDoubleQuoteIsQuoteChar()
Test a line where one of the elements is two single quotes and the quote character is the default double quote. |
void |
testSkippingLines()
Tests option to skip the first few lines of a file. |
void |
testSkippingLinesWithDifferentEscape()
Tests option to skip the first few lines of a file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CSVReaderTest()
Method Detail |
---|
public void setUp() throws Exception
Exception
public void testParseLine() throws IOException
IOException
- if the reader fails.public void testParseLineStrictQuote() throws IOException
IOException
public void testParseAll() throws IOException
IOException
- if the reader fails.public void testOptionalConstructors() throws IOException
IOException
- if the reader fails.public void parseQuotedStringWithDefinedSeperator() throws IOException
IOException
public void testSkippingLines() throws IOException
IOException
- if bad things happenpublic void testSkippingLinesWithDifferentEscape() throws IOException
IOException
- if bad things happenpublic void testNormalParsedLine() throws IOException
IOException
public void testASingleQuoteAsDataElement() throws IOException
IOException
public void testASingleQuoteAsDataElementWithEmptyField() throws IOException
IOException
public void testEscapedQuote() throws IOException
IOException
public void testEscapedEscape() throws IOException
IOException
public void testSingleQuoteWhenDoubleQuoteIsQuoteChar() throws IOException
IOException
public void testQuotedParsedLine() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |