without doing any work yourself the closest you can come is wickettester#startpage(class, pageparameters)
-igor On Thu, Dec 18, 2008 at 8:09 AM, walnutmon <[email protected]> wrote: > > bump. > > > walnutmon wrote: >> >> One thing I am trying to implement in my most recent wicket application is >> a hook in from another site written in JSP. I'm starting simple, with a >> hand-off URL that gives a few peices of information that allows the user >> to be logged into the wicket app based on crednetials that had them logged >> into the jsp app. >> >> I want to write test cases like follows. >> >> @Test >> public void testLogInUrl() >> { >> String loginURL = "http://somplace.com/wicket/login/?stuff=otherstuff"; >> goToUrl(loginUrl); >> assertRenderedPage(UserPage.class); >> assertLabel("name", someGuysName); >> } >> >> Anyone have any idea how to approach this? >> > > -- > View this message in context: > http://www.nabble.com/Wicket%3A-Testing-Request-URLs-tp21035024p21075048.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
