diff options
author | Narayan Kamath <narayan@google.com> | 2014-05-08 15:56:31 +0100 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2014-05-09 10:53:56 +0100 |
commit | d94e746976d2906b89197448db15e4a0e355d98a (patch) | |
tree | f4daebb530f894c48c4e70ea3aaa8732a900d5de /expectations/knownfailures.txt | |
parent | f560c538e8cb2750502c7337cae86c536e44ca8d (diff) | |
download | libcore-d94e746976d2906b89197448db15e4a0e355d98a.zip libcore-d94e746976d2906b89197448db15e4a0e355d98a.tar.gz libcore-d94e746976d2906b89197448db15e4a0e355d98a.tar.bz2 |
Fix various errors in FileURLConnectionTest.
- First, the test was broken pretty badly. It would pass a
Jar style URL to a FileURLConnection and expect it to
work, this is out of spec and seems wrong in general
(file:///foo.apk!resources/foo.txt).
- The RI supports various "headers" on file URL connections
(sigh). As if the getHeaderField(int) and getHeaderFieldKey(int)
APIs weren't bad enough. This has now been implemented with
a naive implementation.
- Fixes FileURLConnection to populate a header map for
information it provides (content length, content type
etc.)
bug: 11664881
Change-Id: I7a3e9aaa79bf125abbcfe8367574115ce54718e3
Diffstat (limited to 'expectations/knownfailures.txt')
-rw-r--r-- | expectations/knownfailures.txt | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/expectations/knownfailures.txt b/expectations/knownfailures.txt index b976c67..01f6d91 100644 --- a/expectations/knownfailures.txt +++ b/expectations/knownfailures.txt @@ -1623,15 +1623,6 @@ ] }, { - description: "Known failures in dealing with # in file / jar URLs", - bug: 11664881, - names: [ - "org.apache.harmony.tests.internal.net.www.protocol.file.FileURLConnectionTest#testGetContentType", - "org.apache.harmony.tests.internal.net.www.protocol.file.FileURLConnectionTest#testGetInputStream", - "org.apache.harmony.tests.internal.net.www.protocol.file.FileURLConnectionTest#testHeaderFunctions" - ] -}, -{ description: "Known failures in SerializationStressTest", bug: 11668227, names: [ |