Package com.springsource.insight.plugin.struts2

Examples of com.springsource.insight.plugin.struts2.ActionOperationCollectionAspectTest


        request.setParameter("personBean.firstName", "Bruce");
        request.setParameter("personBean.lastName", "Phillips");
        request.setParameter("personBean.email", "bphillips@ku.edu");
        request.setParameter("personBean.age", "19");
        ActionProxy actionProxy = getActionProxy("/register2.action");
        RegisterAction action = (RegisterAction) actionProxy.getAction();
        assertNotNull("The action is null but should not be.", action);

        String result = actionProxy.execute();
        assertEquals("The execute method did not return " + Action.SUCCESS + " but should have.", Action.SUCCESS, result);
    }
View Full Code Here


        request.setParameter("personBean.lastName", "Phillips");
        request.setParameter("personBean.email", "bphillips@ku.edu");
        request.setParameter("personBean.age", "19");
        ActionProxy actionProxy = getActionProxy("/register.action");
        RegisterValidationAction action = (RegisterValidationAction) actionProxy.getAction();
        assertNotNull("The action is null but should not be.", action);

        String result = actionProxy.execute();
        assertEquals("The execute method did not return " + Action.INPUT + " but should have.", Action.INPUT, result);
View Full Code Here

TOP

Related Classes of com.springsource.insight.plugin.struts2.ActionOperationCollectionAspectTest

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.