hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1406903 - /httpcomponents/httpcore/trunk/httpcore-nio/src/test/java/org/apache/http/nio/protocol/TestHttpAsyncRequestExecutor.java
Date Thu, 08 Nov 2012 02:58:13 GMT
Author: sebb
Date: Thu Nov  8 02:58:12 2012
New Revision: 1406903

URL: http://svn.apache.org/viewvc?rev=1406903&view=rev
Log:
Oops - paste error

Modified:
    httpcomponents/httpcore/trunk/httpcore-nio/src/test/java/org/apache/http/nio/protocol/TestHttpAsyncRequestExecutor.java

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/test/java/org/apache/http/nio/protocol/TestHttpAsyncRequestExecutor.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/test/java/org/apache/http/nio/protocol/TestHttpAsyncRequestExecutor.java?rev=1406903&r1=1406902&r2=1406903&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/test/java/org/apache/http/nio/protocol/TestHttpAsyncRequestExecutor.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/test/java/org/apache/http/nio/protocol/TestHttpAsyncRequestExecutor.java
Thu Nov  8 02:58:12 2012
@@ -465,7 +465,7 @@ public class TestHttpAsyncRequestExecuto
         State state = new HttpAsyncRequestExecutor.State();
         this.connContext.setAttribute(HttpAsyncRequestExecutor.HTTP_EXCHANGE_STATE, state);
         this.connContext.setAttribute(HttpAsyncRequestExecutor.HTTP_HANDLER, this.exchangeHandler);
-        Mockito.when(this.decoder.isCompleted()).thenReturn(Boolean.TRUE);
+        Mockito.when(this.decoder.isCompleted()).thenReturn(Boolean.FALSE);
 
         this.protocolHandler.inputReady(this.conn, this.decoder);
 



Mime
View raw message