From: SourceForge.net <no...@so...> - 2013-02-27 16:29:03
|
Bugs item #3606233, was opened at 2013-02-27 08:29 Message generated for change (Tracker Item Submitted) made by dtn-cfl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377768&aid=3606233&group_id=23187 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: Java 1.3 Status: Open Resolution: None Priority: 5 Private: No Submitted By: David North (dtn-cfl) Assigned to: Nobody/Anonymous (nobody) Summary: Static methods on XMLUnit are problematic Initial Comment: The static methods such as XMLUnit.setIngoreWhitespace are a problem. We have a large suite of unit tests and run them in parallel, with several different threads running tests at any one time. If a test wants to ignore whitespace and another does not, they cannot be run in parallel as the static state manipulated by these methods is global. Would it be possible to re-organise XMLUnit so that a non-static mode of operation was supported, with some kind of builder/factory containing this state instead so each thread could have its own instance? I am happy to attempt a patch for this if it sounds acceptable. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=377768&aid=3606233&group_id=23187 |