Re: WicketTester, testing Form and SubmitLink

2007-09-05 Thread Jean-Baptiste Quenot
You may want to paste the exception BTW, it is missing. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: WicketTester, testing Form and SubmitLink

2007-09-05 Thread wicket user
Done, I've just included a small project with a form and a submit link as well as a unit testcase to highlight the problem. They are not unit test cases for WicketTester as such, I would have to spend a bit more time poking around the code to know how to write a proper test for the tester... Than

Re: WicketTester, testing Form and SubmitLink

2007-09-05 Thread Jean-Baptiste Quenot
* wicket user: > I've raised the issue, https://issues.apache.org/jira/browse/WICKET-932 Thanks! > Jean, please excuse my ignorance but when you request a quickstart project > do you mean you want the whole quickstart project with the problem > illustrated zipped into my file. Anything that hel

Re: WicketTester, testing Form and SubmitLink

2007-09-05 Thread wicket user
Sorry I've been so slack in responding. I've raised the issue, https://issues.apache.org/jira/browse/WICKET-932 Jean, please excuse my ignorance but when you request a quickstart project do you mean you want the whole quickstart project with the problem illustrated zipped into my file. Any i

Re: WicketTester, testing Form and SubmitLink

2007-09-03 Thread Jean-Baptiste Quenot
* wicket user: > > I'm trying to test a form submission with SubmitLink, test code below: > > tester.setParameterForNextRequest("numberChangeForm:numberToChangeTo", > numberToChangeTo); > > reset(smsServiceMock); > smsServiceMock.sendActivationSms(isA(Subscriber.class));

Re: WicketTester, testing Form and SubmitLink

2007-08-30 Thread Igor Vaynberg
hmm, dont know if wickettester has support for submitlink because that has to both submit the form/process it and invoke onsubmit on it. please add an rfe into jira. -igor On 8/30/07, wicket user <[EMAIL PROTECTED]> wrote: > > Hi Folks, > > I'm trying to test a form submission with SubmitLink, t

WicketTester, testing Form and SubmitLink

2007-08-30 Thread wicket user
Hi Folks, I'm trying to test a form submission with SubmitLink, test code below: tester.setParameterForNextRequest("numberChangeForm:numberToChangeTo", numberToChangeTo); reset(smsServiceMock); smsServiceMock.sendActivationSms(isA(Subscriber.class)); replay(smsSer