summaryrefslogtreecommitdiffstats
path: root/luni/src
diff options
context:
space:
mode:
authorUrs Grob <ursg@google.com>2009-09-08 13:38:03 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2009-09-08 13:38:03 -0700
commit042f15154c56ffc52c0eb1d191d3aff98d505921 (patch)
tree388abee39ef9f303e4a38c132d48c30f0f4e4ace /luni/src
parentf7136180807abdff8212f21835a756ae115a111e (diff)
parent35c6731e810660628e2f96eb623592560e46718b (diff)
downloadlibcore-042f15154c56ffc52c0eb1d191d3aff98d505921.zip
libcore-042f15154c56ffc52c0eb1d191d3aff98d505921.tar.gz
libcore-042f15154c56ffc52c0eb1d191d3aff98d505921.tar.bz2
am 7f5e6aa1: Merge change 23896 into eclair
Merge commit '7f5e6aa1503d13300c277225bf4eea9e5a11495a' into eclair-plus-aosp * commit '7f5e6aa1503d13300c277225bf4eea9e5a11495a': InputStreamReader forgets to convert incomplete multibyte characters at the buffer boundary
Diffstat (limited to 'luni/src')
-rw-r--r--luni/src/test/java/tests/api/java/io/OutputStreamWriterTest.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/luni/src/test/java/tests/api/java/io/OutputStreamWriterTest.java b/luni/src/test/java/tests/api/java/io/OutputStreamWriterTest.java
index b745662..22e1af7 100644
--- a/luni/src/test/java/tests/api/java/io/OutputStreamWriterTest.java
+++ b/luni/src/test/java/tests/api/java/io/OutputStreamWriterTest.java
@@ -17,7 +17,6 @@
package tests.api.java.io;
-import dalvik.annotation.KnownFailure;
import dalvik.annotation.TestTargets;
import dalvik.annotation.TestLevel;
import dalvik.annotation.TestTargetNew;
@@ -31,7 +30,6 @@ import java.io.OutputStreamWriter;
import java.io.UnsupportedEncodingException;
import java.nio.charset.Charset;
import java.nio.charset.CharsetEncoder;
-import java.util.Arrays;
import tests.support.Support_OutputStream;
@@ -426,7 +424,6 @@ public class OutputStreamWriterTest extends TestCase {
clazz = InputStreamReader.class
)
})
- @KnownFailure("Error when reading bytes in UTF-8 expected:<8916> but was:<8907> ")
public void test_write$C() throws Exception {
int upper;
InputStreamReader isr = null;
@@ -471,7 +468,7 @@ public class OutputStreamWriterTest extends TestCase {
j = 0;
}
assertEquals("Error when reading bytes in "
- + MINIMAL_CHARSETS[i], expected++, largeBuffer[j++]);
+ + MINIMAL_CHARSETS[i] + " at " + j, expected++, largeBuffer[j++]);
}
} finally {
try {
@@ -878,5 +875,4 @@ public class OutputStreamWriterTest extends TestCase {
fail("UTF-8 not supported");
}
}
-
}