hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1493830 - /httpcomponents/httpcore/trunk/httpcore-nio/src/test/java/org/apache/http/nio/util/ContentEncoderMock.java
Date Mon, 17 Jun 2013 16:14:44 GMT
Author: olegk
Date: Mon Jun 17 16:14:44 2013
New Revision: 1493830

URL: http://svn.apache.org/r1493830
Log:
Fixed test case broken by r1493743

Modified:
    httpcomponents/httpcore/trunk/httpcore-nio/src/test/java/org/apache/http/nio/util/ContentEncoderMock.java

Modified: httpcomponents/httpcore/trunk/httpcore-nio/src/test/java/org/apache/http/nio/util/ContentEncoderMock.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore-nio/src/test/java/org/apache/http/nio/util/ContentEncoderMock.java?rev=1493830&r1=1493829&r2=1493830&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore-nio/src/test/java/org/apache/http/nio/util/ContentEncoderMock.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore-nio/src/test/java/org/apache/http/nio/util/ContentEncoderMock.java
Mon Jun 17 16:14:44 2013
@@ -49,7 +49,7 @@ public class ContentEncoderMock extends 
         if (src == null) {
             return 0;
         }
-        Asserts.check(isCompleted(), "Decoding process already completed");
+        Asserts.check(!isCompleted(), "Decoding process already completed");
         return this.channel.write(src);
     }
 



Mime
View raw message