FileDocCategorySizeDatePackage
FormTest.javaAPI DocExample1565Mon Jul 23 13:26:10 BST 2007org.apache.struts2.components

FormTest

public class FormTest extends org.apache.struts2.views.jsp.AbstractUITagTest
FormTest

Fields Summary
Constructors Summary
Methods Summary
public voidtestTestFormGetValidators()

        Form form = new Form(stack, request, response);
        form.getParameters().put("actionClass", TestAction.class);
        List v = form.getValidators("foo");
        assertEquals(1, v.size());
        assertEquals(RequiredFieldValidator.class, v.get(0).getClass());