hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1667193 - /httpcomponents/httpcore/branches/4.4.x/httpcore/src/test/java/org/apache/http/ssl/TestSSLContextBuilder.java
Date Tue, 17 Mar 2015 08:42:02 GMT
Author: olegk
Date: Tue Mar 17 08:42:01 2015
New Revision: 1667193

URL: http://svn.apache.org/r1667193
Log:
Expanded expected exception type for SSL protocol mismatch failure

Modified:
    httpcomponents/httpcore/branches/4.4.x/httpcore/src/test/java/org/apache/http/ssl/TestSSLContextBuilder.java

Modified: httpcomponents/httpcore/branches/4.4.x/httpcore/src/test/java/org/apache/http/ssl/TestSSLContextBuilder.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/branches/4.4.x/httpcore/src/test/java/org/apache/http/ssl/TestSSLContextBuilder.java?rev=1667193&r1=1667192&r2=1667193&view=diff
==============================================================================
--- httpcomponents/httpcore/branches/4.4.x/httpcore/src/test/java/org/apache/http/ssl/TestSSLContextBuilder.java
(original)
+++ httpcomponents/httpcore/branches/4.4.x/httpcore/src/test/java/org/apache/http/ssl/TestSSLContextBuilder.java
Tue Mar 17 08:42:01 2015
@@ -512,7 +512,7 @@ public class TestSSLContextBuilder {
     }
 
 
-    @Test(expected = SSLHandshakeException.class)
+    @Test(expected = IOException.class)
     public void testSSLHanskshakeProtocolMismatch1() throws Exception {
         final URL resource1 = getClass().getResource("/test-server.keystore");
         final String storePassword = "nopassword";



Mime
View raw message