diff options
| author | 2017-07-07 07:37:18 +0000 | |
|---|---|---|
| committer | 2017-07-07 07:37:18 +0000 | |
| commit | 5cc7dddf1ff042c4f0a0ef656c536f166dee96a4 (patch) | |
| tree | a9ebc34f05b3c50f2847992a1d21fc5f4459f8ae | |
| parent | 41d6995efa703c3bb2c6f3c69df2cb9194e3c783 (diff) | |
| parent | 476d58c6bd52eab06f5f38bc9e0503b7e6f190cc (diff) | |
Merge "Streamline testInstall_compatibleContext()"
am: 476d58c6bd
Change-Id: Ib9c11cb5d7cf80f6dc8695d3b3c28f82854f3617
| -rw-r--r-- | core/tests/coretests/src/android/net/SSLSessionCacheTest.java | 3 |
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); } } |