DivTestpublic class DivTest extends org.apache.struts2.views.jsp.AbstractUITagTest
Methods Summary |
---|
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 | testSimple()
TestAction testAction = (TestAction) action;
testAction.setFoo("bar");
DivTag tag = new DivTag();
tag.setPageContext(pageContext);
tag.setId("mylabel");
tag.setTheme("ajax");
tag.setHref("a");
tag.setLoadingText("b");
tag.setErrorText("c");
tag.setAutoStart("true");
tag.setDelay("4000");
tag.setUpdateFreq("1000");
tag.setListenTopics("g");
tag.setStartTimerListenTopics("h");
tag.setStopTimerListenTopics("i");
tag.setBeforeLoading("j");
tag.setAfterLoading("k");
tag.setRefreshOnShow("true");
tag.setHandler("l");
tag.setIndicator("m");
tag.setShowLoadingText("true");
tag.setSeparateScripts("false");
tag.doStartTag();
tag.doEndTag();
verify(DivTest.class.getResource("div-1.txt"));
|
|