[Httpunit-commit] CVS: httpunit/test/com/meterware/httpunit WebPageTest.java,1.29,1.30
Brought to you by:
russgold
|
From: Russell G. <rus...@us...> - 2003-03-19 03:45:57
|
Update of /cvsroot/httpunit/httpunit/test/com/meterware/httpunit
In directory sc8-pr-cvs1:/tmp/cvs-serv8325/test/com/meterware/httpunit
Modified Files:
WebPageTest.java
Log Message:
Continuing work towards persistent connection support
Index: WebPageTest.java
===================================================================
RCS file: /cvsroot/httpunit/httpunit/test/com/meterware/httpunit/WebPageTest.java,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- WebPageTest.java 16 Mar 2003 17:22:38 -0000 1.29
+++ WebPageTest.java 19 Mar 2003 03:38:07 -0000 1.30
@@ -55,12 +55,6 @@
}
- public void tearDown() throws Exception {
- super.tearDown();
- HttpUnitOptions.resetDefaultCharacterSet();
- }
-
-
public void testNoResponse() throws Exception {
WebConversation wc = new WebConversation();
try {
@@ -393,6 +387,7 @@
HttpUnitOptions.setCheckContentLength( true );
String page = "abcdefghijklmnop";
defineResource( "alphabet.html", page, "text/plain" );
+ addResourceHeader( "alphabet.html", "Connection: close" );
addResourceHeader( "alphabet.html", "Content-length: 26" );
WebConversation wc = new WebConversation();
|