[Httpunit-commit] CVS: httpunit/test/com/meterware/httpunit WebLinkTest.java,1.27,1.28
Brought to you by:
russgold
|
From: Russell G. <rus...@us...> - 2003-05-04 15:42:12
|
Update of /cvsroot/httpunit/httpunit/test/com/meterware/httpunit
In directory sc8-pr-cvs1:/tmp/cvs-serv5892/test/com/meterware/httpunit
Modified Files:
WebLinkTest.java
Log Message:
bug #717640: <base> element was not being handled in the case when no host was specified.
Index: WebLinkTest.java
===================================================================
RCS file: /cvsroot/httpunit/httpunit/test/com/meterware/httpunit/WebLinkTest.java,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- WebLinkTest.java 27 Feb 2003 23:36:06 -0000 1.27
+++ WebLinkTest.java 4 May 2003 15:38:03 -0000 1.28
@@ -233,7 +233,7 @@
WebConversation wc = new WebConversation();
defineWebPage( "alternate/Target", "Found me!" );
defineResource( "Initial.html", "<html><head><title>Test for Base</title>" +
- " <base href=\"" + getHostPath() + "/alternate/\"></head>" +
+ " <base href='/alternate/'></head>" +
" <body><a href=\"Target.html\">Go</a></body></html>" );
WebResponse initialPage = wc.getResponse( getHostPath() + "/Initial.html" );
|