I am having problems with WicketTester.clickLink(..) when the link is
a BookmarkablePageLink.
At first, if the link is a bookmarkable one, I don't need to test it,
since I can test the page alone.
But I was think in the following: if my link was simple Link subclass,
and I had a test for it:
add(new Link("myLink") {
public void onClick() {
setResponsePage(new MyPage());
}
}
tester.clickLink("myLink");
tester.assertRenderedPage(MyPage.class);
so I choose to replace it for a bookmarkable link, and run the
regression test. The test will fail, because "clickLink(..)" doesn't
work with BookmarkablePageLink. That way, I would have to remove the
"clickLink(..)" test.
Do people agree it is a bug?
-------------------------------------------------------
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. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user