Package org.springmodules.xt.test.ajax

Examples of org.springmodules.xt.test.ajax.DummyHandler


        httpRequest.setParameter(ajaxInterceptor.getEventParameter(), "action");
       
        ajaxInterceptor.preHandle(httpRequest, httpResponse, controller);
       
        String response1 = httpResponse.getContentAsString();
        String response2 = new DummyHandler().action(new AjaxActionEventImpl("action", httpRequest)).render();
       
        assertEquals(response1, response2);
    }
View Full Code Here

TOP

Related Classes of org.springmodules.xt.test.ajax.DummyHandler

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.