[EMAIL PROTECTED] writes:
>Henning,
>I do two kinds of cactus tests.
>1) I start up turbine in my web.xml so taht it is running for all my cactus
>tests that need it (mostly testing actions etc).
>2) I start up turbine in my cactus test by doing a Turbine.init() in the
>setUp mehthod (mostly testing services etc).
>It looks actually like I can do:
>rundata = TurbineRunDataService.getRunData(request,response,config)
>in place of my old
>rundata = RunDataFactory.getRunData(...);
Yep. That was the idea. :-) If you look at the Factory code, it does
exactly this when the service is running and, if not, drops back so
some self rolled RunData object.
>However, based on this, I think I can drop my concern! I think the cleanup
>work you have been doing is fantastic, and the less code, the better!
>I will change to TurbineRunDataService and see how it goes, and then update
>the Wiki page.
Cool. Remember that the Factory will be around for at least the 2.3 release.
Regards
Henning
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH
[EMAIL PROTECTED] +49 9131 50 654 0 http://www.intermeta.de/
Java, perl, Solaris, Linux, xSP Consulting, Web Services
freelance consultant -- Jakarta Turbine Development -- hero for hire
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]