On Fri, 24 Aug 2012 09:32:54 PM Paolo Bizzarri wrote: > Ugh. This solution is a bit ugly, even if I do understand the motivation. > > My suggestion is to > > a) make GUI class an interface. > > b) use a mock/stub in the tests instead of the true GUI.
Fair enough. > I think I can come up with a solution for this, but it requires a > minimum of effort. Will try to work on it on Saturday. Thanks. Beware that I preserved some calls that involve the mapViewer in case the game logic is dependent on getActiveUnit(), but this being a quick hack, I never investigated that further either. Cheers, Mike Pope
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Freecol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freecol-developers
