Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 10bb021b authored by Adam Vartanian's avatar Adam Vartanian Committed by android-build-merger
Browse files

Merge "Streamline testInstall_compatibleContext()" am: 476d58c6 am: 28868907

am: 5cba3b34

Change-Id: I922f53fa48cb0acaa8c663202d7b1e5ffc2683f9
parents cd0aa52f 5cba3b34
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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);
        }
    }