diff options
author | Aaron Whyte <awhyte@google.com> | 2014-11-21 17:03:26 -0800 |
---|---|---|
committer | Aaron Whyte <awhyte@google.com> | 2014-11-24 13:12:00 -0800 |
commit | 939e6a1aceff448445928ad5d815479e84e84383 (patch) | |
tree | eeb1577b700575d1bae1f74b38dfa746805f3d3a /annotations/generate_annotated_java_files.py | |
parent | fd7ab0e2f9626ca5233eea7373e99e3fbd4e83f1 (diff) |
Fix URLConnectionTest for devices without full internet access.
This removes two bad tests that are covered elsewhere, using
mocks.
test_getContentEncoding() was hitting http://www.amazon.com, to see
if a URLConnection getter was working. That getter is now tested in
libcore/luni/src/test/java/libcore/java/net/URLConnectionTest.java,
in testClientConfiguredGzipContentEncoding().
test_getLastModified() was hitting
http://www.php.net/manual/en/function.explode.php, to see if
getHeaderFieldDate was working for Last-Modified. That getter is
better tested in test_getHeaderFieldDateLjava_lang_StringJ(), in the
same file.
Bug:18480776
Change-Id: I21ffc5c9c72eb4379478c11687d197dab176a851
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions