Andrea Aime ha scritto: > No, unfortunately it's not possible. With junit4 I did not manage to > get it fully working (one time tear down I cannot define,
More precisely, I cannot define a one time tear down method that calls non static methods (template methods in the subclasses). Yet, as far as we're concerned today, that is not needed, the template methods are called only by setup. So the answer is yes, with the current situation, it's doable with junit4. Of course the subclass has to say it's ok to keep the test fixture around for multiple tests, there is a method the subclass has to override and return "true" to say it's ok. Cheers Andrea ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
