hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r267253 - /jakarta/httpclient/trunk/http-common/src/test/tests/performance/HttpNIOvsHttpOIOTest.java
Date Fri, 02 Sep 2005 18:42:33 GMT
Author: olegk
Date: Fri Sep  2 11:42:30 2005
New Revision: 267253

URL: http://svn.apache.org/viewcvs?rev=267253&view=rev
Log:
Fixed wrong test processor

Modified:
    jakarta/httpclient/trunk/http-common/src/test/tests/performance/HttpNIOvsHttpOIOTest.java

Modified: jakarta/httpclient/trunk/http-common/src/test/tests/performance/HttpNIOvsHttpOIOTest.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/test/tests/performance/HttpNIOvsHttpOIOTest.java?rev=267253&r1=267252&r2=267253&view=diff
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/test/tests/performance/HttpNIOvsHttpOIOTest.java
(original)
+++ jakarta/httpclient/trunk/http-common/src/test/tests/performance/HttpNIOvsHttpOIOTest.java
Fri Sep  2 11:42:30 2005
@@ -104,13 +104,13 @@
         byte[] data3 = buffer.toByteArray();
         buffer = null;
 
-        TestDataProcessor p5 = new ByteReceiver(
+        TestDataProcessor p5 = new LineReceiver(
         		new DefaultHttpDataReceiverFactory(false));
         executeTest(data3, new OldIOListenerThread(p5, PORT));
         System.out.println("Old IO one line read average time (ms): " + 
                 p5.getTotalTime() / RUN_COUNT);
         
-        TestDataProcessor p6 = new ByteReceiver(
+        TestDataProcessor p6 = new LineReceiver(
         		new DefaultHttpDataReceiverFactory(true));
         executeTest(data3, new NIOListenerThread(p6, PORT));
         System.out.println("NIO one line read average time (ms): " + 



Mime
View raw message