You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2005/08/21 13:42:05 UTC
svn commit: r234182 -
/jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestNIOHttpTransmitterAndReceiver.java
Author: olegk
Date: Sun Aug 21 04:42:01 2005
New Revision: 234182
URL: http://svn.apache.org/viewcvs?rev=234182&view=rev
Log:
Removed obsolete checks
Modified:
jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestNIOHttpTransmitterAndReceiver.java
Modified: jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestNIOHttpTransmitterAndReceiver.java
URL: http://svn.apache.org/viewcvs/jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestNIOHttpTransmitterAndReceiver.java?rev=234182&r1=234181&r2=234182&view=diff
==============================================================================
--- jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestNIOHttpTransmitterAndReceiver.java (original)
+++ jakarta/httpclient/trunk/http-common/src/test/org/apache/http/impl/TestNIOHttpTransmitterAndReceiver.java Sun Aug 21 04:42:01 2005
@@ -71,7 +71,6 @@
public void testInit() throws Exception {
ByteArrayOutputStream out = new ByteArrayOutputStream();
new HttpDataTransmitterMockup(Channels.newChannel(out), -10);
- new HttpDataTransmitterMockup(Channels.newChannel(out), 200000000);
try {
new HttpDataTransmitterMockup(null, 1024);
fail("IllegalArgumentException should have been thrown");
@@ -80,7 +79,6 @@
}
ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray());
new HttpDataReceiverMockup(Channels.newChannel(in), -10);
- new HttpDataReceiverMockup (Channels.newChannel(in), 200000000);
try {
new HttpDataReceiverMockup((ReadableByteChannel)null, 1024);
fail("IllegalArgumentException should have been thrown");