[prev in list] [next in list] [prev in thread] [next in thread]
List: httpcomponents-commits
Subject: svn commit: r1667194 - /httpcomponents/httpcore/trunk/httpcore/src/test/java/org/apache/http/ssl/Tes
From: olegk () apache ! org
Date: 2015-03-17 8:43:56
Message-ID: 20150317084357.133A5AC0163 () hades ! apache ! org
[Download RAW message or body]
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";
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic