Re: [Wicket-user] Tree testing

2007-06-09 Thread Ingram Chen
indeed, we internally develop small extension to allow using partial path to allocate component. tester.clickLink("foo:bar:navigation:i:6:nodeLink") can be written like tester.clickLink("foo, 6, nodeLink") On 6/9/07, Timo Rantalaiho <[EMAIL PROTECTED]> wrote: On Fri, 08 Jun 2007, Ingram Chen

Re: [Wicket-user] Tree testing

2007-06-08 Thread Timo Rantalaiho
On Fri, 08 Jun 2007, Ingram Chen wrote: > I use 1.2.6 and tester.clickLink("foo:bar:navigation:i:6:nodeLink") work for And instead of using the full path like that (which can be tedious to maintain when the component hierarchy changes) you can also use an Ivistor to access the component (and then

Re: [Wicket-user] Tree testing

2007-06-08 Thread Sven Schliesing
Thanks Frank, thanks Ingram! Didn't know that I could just access the links like that. But it seems quite logical. Everything works as expected now. Thanks again! Sven - This SF.net email is sponsored by DB2 Express Down

Re: [Wicket-user] Tree testing

2007-06-08 Thread Ingram Chen
I use 1.2.6 and tester.clickLink("foo:bar:navigation:i:6:nodeLink") work for me. On 6/8/07, Sven Schliesing <[EMAIL PROTECTED]> wrote: Hi, I'm trying to heavily rely on test driven development while building my application. Fortunately wicket does a really good job for unit-testing. But unfor

Re: [Wicket-user] Tree testing

2007-06-08 Thread Frank Bille
Hi I haven't used the tree yet (and therefore not tried to test it). But what do you do. I would just imagine it would be a call to tester.clickLink (linkPath)?! Frank On 6/8/07, Sven Schliesing <[EMAIL PROTECTED]> wrote: Hi, I'm trying to heavily rely on test driven development while build

[Wicket-user] Tree testing

2007-06-08 Thread Sven Schliesing
Hi, I'm trying to heavily rely on test driven development while building my application. Fortunately wicket does a really good job for unit-testing. But unfortunately I do not succeed in simulating a "click" on a node in a Tree with AjaxLinks. I already searched the svn for a test already han