diff options
author | Narayan Kamath <narayan@google.com> | 2013-06-12 17:30:23 +0100 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2013-06-12 17:30:23 +0100 |
commit | 8c213bcc2aadb8249d683312505f1068ae74f1a8 (patch) | |
tree | 6004cc8da66ae8d2fe1d8a2e01a900c150fa7fa5 /luni | |
parent | 28d0eab796d6f9e990c8d8393e1769ac27892d7c (diff) | |
download | libcore-8c213bcc2aadb8249d683312505f1068ae74f1a8.zip libcore-8c213bcc2aadb8249d683312505f1068ae74f1a8.tar.gz libcore-8c213bcc2aadb8249d683312505f1068ae74f1a8.tar.bz2 |
Fix URLConnectionTest after latest okhttp update.
I've observed 14 failing tests both before and after
the update.
Change-Id: I40dfd9efe35ed03d89b38b030d3c7b6558b247e2
Diffstat (limited to 'luni')
-rw-r--r-- | luni/src/test/java/libcore/java/net/URLConnectionTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/luni/src/test/java/libcore/java/net/URLConnectionTest.java b/luni/src/test/java/libcore/java/net/URLConnectionTest.java index 1b4279f..d39e39f 100644 --- a/luni/src/test/java/libcore/java/net/URLConnectionTest.java +++ b/luni/src/test/java/libcore/java/net/URLConnectionTest.java @@ -16,7 +16,7 @@ package libcore.java.net; -import com.android.okhttp.internal.http.HttpResponseCache; +import com.android.okhttp.HttpResponseCache; import com.google.mockwebserver.MockResponse; import com.google.mockwebserver.MockWebServer; import com.google.mockwebserver.RecordedRequest; @@ -101,7 +101,7 @@ public final class URLConnectionTest extends TestCase { System.clearProperty("https.proxyPort"); server.shutdown(); if (cache != null) { - cache.getCache().delete(); + cache.delete(); } super.tearDown(); } |