Author: sebb
Date: Sun Apr 21 23:10:06 2013
New Revision: 1470360

URL: http://svn.apache.org/r1470360
Log:
Another working test

Modified:
    
commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/CharSequenceInputStreamTest.java

Modified: 
commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/CharSequenceInputStreamTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/CharSequenceInputStreamTest.java?rev=1470360&r1=1470359&r2=1470360&view=diff
==============================================================================
--- 
commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/CharSequenceInputStreamTest.java
 (original)
+++ 
commons/proper/io/trunk/src/test/java/org/apache/commons/io/input/CharSequenceInputStreamTest.java
 Sun Apr 21 23:10:06 2013
@@ -130,6 +130,9 @@ public class CharSequenceInputStreamTest
         }
     }
 
+    // Test is broken if readFirst > 0
+    // This is because the initial read fills the buffer from the CharSequence
+    // so data1 gets the first buffer full; data2 will get the next buffer full
     private void testIO_356(final int bufferSize, final int dataSize, final 
int readFirst, final String csName) throws Exception {
         final CharSequenceInputStream is = new 
CharSequenceInputStream(ALPHABET, csName, bufferSize);
 
@@ -179,7 +182,6 @@ public class CharSequenceInputStreamTest
     }
 
     @Test
-    @Ignore
     public void testIO_356_B10_D13_S0_UTF8() throws Exception {
         testIO_356(10, 13, 0, "UTF-8");
     }


Reply via email to