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
<[email protected]> wrote:
> 2009/3/1 Lukasz Lenart <[email protected]>:
>> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to