I agree. It should return null => RFE/Bug Juergen
On 10/27/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > First, I'd like to express that I really like the direction our > testing stuff is going. Thanks Ingram and Juergen! > > Now... what should this: > > app.startPage(AuthTestPage1.class); > app.assertRenderedPage(AuthTestPage1.class); > app.assertLabel("label", "wicked!"); > > do when the label is in fact not rendered? Or... to put it another > way, should WicketTester.getComponentFromLastRenderedPage return the > component or null when it was not rendered? > > I think there should be at least some indication that a component did > not render, but at this moment I believe it is a good idea to let > getComponentFromLastRenderedPage return null when it didn't render. > > What do you think? > > Eelco > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today * Register for a JBoss Training Course > Free Certification Exam for All Training Attendees Through End of 2005 > Visit http://www.jboss.com/services/certification for more information > _______________________________________________ > Wicket-develop mailing list > Wicket-develop@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-develop > ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Wicket-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop