You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2013/04/10 20:15:36 UTC
svn commit: r1466604 -
/commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVLexerTest.java
Author: britter
Date: Wed Apr 10 18:15:36 2013
New Revision: 1466604
URL: http://svn.apache.org/r1466604
Log:
Change wrong input data of test. Test now fails because of CSV-58 and is therefore changed to be @Ignore.
Modified:
commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVLexerTest.java
Modified: commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVLexerTest.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVLexerTest.java?rev=1466604&r1=1466603&r2=1466604&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVLexerTest.java (original)
+++ commons/proper/csv/trunk/src/test/java/org/apache/commons/csv/CSVLexerTest.java Wed Apr 10 18:15:36 2013
@@ -329,10 +329,12 @@ public class CSVLexerTest {
assertThat(lexer.nextToken(new Token()), hasContent("character" + FF + "Escaped"));
}
+ // FIXME this should work after CSV-58 is resolved. Currently the result will be "characteraEscaped"
@Test
+ @Ignore
public void testEscapedMySqlNullValue() throws Exception {
// MySQL uses \N to symbolize null values. We have to restore this
- final Lexer lexer = getLexer("character\\\\NEscaped", formatWithEscaping);
+ final Lexer lexer = getLexer("character\\NEscaped", formatWithEscaping);
assertThat(lexer.nextToken(new Token()), hasContent("character\\NEscaped"));
}