hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1294612 - /httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/client/TestAuthenticationStrategy.java
Date Tue, 28 Feb 2012 12:16:20 GMT
Author: olegk
Date: Tue Feb 28 12:16:20 2012
New Revision: 1294612

URL: http://svn.apache.org/viewvc?rev=1294612&view=rev
Log:
Fixed broken test case

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/client/TestAuthenticationStrategy.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/client/TestAuthenticationStrategy.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/client/TestAuthenticationStrategy.java?rev=1294612&r1=1294611&r2=1294612&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/client/TestAuthenticationStrategy.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/client/TestAuthenticationStrategy.java
Tue Feb 28 12:16:20 2012
@@ -396,11 +396,6 @@ public class TestAuthenticationStrategy 
         } catch (IllegalArgumentException ex) {
         }
         try {
-            authStrategy.authFailed(authhost, null, context);
-            Assert.fail("IllegalArgumentException expected");
-        } catch (IllegalArgumentException ex) {
-        }
-        try {
             authStrategy.authFailed(authhost, authScheme, null);
             Assert.fail("IllegalArgumentException expected");
         } catch (IllegalArgumentException ex) {



Mime
View raw message