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

Reply via email to