Modified: struts/taglib/trunk/src/webapp/org/apache/struts/taglib/html/TestImageTag2.jsp URL: http://svn.apache.org/viewcvs/struts/taglib/trunk/src/webapp/org/apache/struts/taglib/html/TestImageTag2.jsp?rev=376852&r1=376851&r2=376852&view=diff ============================================================================== --- struts/taglib/trunk/src/webapp/org/apache/struts/taglib/html/TestImageTag2.jsp (original) +++ struts/taglib/trunk/src/webapp/org/apache/struts/taglib/html/TestImageTag2.jsp Fri Feb 10 13:08:44 2006 @@ -1,12 +1,10 @@ <%@ page contentType="text/html;charset=UTF-8" language="java" %> -<%@page import="junit.framework.Assert"%> +<%@ page import="junit.framework.Assert" %> <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %> <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %> <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %> - - @@ -15,7 +13,9 @@ - " onmousedown="XXX"> + " + onmousedown="XXX"> @@ -25,7 +25,9 @@ - " onmousemove="XXX"> + " + onmousemove="XXX"> @@ -35,7 +37,9 @@ - " onmouseout="XXX"> + " + onmouseout="XXX"> @@ -45,7 +49,9 @@ - " onmouseover="XXX"> + " + onmouseover="XXX"> @@ -55,7 +61,9 @@ - " onmouseup="XXX"> + " + onmouseup="XXX"> @@ -65,7 +73,8 @@ - "> + "> @@ -75,7 +84,9 @@ - " style="XXX"> + " + style="XXX"> @@ -85,7 +96,9 @@ - " class="XXX"> + " + class="XXX"> @@ -95,7 +108,9 @@ - " id="XXX"> + " + id="XXX"> @@ -105,7 +120,9 @@ - " tabindex="XXX"> + " + tabindex="XXX"> @@ -115,7 +132,9 @@ - " title="XXX"> + " + title="XXX"> @@ -125,17 +144,22 @@ - " title="Testing Message"> + " + title="Testing Message"> - + - " title="Testing Message"> + " + title="Testing Message"> @@ -145,17 +169,22 @@ - " title="Message D'Essai"> + " + title="Message D'Essai"> - + - " title="Message D'Essai"> + " + title="Message D'Essai"> @@ -165,111 +194,117 @@ - " value="XXX"> + " + value="XXX"> - - - - - - - - "> - - + + + + + + + + "> + + - - - - - - - - "> - - + + + + + + + + "> + + - - - - - - - - "> - - + + + + + + + + "> + + - - - - - - - - "> - - + + + + + + + + "> + + - - - - - - - - "> - - "> - - - + + + + + + - - - - - - - - - "> - - "> - - - + "> + "> + + + + + + + + + + + "> + "> + + -<% -String expected = ""; -String compareTo = ""; +<% + String expected = ""; + String compareTo = ""; -if (pageContext.getAttribute("EXPECTED_RESULTS") == null){ - throw new javax.servlet.jsp.JspException("No tests on this page were called. Please verify that you've setup the tests correctly."); -}else{ - expected=pageContext.getAttribute("TEST_RESULTS").toString(); -} -if (pageContext.getAttribute("TEST_RESULTS") != null){ - compareTo=pageContext.getAttribute("EXPECTED_RESULTS").toString(); -} + if (pageContext.getAttribute("EXPECTED_RESULTS") == null) { + throw new javax.servlet.jsp.JspException( + "No tests on this page were called. Please verify that you've setup the tests correctly."); + } else { + expected = pageContext.getAttribute("TEST_RESULTS").toString(); + } + if (pageContext.getAttribute("TEST_RESULTS") != null) { + compareTo = pageContext.getAttribute("EXPECTED_RESULTS").toString(); + } -Assert.assertEquals(expected, compareTo); + Assert.assertEquals(expected, compareTo); %> Modified: struts/taglib/trunk/src/webapp/org/apache/struts/taglib/html/TestImageTag3.jsp URL: http://svn.apache.org/viewcvs/struts/taglib/trunk/src/webapp/org/apache/struts/taglib/html/TestImageTag3.jsp?rev=376852&r1=376851&r2=376852&view=diff ============================================================================== --- struts/taglib/trunk/src/webapp/org/apache/struts/taglib/html/TestImageTag3.jsp (original) +++ struts/taglib/trunk/src/webapp/org/apache/struts/taglib/html/TestImageTag3.jsp Fri Feb 10 13:08:44 2006 @@ -1,5 +1,5 @@ <%@ page contentType="text/html;charset=UTF-8" language="java" %> -<%@page import="junit.framework.Assert"%> +<%@ page import="junit.framework.Assert" %> <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %> <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %> <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %> @@ -10,7 +10,9 @@ - " accesskey="XXX"> + " + accesskey="XXX"> @@ -20,7 +22,9 @@ - " align="XXX"> + " + align="XXX"> @@ -30,45 +34,59 @@ - " alt="XXX"> + " + alt="XXX"> - + - " alt="Testing Message"> + " + alt="Testing Message"> - + - " alt="Testing Message"> + " + alt="Testing Message"> - + - " alt="Message D'Essai"> + " + alt="Message D'Essai"> - + - " alt="Message D'Essai"> + " + alt="Message D'Essai"> @@ -78,7 +96,9 @@ - " border="XXX"> + " + border="XXX"> @@ -88,7 +108,9 @@ - " disabled="disabled"> + " + disabled="disabled"> @@ -98,7 +120,9 @@ - " disabled="disabled"> + " + disabled="disabled"> @@ -108,7 +132,9 @@ - " disabled="disabled"> + " + disabled="disabled"> @@ -118,7 +144,8 @@ - "> + "> @@ -128,7 +155,8 @@ - "> + "> @@ -138,47 +166,60 @@ - "> + "> - + - " alt="Testing Message"> + " + alt="Testing Message"> - + - " alt="Testing Message"> + " + alt="Testing Message"> - + - " alt="Message D'Essai"> + " + alt="Message D'Essai"> - + - " alt="Message D'Essai"> + " + alt="Message D'Essai"> @@ -188,7 +229,9 @@ - " onblur="XXX"> + " + onblur="XXX"> @@ -198,7 +241,9 @@ - " onchange="XXX"> + " + onchange="XXX"> @@ -208,7 +253,9 @@ - " onclick="XXX"> + " + onclick="XXX"> @@ -218,7 +265,9 @@ - " ondblclick="XXX"> + " + ondblclick="XXX"> @@ -228,7 +277,9 @@ - " onfocus="XXX"> + " + onfocus="XXX"> @@ -238,7 +289,9 @@ - " onkeydown="XXX"> + " + onkeydown="XXX"> @@ -248,7 +301,9 @@ - " onkeypress="XXX"> + " + onkeypress="XXX"> @@ -258,23 +313,26 @@ - " onkeyup="XXX"> + " + onkeyup="XXX"> -<% -String expected = ""; -String compareTo = ""; +<% + String expected = ""; + String compareTo = ""; -if (pageContext.getAttribute("EXPECTED_RESULTS") == null){ - throw new javax.servlet.jsp.JspException("No tests on this page were called. Please verify that you've setup the tests correctly."); -}else{ - expected=pageContext.getAttribute("TEST_RESULTS").toString(); -} -if (pageContext.getAttribute("TEST_RESULTS") != null){ - compareTo=pageContext.getAttribute("EXPECTED_RESULTS").toString(); -} + if (pageContext.getAttribute("EXPECTED_RESULTS") == null) { + throw new javax.servlet.jsp.JspException( + "No tests on this page were called. Please verify that you've setup the tests correctly."); + } else { + expected = pageContext.getAttribute("TEST_RESULTS").toString(); + } + if (pageContext.getAttribute("TEST_RESULTS") != null) { + compareTo = pageContext.getAttribute("EXPECTED_RESULTS").toString(); + } -Assert.assertEquals(expected, compareTo); + Assert.assertEquals(expected, compareTo); %> Modified: struts/taglib/trunk/src/webapp/org/apache/struts/taglib/html/TestImageTag4.jsp URL: http://svn.apache.org/viewcvs/struts/taglib/trunk/src/webapp/org/apache/struts/taglib/html/TestImageTag4.jsp?rev=376852&r1=376851&r2=376852&view=diff ============================================================================== --- struts/taglib/trunk/src/webapp/org/apache/struts/taglib/html/TestImageTag4.jsp (original) +++ struts/taglib/trunk/src/webapp/org/apache/struts/taglib/html/TestImageTag4.jsp Fri Feb 10 13:08:44 2006 @@ -1,5 +1,5 @@ <%@ page contentType="text/html;charset=UTF-8" language="java" %> -<%@page import="junit.framework.Assert"%> +<%@ page import="junit.framework.Assert" %> <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %> <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %> <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %> @@ -11,7 +11,9 @@ - " onmousedown="XXX"> + " + onmousedown="XXX"> @@ -21,7 +23,9 @@ - " onmousemove="XXX"> + " + onmousemove="XXX"> @@ -31,7 +35,9 @@ - " onmouseout="XXX"> + " + onmouseout="XXX"> @@ -41,7 +47,9 @@ - " onmouseover="XXX"> + " + onmouseover="XXX"> @@ -51,7 +59,9 @@ - " onmouseup="XXX"> + " + onmouseup="XXX"> @@ -61,7 +71,8 @@ - "> + "> @@ -71,7 +82,9 @@ - " style="XXX"> + " + style="XXX"> @@ -81,7 +94,9 @@ - " class="XXX"> + " + class="XXX"> @@ -91,7 +106,9 @@ - " id="XXX"> + " + id="XXX"> @@ -101,7 +118,9 @@ - " tabindex="XXX"> + " + tabindex="XXX"> @@ -111,47 +130,62 @@ - " title="XXX"> + " + title="XXX"> - + - " title="Testing Message"> + " + title="Testing Message"> - + - " title="Testing Message"> + " + title="Testing Message"> - + - " title="Message D'Essai"> + " + title="Message D'Essai"> - + - + - " title="Message D'Essai"> + " + title="Message D'Essai"> @@ -161,111 +195,118 @@ - " value="XXX"> + " + value="XXX"> - - - - - - - - "> - - + + + + + + + + "> + + - - - - - - - - "> - - + + + + + + + + "> + + - - - - - - - - "> - - + + + + + + + + "> + + - - - - - - - - "> - - + + + + + + + + "> + + - - - - - - - - "> - - "> - - - - - - - - - - - - - "> - - "> - - + + + + + + + + "> + + "> + + + + + + + + + + "> + "> + + +<% + String expected = ""; + String compareTo = ""; -<% -String expected = ""; -String compareTo = ""; - -if (pageContext.getAttribute("EXPECTED_RESULTS") == null){ - throw new javax.servlet.jsp.JspException("No tests on this page were called. Please verify that you've setup the tests correctly."); -}else{ - expected=pageContext.getAttribute("TEST_RESULTS").toString(); -} -if (pageContext.getAttribute("TEST_RESULTS") != null){ - compareTo=pageContext.getAttribute("EXPECTED_RESULTS").toString(); -} + if (pageContext.getAttribute("EXPECTED_RESULTS") == null) { + throw new javax.servlet.jsp.JspException( + "No tests on this page were called. Please verify that you've setup the tests correctly."); + } else { + expected = pageContext.getAttribute("TEST_RESULTS").toString(); + } + if (pageContext.getAttribute("TEST_RESULTS") != null) { + compareTo = pageContext.getAttribute("EXPECTED_RESULTS").toString(); + } -Assert.assertEquals(expected, compareTo); + Assert.assertEquals(expected, compareTo); %> Modified: struts/taglib/trunk/src/webapp/org/apache/struts/taglib/html/TestImageTag5.jsp URL: http://svn.apache.org/viewcvs/struts/taglib/trunk/src/webapp/org/apache/struts/taglib/html/TestImageTag5.jsp?rev=376852&r1=376851&r2=376852&view=diff ============================================================================== --- struts/taglib/trunk/src/webapp/org/apache/struts/taglib/html/TestImageTag5.jsp (original) +++ struts/taglib/trunk/src/webapp/org/apache/struts/taglib/html/TestImageTag5.jsp Fri Feb 10 13:08:44 2006 @@ -1,5 +1,5 @@ <%@ page contentType="text/html;charset=UTF-8" language="java" %> -<%@page import="junit.framework.Assert"%> +<%@ page import="junit.framework.Assert" %> <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %> <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %> <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %> @@ -10,7 +10,9 @@ - " accesskey="XXX"> + " + accesskey="XXX"> @@ -20,7 +22,8 @@ - " align="XXX"> + " align="XXX"> @@ -30,7 +33,8 @@ - " alt="XXX"> + " alt="XXX"> @@ -40,17 +44,22 @@ - " alt="Testing Message"> + " + alt="Testing Message"> - + - " alt="Testing Message"> + " + alt="Testing Message"> @@ -59,16 +68,21 @@ - " alt="Message D'Essai"> + " + alt="Message D'Essai"> - + - " alt="Message D'Essai"> + " + alt="Message D'Essai"> @@ -78,7 +92,8 @@ - " border="XXX"> + " border="XXX"> @@ -88,7 +103,9 @@ - " disabled="disabled"> + " + disabled="disabled"> @@ -98,7 +115,9 @@ - " disabled="disabled"> + " + disabled="disabled"> @@ -108,7 +127,9 @@ - " disabled="disabled"> + " + disabled="disabled"> @@ -118,7 +139,8 @@ - "> + "> @@ -128,7 +150,8 @@ - "> + "> @@ -138,17 +161,21 @@ - "> + "> - + - " alt="Message D'Essai"> + " + alt="Message D'Essai"> @@ -158,7 +185,8 @@ - " onblur="XXX"> + " onblur="XXX"> @@ -168,7 +196,9 @@ - " onchange="XXX"> + " + onchange="XXX"> @@ -178,7 +208,8 @@ - " onclick="XXX"> + " onclick="XXX"> @@ -188,7 +219,9 @@ - " ondblclick="XXX"> + " + ondblclick="XXX"> @@ -198,7 +231,8 @@ - " onfocus="XXX"> + " onfocus="XXX"> @@ -208,7 +242,9 @@ - " onkeydown="XXX"> + " + onkeydown="XXX"> @@ -218,7 +254,9 @@ - " onkeypress="XXX"> + " + onkeypress="XXX"> @@ -228,24 +266,25 @@ - " onkeyup="XXX"> + " onkeyup="XXX"> -<% -String expected = ""; -String compareTo = ""; +<% + String expected = ""; + String compareTo = ""; -if (pageContext.getAttribute("EXPECTED_RESULTS") == null){ - throw new javax.servlet.jsp.JspException - ("No tests on this page were called. Please verify that you've setup the tests correctly."); -}else{ - expected=pageContext.getAttribute("TEST_RESULTS").toString(); -} -if (pageContext.getAttribute("TEST_RESULTS") != null){ - compareTo=pageContext.getAttribute("EXPECTED_RESULTS").toString(); -} + if (pageContext.getAttribute("EXPECTED_RESULTS") == null) { + throw new javax.servlet.jsp.JspException + ("No tests on this page were called. Please verify that you've setup the tests correctly."); + } else { + expected = pageContext.getAttribute("TEST_RESULTS").toString(); + } + if (pageContext.getAttribute("TEST_RESULTS") != null) { + compareTo = pageContext.getAttribute("EXPECTED_RESULTS").toString(); + } -Assert.assertEquals(expected, compareTo); + Assert.assertEquals(expected, compareTo); %> Modified: struts/taglib/trunk/src/webapp/org/apache/struts/taglib/html/TestImageTag6.jsp URL: http://svn.apache.org/viewcvs/struts/taglib/trunk/src/webapp/org/apache/struts/taglib/html/TestImageTag6.jsp?rev=376852&r1=376851&r2=376852&view=diff ============================================================================== --- struts/taglib/trunk/src/webapp/org/apache/struts/taglib/html/TestImageTag6.jsp (original) +++ struts/taglib/trunk/src/webapp/org/apache/struts/taglib/html/TestImageTag6.jsp Fri Feb 10 13:08:44 2006 @@ -1,5 +1,5 @@ <%@ page contentType="text/html;charset=UTF-8" language="java" %> -<%@page import="junit.framework.Assert"%> +<%@ page import="junit.framework.Assert" %> <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %> <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %> <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %> @@ -10,7 +10,9 @@ - " onmousedown="XXX"> + " + onmousedown="XXX"> @@ -20,7 +22,9 @@ - " onmousemove="XXX"> + " + onmousemove="XXX"> @@ -30,7 +34,9 @@ - " onmouseout="XXX"> + " + onmouseout="XXX"> @@ -40,7 +46,9 @@ - " onmouseover="XXX"> + " + onmouseover="XXX"> @@ -50,7 +58,9 @@ - " onmouseup="XXX"> + " + onmouseup="XXX"> @@ -60,7 +70,8 @@ - "> + "> @@ -70,7 +81,8 @@ - " style="XXX"> + " style="XXX"> @@ -80,7 +92,8 @@ - " class="XXX"> + " class="XXX"> @@ -90,7 +103,8 @@ - " id="XXX"> + " id="XXX"> @@ -100,7 +114,9 @@ - " tabindex="XXX"> + " + tabindex="XXX"> @@ -110,7 +126,8 @@ - " title="XXX"> + " title="XXX"> @@ -120,17 +137,22 @@ - " title="Testing Message"> + " + title="Testing Message"> - + - " title="Testing Message"> + " + title="Testing Message"> @@ -140,17 +162,22 @@ - " title="Message D'Essai"> + " + title="Message D'Essai"> - + - " title="Message D'Essai"> + " + title="Message D'Essai"> @@ -160,109 +187,116 @@ - " value="XXX"> + " value="XXX"> - - - - - - - - "> - - + + + + + + + + "> + + - - - - - - - - "> - - + + + + + + + + "> + + - - - - - - - - "> - - + + + + + + + + "> + + - - - - - - - - "> - - + + + + + + + + "> + + - - - - - - - - "> - - "> - - + + + + + + + + "> + + "> + + - - - - - - - - "> - - "> - - - + + + + + + + "> + + "> + + + +<% + String expected = ""; + String compareTo = ""; -<% -String expected = ""; -String compareTo = ""; - -if (pageContext.getAttribute("EXPECTED_RESULTS") == null){ - throw new javax.servlet.jsp.JspException - ("No tests on this page were called. Please verify that you've setup the tests correctly."); -}else{ - expected=pageContext.getAttribute("TEST_RESULTS").toString(); -} -if (pageContext.getAttribute("TEST_RESULTS") != null){ - compareTo=pageContext.getAttribute("EXPECTED_RESULTS").toString(); -} + if (pageContext.getAttribute("EXPECTED_RESULTS") == null) { + throw new javax.servlet.jsp.JspException + ("No tests on this page were called. Please verify that you've setup the tests correctly."); + } else { + expected = pageContext.getAttribute("TEST_RESULTS").toString(); + } + if (pageContext.getAttribute("TEST_RESULTS") != null) { + compareTo = pageContext.getAttribute("EXPECTED_RESULTS").toString(); + } -Assert.assertEquals(expected, compareTo); + Assert.assertEquals(expected, compareTo); %> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org