189190191192193194195196197198199
} // verify test request.verify(); jspWriter.verify(); pageContext.verify(); } public void testEscapeJavaScript() throws Exception { // setups initDispatcher(new HashMap() {{ put(StrutsConstants.STRUTS_TAG_ALTSYNTAX, "true");}});
219220221222223224225226227228229
tag.doEndTag();} // verify test request.verify(); jspWriter.verify(); pageContext.verify(); } public void testEscapeXml() throws Exception { // setups initDispatcher(new HashMap() {{ put(StrutsConstants.STRUTS_TAG_ALTSYNTAX, "true");}});
249250251252253254255256257258259
tag.doEndTag();} // verify test request.verify(); jspWriter.verify(); pageContext.verify(); } public void testEscapeCsv() throws Exception { // setups initDispatcher(new HashMap() {{ put(StrutsConstants.STRUTS_TAG_ALTSYNTAX, "true");}});
279280281282283284285286287288289
tag.doEndTag();} // verify test request.verify(); jspWriter.verify(); pageContext.verify(); } public void testWithAltSyntax2() throws Exception { // setups initDispatcher(new HashMap() {{ put(StrutsConstants.STRUTS_TAG_ALTSYNTAX, "true");}});
307308309310311312313314315316317
tag.doEndTag();} // verify test request.verify(); jspWriter.verify(); pageContext.verify(); } public void testWithoutAltSyntax1() throws Exception { // setups initDispatcher(new HashMap() {{ put(StrutsConstants.STRUTS_TAG_ALTSYNTAX, "false");}});
335336337338339340341342343344345
tag.doEndTag();} // verify test request.verify(); jspWriter.verify(); pageContext.verify(); } public void testWithoutAltSyntax2() throws Exception { // setups