Author: costin
Date: Thu Nov 26 07:02:53 2009
New Revision: 884424
URL: http://svn.apache.org/viewvc?rev=884424&view=rev
Log:
Shouldn't do last-minute changes before a large commit...
Modified:
tomcat/trunk/modules/tomcat-lite/test/org/apache/tomcat/lite/TestMain.java
tomcat/trunk/modules/tomcat-lite/test/org/apache/tomcat/lite/http/LiveHttp1Test.java
Modified:
tomcat/trunk/modules/tomcat-lite/test/org/apache/tomcat/lite/TestMain.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/modules/tomcat-lite/test/org/apache/tomcat/lite/TestMain.java?rev=884424&r1=884423&r2=884424&view=diff
==============================================================================
--- tomcat/trunk/modules/tomcat-lite/test/org/apache/tomcat/lite/TestMain.java
(original)
+++ tomcat/trunk/modules/tomcat-lite/test/org/apache/tomcat/lite/TestMain.java
Thu Nov 26 07:02:53 2009
@@ -192,8 +192,8 @@
proxy = new HttpProxyService()
.withHttpClient(testClient);
testProxy.setPort(port);
- testProxy.setDebugHttp(true);
- testProxy.setDebug(true);
+// testProxy.setDebugHttp(true);
+// testProxy.setDebug(true);
// dispatcher rejects 'http://'
testProxy.setHttpService(proxy);
Modified:
tomcat/trunk/modules/tomcat-lite/test/org/apache/tomcat/lite/http/LiveHttp1Test.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/modules/tomcat-lite/test/org/apache/tomcat/lite/http/LiveHttp1Test.java?rev=884424&r1=884423&r2=884424&view=diff
==============================================================================
---
tomcat/trunk/modules/tomcat-lite/test/org/apache/tomcat/lite/http/LiveHttp1Test.java
(original)
+++
tomcat/trunk/modules/tomcat-lite/test/org/apache/tomcat/lite/http/LiveHttp1Test.java
Thu Nov 26 07:02:53 2009
@@ -138,12 +138,7 @@
httpClient.sendRequest();
- try {
- httpClient.readAll(bodyRecvBuffer, to);
- } catch (Throwable t) {
- t.printStackTrace();
- return;
- }
- fail("Error");
+ httpClient.readAll(bodyRecvBuffer, to);
+ assertEquals(0, bodyRecvBuffer.remaining());
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]