summaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorAaron Whyte <awhyte@google.com>2014-11-21 17:03:26 -0800
committerAaron Whyte <awhyte@google.com>2014-11-24 13:12:00 -0800
commit939e6a1aceff448445928ad5d815479e84e84383 (patch)
treeeeb1577b700575d1bae1f74b38dfa746805f3d3a /support
parentfd7ab0e2f9626ca5233eea7373e99e3fbd4e83f1 (diff)
downloadlibcore-939e6a1aceff448445928ad5d815479e84e84383.zip
libcore-939e6a1aceff448445928ad5d815479e84e84383.tar.gz
libcore-939e6a1aceff448445928ad5d815479e84e84383.tar.bz2
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 'support')
-rw-r--r--support/src/test/java/tests/support/Support_Configuration.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/support/src/test/java/tests/support/Support_Configuration.java b/support/src/test/java/tests/support/Support_Configuration.java
index 9cb617d..313a448 100644
--- a/support/src/test/java/tests/support/Support_Configuration.java
+++ b/support/src/test/java/tests/support/Support_Configuration.java
@@ -91,8 +91,6 @@ public class Support_Configuration {
// than one addresses returned for this host name as needed by a test
// END android-changed
- public static String hTTPURLwLastModified = "http://www.php.net/manual/en/function.explode.php";
-
public static int SpecialInetTestAddressNumber = 4;
/**