130131132133134135136137138139140
fail(); } request.verify(); jspWriter.verify(); pageContext.verify(); } public void testTopOfStack() { PropertyTag tag = new PropertyTag();
159160161162163164165166167168169
fail(); } request.verify(); jspWriter.verify(); pageContext.verify(); } public void testWithAltSyntax1() throws Exception { // setups
188189190191192193194195196197198
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");}});
216217218219220221222223224225226
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");}});
244245246247248249250251252253254
tag.doEndTag();} // verify test request.verify(); jspWriter.verify(); pageContext.verify(); } public void testWithoutAltSyntax2() throws Exception { // setups
272273274275276277278279280281282
tag.doEndTag();} // verify test request.verify(); jspWriter.verify(); pageContext.verify(); } protected void setUp() throws Exception { super.setUp();
tag.doEndTag();} // verify test request.verify(); jspWriter.verify(); pageContext.verify(); } public void testEscapeJavaScript() throws Exception { // setups initDispatcher(new HashMap() {{ put(StrutsConstants.STRUTS_TAG_ALTSYNTAX, "true");}});
218219220221222223224225226227228
246247248249250251252253254255256
274275276277278279280281282283284