On Mon, 05 Feb 2007, Srdjan Marinovic wrote:
> So now I want to unit test rendering of WelcomePage. However I need to
> have a UserSession object with the username set up. I have no idea how
> to this via WicketTester.
> 
> Is there any way to this?

I think that by providing your own Application implementation to
WicketTester you can do that by overriding
Session newSession(Request request).

- Timo

-- 
Timo Rantalaiho
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to