[Httpunit-commit] CVS: httpunit/test/com/meterware/httpunit WebPageTest.java,1.14,1.15
Brought to you by:
russgold
|
From: Russell G. <rus...@us...> - 2001-10-16 16:37:47
|
Update of /cvsroot/httpunit/httpunit/test/com/meterware/httpunit
In directory usw-pr-cvs1:/tmp/cvs-serv30402/test/com/meterware/httpunit
Modified Files:
WebPageTest.java
Log Message:
Handle relative refresh URLs; make isFileParameter public
Index: WebPageTest.java
===================================================================
RCS file: /cvsroot/httpunit/httpunit/test/com/meterware/httpunit/WebPageTest.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- WebPageTest.java 2001/10/15 18:25:59 1.14
+++ WebPageTest.java 2001/10/16 16:21:25 1.15
@@ -232,7 +232,7 @@
public void testMetaRefreshURLRequest() throws Exception {
String refreshURL = getHostPath() + "/NextPage.html";
String page = "<html><head><title>Sample</title>" +
- "<meta Http-equiv=refresh content='2;URL=" + refreshURL + "'></head>\n" +
+ "<meta Http-equiv=refresh content='2;URL=NextPage.html'></head>\n" +
"<body>This has no data\n" +
"</body></html>\n";
defineResource( "SimplePage.html", page );
|