diff options
author | Elliott Hughes <enh@google.com> | 2010-05-20 16:35:07 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2010-05-20 17:46:18 -0700 |
commit | c60bc1815dca549f3fb4e572f6aac749d7fa9fc6 (patch) | |
tree | b07f80dad5cc830fc5a705d60c58ddb4c69d6b01 /expectations/brokentests.txt | |
parent | cf6c3a752da274cc5025191d3bcd62e6222f4a4c (diff) | |
download | libcore-c60bc1815dca549f3fb4e572f6aac749d7fa9fc6.zip libcore-c60bc1815dca549f3fb4e572f6aac749d7fa9fc6.tar.gz libcore-c60bc1815dca549f3fb4e572f6aac749d7fa9fc6.tar.bz2 |
Fix more Charset/CharsetDecoder/CharsetEncoder bugs.
Another round of Get/Release Critical removal led me to some code that couldn't
possibly be right, and wasn't. This patch fixes a large number of our
Charset-related bugs, including ones that previous hacks were added to paper
over. With this patch, we have three failures, all "new", but all there since
the start, and relating to the fact that our UTF-16 and UTF-32 encoders don't
write big-endian output on little-endian devices (for which I've raised
http://b/2702411).
Bug: 2663177
Change-Id: I70dfa55f88a3f635528be3ad27b2a5fc1bfb70fc
Diffstat (limited to 'expectations/brokentests.txt')
-rw-r--r-- | expectations/brokentests.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/expectations/brokentests.txt b/expectations/brokentests.txt index 8222c08..1eeac9d 100644 --- a/expectations/brokentests.txt +++ b/expectations/brokentests.txt @@ -908,3 +908,16 @@ pattern .*junit.framework.AssertionFailedError: Wrong pattern: GyMdkHmsSEDFwWahK test org.apache.harmony.text.tests.java.text.DateFormatSymbolsTest#test_getLocalPatternChars result EXEC_FAILED pattern .*junit.framework.ComparisonFailure: Returned incorrect pattern string expected:<...YeugAZvcLQqV> but was:<...Z>.* + +# we don't support the CharsetProvider spi, so we don't have "mockCharset00". +test tests.api.java.nio.charset.CharsetTest#test_availableCharsets +result EXEC_FAILED +pattern .*junit.framework.AssertionFailedError.* +test tests.api.java.nio.charset.CharsetTest#test_forNameLString +result EXEC_FAILED +pattern .*java.nio.charset.UnsupportedCharsetException: mockCharset00.* + +# the average length of possible UTF-8 sequences is 2 bytes. +test tests.api.java.nio.charset.UTFCharsetEncoderTest#testSpecificDefaultValue +result EXEC_FAILED +pattern .*junit.framework.AssertionFailedError: expected:<1.1> but was:<2.0>.*
\ No newline at end of file |