Yeah, I have to find a better way to test those dumb URLs with weird
protocols. Is there a problem running with "pertest"?

musachy

On Thu, Mar 12, 2009 at 6:26 PM, Lukasz Lenart
<lukasz.len...@googlemail.com> wrote:
> 2009/3/1 Lukasz Lenart <lukasz.len...@googlemail.com>:
>> I found solution, just set fork mode to pretest, like below
>>
>> <forkMode>pertest</forkMode>
>>
>> but I think it isn't a real solution.
>
> The real problem is with URLUtilTest.setUp(), in such method
> URL.setURLStreamHandlerFactory() is called to setup some test factory,
> which always return null. All test executed after URLUtilTest and
> which required access to URL will fail ;-(
>
> To solve that problem, the forkMode has to be setup as above or such
> test has to be excluded from Surefire run.
>
> What do you think?
>
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to