Re: Tapestry-Spring Security & Page Testing

2009-07-21 Thread Sergey Didenko
What a beautiful solution! Thanks, Paul. On Fri, Jul 17, 2009 at 4:43 PM, Paul Field wrote: > I have an IOC module TestInfrastructureModule that is included only in my > tests. It contains this contribution: > - To unsubscribe,

Re: Tapestry-Spring Security & Page Testing

2009-07-17 Thread Juan E. Maya
() >> getClass().getAnnotation() >> which gives you some coverage at least. >> >> Cheers >> Peter >> >> >> - Original Message - >> From: "Juan E. Maya" >> To: "Tapestry users" >> Sent: Friday, 17 July,

Re: Tapestry-Spring Security & Page Testing

2009-07-17 Thread Paul Field
least. > > Cheers > Peter > > > - Original Message - > From: "Juan E. Maya" > To: "Tapestry users" > Sent: Friday, 17 July, 2009 11:48:29 GMT +02:00 Athens, Beirut, > Bucharest, Istanbul > Subject: Re: Tapestry-Spring Security

Re: Tapestry-Spring Security & Page Testing

2009-07-17 Thread P . Stavrinides
ter - Original Message - From: "Juan E. Maya" To: "Tapestry users" Sent: Friday, 17 July, 2009 11:48:29 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: Tapestry-Spring Security & Page Testing Oh Peter yes i understand you, and i totally agree with yo

Re: Tapestry-Spring Security & Page Testing

2009-07-17 Thread Juan E. Maya
E. Maya" > To: "Tapestry users" > Sent: Friday, 17 July, 2009 11:14:11 GMT +02:00 Athens, Beirut, Bucharest, > Istanbul > Subject: Re: Tapestry-Spring Security & Page Testing > > Yes i tried and although it's possible i would be removing the > security

Re: Tapestry-Spring Security & Page Testing

2009-07-17 Thread P . Stavrinides
hat will. Kind regards, Peter - Original Message - From: "Juan E. Maya" To: "Tapestry users" Sent: Friday, 17 July, 2009 11:14:11 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: Tapestry-Spring Security & Page Testing Yes i tried and although it'

Re: Tapestry-Spring Security & Page Testing

2009-07-17 Thread Juan E. Maya
is? > > Peter > - Original Message - > From: "Juan E. Maya" > To: "Tapestry users" > Sent: Friday, 17 July, 2009 10:25:15 GMT +02:00 Athens, Beirut, Bucharest, > Istanbul > Subject: Re: Tapestry-Spring Security & Page Testing > > O

Re: Tapestry-Spring Security & Page Testing

2009-07-17 Thread Peter Stavrinides
Have you tried to use a Mock object for this? Peter - Original Message - From: "Juan E. Maya" To: "Tapestry users" Sent: Friday, 17 July, 2009 10:25:15 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: Tapestry-Spring Security & Page Testing Oh sorr

Re: Tapestry-Spring Security & Page Testing

2009-07-17 Thread Juan E. Maya
you need a browser. > > - Original Message - > From: "Juan E. Maya" > To: "Tapestry users" > Sent: Thursday, 16 July, 2009 17:54:23 GMT +02:00 Athens, Beirut, Bucharest, > Istanbul > Subject: Re: Tapestry-Spring Security & Page Testing > >

Re: Tapestry-Spring Security & Page Testing

2009-07-16 Thread Peter Stavrinides
Bucharest, Istanbul Subject: Re: Tapestry-Spring Security & Page Testing I had already look at it, but due to restrictions in the test server we can't launch an instance of a browser to execute the test. Thanks anyway Peter On Thu, Jul 16, 2009 at 4:26 PM, wrote: > Look at the p

Re: Tapestry-Spring Security & Page Testing

2009-07-16 Thread Juan E. Maya
quot;Tapestry users" > Sent: Thursday, 16 July, 2009 17:09:23 GMT +02:00 Athens, Beirut, Bucharest, > Istanbul > Subject: Re: Tapestry-Spring Security & Page Testing > > I came to the conclusion (maybe i am wrong) that this is not possible > (at least now) using Spring-s

Re: Tapestry-Spring Security & Page Testing

2009-07-16 Thread P . Stavrinides
- From: "Juan E. Maya" To: "Tapestry users" Sent: Thursday, 16 July, 2009 17:09:23 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: Tapestry-Spring Security & Page Testing I came to the conclusion (maybe i am wrong) that this is not possible (at least now) usin

Re: Tapestry-Spring Security & Page Testing

2009-07-16 Thread Juan E. Maya
I came to the conclusion (maybe i am wrong) that this is not possible (at least now) using Spring-security. Sadly this is a deal breaker for me :S The nice thing is that thanks to tapestry modularity it was extremely easy to replace the security to use Chennilleit Access! I am really looking forwa

Tapestry-Spring Security & Page Testing

2009-07-15 Thread Juan E. Maya
Does anybody has found a way to unit test pages of an application that use Tapestry-Spring Security? I always get the error: java.lang.RuntimeException: java.io.IOException: Can only process HttpServletRequest at org.apache.tapestry5.test.PageTester.renderPage(PageTester.java:200)