Re: Looking for some enlightenment for using DummyHomePage in unit testing

2009-08-08 Thread shetc
Got it, Igor. Very much appreciated! -- View this message in context: http://www.nabble.com/Looking-for-some-enlightenment-for-using-DummyHomePage-in-unit-testing-tp24882336p24883791.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Looking for some enlightenment for using DummyHomePage in unit testing

2009-08-08 Thread Igor Vaynberg
delete contact page takes a page to which it should go back to once the contact is deleted app.startPage(new DeleteContactPage(new DummyHomePage(), 10)); so the last assert makes sure this functionality works and user is redirected to dummy home page -igor On Sat, Aug 8, 2009 at 2:33 PM, Steve

Looking for some enlightenment for using DummyHomePage in unit testing

2009-08-08 Thread Steve Hiller
Hi All, I've been studying the following article, which is about unit testing Wicket when injected Spring beans are involved: http://www.mail-archive.com/comm...@wicket.apache.org/msg06613.html#Spring-UnitTestingtheProxyApproach I am not clear about Part 4 of the DeleteContactPageTest example,