On 10/30/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: > Nathan, > > Nathan Bubna wrote: > > two ideas: 1) find out what other projects with similar needs use. > > 2) search google for libs to support this > > Yeah, I googled for mock servlet and found a bunch of things. Nothing > really jumped out at me for a good solution. > > Since my needs are slim (testing this requires the use of > HttpServletResponse.encodeURL and HttpServletRequest.getParameter and > friends), I might just end up using plain-old Java Proxies since they > are super simple to set up and do not require any external libraries > (Java proxy was first available in Java 1.3, which I think is already a > requirement for Velocity).
cool. i look forward to seeing it, as i haven't used proxies for such things. > I'll attach a test case as soon as I have one. > > I'm still experiencing failures of the test cases that came out of the > svn trunk, though. I've had to disable them to get things working on my > own tests. hmm. i haven't run a full "ant test" on the trunk lately, though "ant test.generic" worked recently when i checked in the RenderTool fix. i'll try it out. probably something broken. i've been pretty focused on 2.x lately. > Thanks, > -chris > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]