Author: ggregory
Date: Sun Oct 14 05:01:26 2012
New Revision: 1398011

URL: http://svn.apache.org/viewvc?rev=1398011&view=rev
Log:
Group quote test fragments together.

Modified:
    
commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java

Modified: 
commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java?rev=1398011&r1=1398010&r2=1398011&view=diff
==============================================================================
--- 
commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java
 (original)
+++ 
commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVFormatTest.java
 Sun Oct 14 05:01:26 2012
@@ -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


Reply via email to