You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2015/03/17 09:43:56 UTC
svn commit: r1667194 -
/httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/ssl/TestSSLContextBuilder.java
Author: olegk
Date: Tue Mar 17 08:43:56 2015
New Revision: 1667194
URL: http://svn.apache.org/r1667194
Log:
Expanded expected exception type for SSL protocol mismatch failure
Modified:
httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/ssl/TestSSLContextBuilder.java
Modified: httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/ssl/TestSSLContextBuilder.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/ssl/TestSSLContextBuilder.java?rev=1667194&r1=1667193&r2=1667194&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/ssl/TestSSLContextBuilder.java (original)
+++ httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/ssl/TestSSLContextBuilder.java Tue Mar 17 08:43:56 2015
@@ -513,7 +513,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";