mirror of
https://github.com/apache/commons-csv.git
synced 2025-02-16 06:55:56 +00:00
Group quote test fragments together.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1398011 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ecea0c3599
commit
f6c9a36ad6
@ -39,12 +39,12 @@ public class CSVFormatTest {
|
||||
|
||||
format.withDelimiter('?');
|
||||
format.withQuoteChar('?');
|
||||
format.withQuotePolicy(Quote.ALL);
|
||||
format.withCommentStart('?');
|
||||
format.withLineSeparator("?");
|
||||
format.withEscape('?');
|
||||
format.withIgnoreSurroundingSpaces(false);
|
||||
format.withIgnoreEmptyLines(false);
|
||||
format.withQuotePolicy(Quote.ALL);
|
||||
|
||||
assertEquals('!', format.getDelimiter());
|
||||
assertEquals('!', format.getQuoteChar().charValue());
|
||||
@ -64,14 +64,13 @@ public class CSVFormatTest {
|
||||
|
||||
assertEquals('?', format.withDelimiter('?').getDelimiter());
|
||||
assertEquals('?', format.withQuoteChar('?').getQuoteChar().charValue());
|
||||
assertEquals(Quote.ALL, format.withQuotePolicy(Quote.ALL).getQuotePolicy());
|
||||
assertEquals('?', format.withCommentStart('?').getCommentStart().charValue());
|
||||
assertEquals("?", format.withLineSeparator("?").getLineSeparator());
|
||||
assertEquals('?', format.withEscape('?').getEscape().charValue());
|
||||
|
||||
assertFalse(format.withIgnoreSurroundingSpaces(false).getIgnoreSurroundingSpaces());
|
||||
assertFalse(format.withIgnoreEmptyLines(false).getIgnoreEmptyLines());
|
||||
|
||||
assertEquals(Quote.ALL, format.withQuotePolicy(Quote.ALL).getQuotePolicy());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
x
Reference in New Issue
Block a user