[Httpunit-commit] CVS: httpunit/test/com/meterware/httpunit WebPageTest.java,1.27,1.28
Brought to you by:
russgold
|
From: Russell G. <rus...@us...> - 2003-02-05 05:15:54
|
Update of /cvsroot/httpunit/httpunit/test/com/meterware/httpunit
In directory sc8-pr-cvs1:/tmp/cvs-serv27511/test/com/meterware/httpunit
Modified Files:
WebPageTest.java
Log Message:
Handle quotes in refresh tags
Index: WebPageTest.java
===================================================================
RCS file: /cvsroot/httpunit/httpunit/test/com/meterware/httpunit/WebPageTest.java,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- WebPageTest.java 26 Dec 2002 04:59:35 -0000 1.27
+++ WebPageTest.java 5 Feb 2003 05:15:51 -0000 1.28
@@ -295,7 +295,7 @@
public void testMetaRefreshRequest() throws Exception {
String refreshURL = getHostPath() + "/NextPage.html";
String page = "<html><head><title>Sample</title>" +
- "<meta Http_equiv=refresh content='2;" + refreshURL + "'></head>\n" +
+ "<meta Http_equiv=refresh content='2;\"" + refreshURL + "\"'></head>\n" +
"<body>This has no data\n" +
"</body></html>\n";
defineResource( "SimplePage.html", page );
@@ -312,7 +312,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=NextPage.html'></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 );
|