From: Gary P. <gpa...@gm...> - 2009-08-05 07:18:00
|
I should mention that ideally I'm looking to remove Algorithm.get() and access it in a more dependency injected fashion. In other words, have the Algorithm given to me. Regards, Gary On Wednesday 05 August 2009 09:14:06 Gary Pampara wrote: > Hi all, > > The static access to Algorithm.get() is seriously annoying as it breaks > testability of the code. > > I'm asking for suggestions on how to resolve this correctly. I know that > the method is convenient, but it's not a healthy relationship to have. At > the moment, I'm struggling to test the updates to ControlParameter due to > the tight coupling that the Algorithm.get() method introduces. > > Looking forward to you ideas! > > Regards, > Gary > > --------------------------------------------------------------------------- >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > cilib-devel mailing list > cil...@li... > https://lists.sourceforge.net/lists/listinfo/cilib-devel |