You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Rob Leland <rl...@apache.org> on 2003/07/27 09:13:35 UTC

cvs commit: jakarta-struts/web/test/test/org/apache/struts/taglib/html TestFrameTag1.jsp TestFrameTag3.jsp TestFrameTag5.jsp TestFrameTag7.jsp TestImgTag1a.jsp TestImgTag3a.jsp TestImgTag5a.jsp TestImgTag7a.jsp TestLinkTag1.jsp TestLinkTag3.jsp TestLinkTag4.jsp TestLinkTag5.jsp TestLinkTag6.jsp TestLinkTag7.jsp TestLinkTag8.jsp

FYI I updated the unit tests but the commit message was too large,
here is an example of the change.

rleland     2003/07/26 23:29:11

  Modified:    web/test/test/org/apache/struts/taglib/html
                        TestFrameTag1.jsp TestFrameTag3.jsp
                        TestFrameTag5.jsp TestFrameTag7.jsp
                        TestImgTag1a.jsp TestImgTag3a.jsp TestImgTag5a.jsp
                        TestImgTag7a.jsp TestLinkTag1.jsp TestLinkTag3.jsp
                        TestLinkTag4.jsp TestLinkTag5.jsp TestLinkTag6.jsp
                        TestLinkTag7.jsp TestLinkTag8.jsp
  Log:
  Update jsp tests to use TagUtils.computeURL methods.
  
  Revision  Changes    Path
  1.2       +8 -8      jakarta-struts/web/test/test/org/apache/struts/taglib/html/TestFrameTag1.jsp
  
  Index: TestFrameTag1.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/web/test/test/org/apache/struts/taglib/html/TestFrameTag1.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestFrameTag1.jsp	7 Mar 2003 05:39:10 -0000	1.1
  +++ TestFrameTag1.jsp	27 Jul 2003 06:29:11 -0000	1.2
  @@ -87,7 +87,7 @@
       </bean:define>
       <bean:define id="thisMap" name="paramMap" type="java.util.Map"/>
       <bean:define id="EXPECTED_RESULTS" toScope="page">
  -		<frame src="<%=org.apache.struts.util.RequestUtils.computeURL(pageContext, "simpleForward", null, null, null, thisMap, null, false)%>">
  +		<frame src="<%=org.apache.struts.taglib.TagUtils.getInstance().computeURL(pageContext, "simpleForward", null, null, null, thisMap, null, false)%>">
       </bean:define>
   </logic:equal>
   
  @@ -98,7 +98,7 @@
      </bean:define>
      <bean:define id="thisMap" name="paramPropertyMap" property="map" type="java.util.Map"/>
      <bean:define id="EXPECTED_RESULTS" toScope="page">
  -		<frame src="<%=org.apache.struts.util.RequestUtils.computeURL(pageContext, "simpleForward", null, null, null, thisMap, null, false)%>">
  +		<frame src="<%=org.apache.struts.taglib.TagUtils.getInstance().computeURL(pageContext, "simpleForward", null, null, null, thisMap, null, false)%>">
       </bean:define>
   </logic:equal>
   
  @@ -108,7 +108,7 @@
       </bean:define>
       <bean:define id="thisMap" name="paramMap" type="java.util.Map"/>
       <bean:define id="EXPECTED_RESULTS" toScope="page">
  -		<frame src="<%=org.apache.struts.util.RequestUtils.computeURL(pageContext, "simpleForward", null, null, null, thisMap, null, false)%>">
  +		<frame src="<%=org.apache.struts.taglib.TagUtils.getInstance().computeURL(pageContext, "simpleForward", null, null, null, thisMap, null, false)%>">
       </bean:define>
   </logic:equal>
   
  @@ -118,7 +118,7 @@
       </bean:define>
       <bean:define id="thisMap" name="paramPropertyMap" property="map" type="java.util.Map"/>
       <bean:define id="EXPECTED_RESULTS" toScope="page">
  -		<frame src="<%=org.apache.struts.util.RequestUtils.computeURL(pageContext, "simpleForward", null, null, null, thisMap, null, false)%>">
  +		<frame src="<%=org.apache.struts.taglib.TagUtils.getInstance().computeURL(pageContext, "simpleForward", null, null, null, thisMap, null, false)%>">
       </bean:define>
   </logic:equal>
   
  @@ -128,7 +128,7 @@
       </bean:define>
       <bean:define id="thisMap" name="paramMap" type="java.util.Map"/>
       <bean:define id="EXPECTED_RESULTS" toScope="page">
  -		<frame src="<%=org.apache.struts.util.RequestUtils.computeURL(pageContext, "simpleForward", null, null, null, thisMap, null, false)%>">
  +		<frame src="<%=org.apache.struts.taglib.TagUtils.getInstance().computeURL(pageContext, "simpleForward", null, null, null, thisMap, null, false)%>">
       </bean:define>
   </logic:equal>
   
  @@ -138,7 +138,7 @@
       </bean:define>
       <bean:define id="thisMap" name="paramPropertyMap" property="map" type="java.util.Map"/>
       <bean:define id="EXPECTED_RESULTS" toScope="page">
  -		<frame src="<%=org.apache.struts.util.RequestUtils.computeURL(pageContext, "simpleForward", null, null, null, thisMap, null, false)%>">
  +		<frame src="<%=org.apache.struts.taglib.TagUtils.getInstance().computeURL(pageContext, "simpleForward", null, null, null, thisMap, null, false)%>">
       </bean:define>
   </logic:equal>
   
  @@ -148,7 +148,7 @@
       </bean:define>
       <bean:define id="thisMap" name="paramMap" type="java.util.Map"/>
       <bean:define id="EXPECTED_RESULTS" toScope="page">
  -		<frame src="<%=org.apache.struts.util.RequestUtils.computeURL(pageContext, "simpleForward", null, null, null, thisMap, null, false)%>">
  +		<frame src="<%=org.apache.struts.taglib.TagUtils.getInstance().computeURL(pageContext, "simpleForward", null, null, null, thisMap, null, false)%>">
       </bean:define>
   </logic:equal>
   
  @@ -158,7 +158,7 @@
       </bean:define>
       <bean:define id="thisMap" name="paramPropertyMap" property="map" type="java.util.Map"/>
       <bean:define id="EXPECTED_RESULTS" toScope="page">
  -		<frame src="<%=org.apache.struts.util.RequestUtils.computeURL(pageContext, "simpleForward", null, null, null, thisMap, null, false)%>">
  +		<frame src="<%=org.apache.struts.taglib.TagUtils.getInstance().computeURL(pageContext, "simpleForward", null, null, null, thisMap, null, false)%>">
       </bean:define>
   </logic:equal>
   
  
  
  
  



-- 
Rob Leland



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org