summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Adam Vartanian <flooey@google.com> 2017-07-07 07:44:34 +0000
committer android-build-merger <android-build-merger@google.com> 2017-07-07 07:44:34 +0000
commitff85c56244912ccddbcc590b88980fe2971c6730 (patch)
tree11a5cf9305c3a40277f5e41f0ecec37b6e43d593
parent2f927d56cfd215a4b1a41a9f2140fbb45368c8ca (diff)
parent2886890793a83646570cb1423bfdab58e35df9f6 (diff)
Merge "Streamline testInstall_compatibleContext()" am: 476d58c6bd
am: 2886890793 Change-Id: I0757cbf92a049cc20226172b6d3261f5ef23b362
-rw-r--r--core/tests/coretests/src/android/net/SSLSessionCacheTest.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/tests/coretests/src/android/net/SSLSessionCacheTest.java b/core/tests/coretests/src/android/net/SSLSessionCacheTest.java
index ec130e049676..11d066b3afb0 100644
--- a/core/tests/coretests/src/android/net/SSLSessionCacheTest.java
+++ b/core/tests/coretests/src/android/net/SSLSessionCacheTest.java
@@ -44,12 +44,9 @@ public class SSLSessionCacheTest extends TestCase {
try {
SSLSessionCache.install(new SSLSessionCache(mock), ctx);
- clientCtx.getSession("www.foogle.com", 443);
- Mockito.verify(mock).getSessionData(Mockito.anyString(), Mockito.anyInt());
} finally {
// Restore cacheless behaviour.
SSLSessionCache.install(null, ctx);
- clientCtx.getSession("www.foogle.com", 443);
Mockito.verifyNoMoreInteractions(mock);
}
}