Methods Summary |
---|
public void | testButton()
TestAction testAction = (TestAction) action;
testAction.setFoo("bar");
SubmitTag tag = new SubmitTag();
tag.setPageContext(pageContext);
tag.setId("a");
tag.setTheme("ajax");
tag.setHref("b");
tag.setLoadingText("c");
tag.setErrorText("d");
tag.setListenTopics("e");
tag.setPreInvokeJS("f");
tag.setOnLoadJS("g");
tag.setHandler("h");
tag.setType("button");
tag.setLabel("i");
tag.setNotifyTopics("k");
tag.setIndicator("l");
tag.doStartTag();
tag.doEndTag();
verify(SubmitAjaxTest.class.getResource("submit-ajax-2.txt"));
|
public void | testGenericAjax()
AbstractRemoteCallUITag tag = new DivTag();
verifyGenericProperties(tag, "ajax", new String[]{"value","tabindex","disabled"});
|
public void | testGenericSimple()
AbstractRemoteCallUITag tag = new DivTag();
verifyGenericProperties(tag, "simple", new String[]{"value","tabindex","disabled"});
|
public void | testGenericXhtml()
AbstractRemoteCallUITag tag = new DivTag();
verifyGenericProperties(tag, "xhtml", new String[]{"value","tabindex","disabled"});
|
public void | testImage()
TestAction testAction = (TestAction) action;
testAction.setFoo("bar");
SubmitTag tag = new SubmitTag();
tag.setPageContext(pageContext);
tag.setId("a");
tag.setTheme("ajax");
tag.setHref("b");
tag.setLoadingText("c");
tag.setErrorText("d");
tag.setListenTopics("e");
tag.setPreInvokeJS("f");
tag.setOnLoadJS("g");
tag.setHandler("h");
tag.setType("image");
tag.setLabel("i");
tag.setSrc("j");
tag.setNotifyTopics("k");
tag.setIndicator("l");
tag.doStartTag();
tag.doEndTag();
verify(SubmitAjaxTest.class.getResource("submit-ajax-3.txt"));
|
public void | testSubmit()
TestAction testAction = (TestAction) action;
testAction.setFoo("bar");
SubmitTag tag = new SubmitTag();
tag.setPageContext(pageContext);
tag.setId("a");
tag.setTheme("ajax");
tag.setHref("b");
tag.setLoadingText("c");
tag.setErrorText("d");
tag.setListenTopics("e");
tag.setPreInvokeJS("f");
tag.setOnLoadJS("g");
tag.setHandler("h");
tag.setType("submit");
tag.setLabel("i");
tag.setNotifyTopics("k");
tag.setIndicator("l");
tag.setShowLoadingText("true");
tag.doStartTag();
tag.doEndTag();
verify(SubmitAjaxTest.class.getResource("submit-ajax-1.txt"));
|