Hi all.
When I override the processPreprocess method of RequestProcessor and my
tests starts to fail.
java.lang.AbstractMethodError:
servletunit.struts.StrutsRequestWrapper.getRequestURL()Ljava/lang/StringBuffer;
at
jforum.utils.JForumRequestProcessor.processPreprocess(JForumRequestProcessor.java:35)
A portion of RequestProcessor:
protected boolean processPreprocess(HttpServletRequest request,
HttpServletResponse response) {
String path = StringUtils.substringAfter(
request.getRequestURL().toString(), request.getContextPath());
...
Test: (extends CactusStrutsTestCase)
setRequestPathInfo("/Login");
addRequestParameter("login", "existent-login");
addRequestParameter("password", "password");
actionPerform();
...
Can you explain me what happen?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]