Update of /cvsroot/httpunit/httpunit/test/com/meterware/httpunit
In directory sc8-pr-cvs1:/tmp/cvs-serv2045/test/com/meterware/httpunit
Modified Files:
WebClientTest.java
Log Message:
Correct handling of gzipped response
Index: WebClientTest.java
===================================================================
RCS file: /cvsroot/httpunit/httpunit/test/com/meterware/httpunit/WebClientTest.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- WebClientTest.java 23 Mar 2003 01:43:15 -0000 1.14
+++ WebClientTest.java 6 Jul 2003 13:21:16 -0000 1.15
@@ -181,7 +181,9 @@
public void testGZIPHandling() throws Exception {
- String expectedResponse = "Here is my answer";
+ String expectedResponse = "Here is my answer. It needs to be reasonably long to make compression smaller " +
+ "than the raw message. It should be obvious when you reach that point. " +
+ "Of course it is more than that - it needs to be long enough to cause a problem.";
defineResource( "Compressed.html", new CompressedPseudoServlet( expectedResponse ) );
WebConversation wc = new WebConversation();
|