Package net.sf.jsptest.html

Examples of net.sf.jsptest.html.FormField


     *            The expected value.
     */
    public void shouldHaveValue(String expectedValue) {
        List actuals = new ArrayList();
        for (Iterator i = fields.iterator(); i.hasNext();) {
            FormField form = (FormField) i.next();
            if (expectedValue.equals(form.getValue())) {
                return;
            } else {
                actuals.add(form.getValue());
            }
        }
        Assert.fail("Field '" + fieldName + "' does not have value '" + expectedValue + "': "
                + actuals);
    }
View Full Code Here

TOP

Related Classes of net.sf.jsptest.html.FormField

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.