DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=37241>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37241 ------- Additional Comments From [EMAIL PROTECTED] 2005-10-27 17:46 ------- Created an attachment (id=16817) --> (http://issues.apache.org/bugzilla/attachment.cgi?id=16817&action=view) An elaborate hack around bug#37241 using a custom JUnitResultFormatter This attachment contains four files: (1) org.example.TimeoutTest: a test that can timeout (2) org.example.TimeoutTestSetup: a TestSetup that leaves a trace if it's tearDown method isn't executed (3) org.example.TimeoutTestListener: an implementation of JUnitResultFormatter that calls the tearDown method of the TestSetup if a timeout occurs. (4) build.xml: a buildfile for compiling and running the test. NOTE that before this works you need to copy junit.jar, ant.jar and ant-junit.jar to the lib directory. Although it works I am not really satisfied with it, especially the part with the custom TestRunner and TestSuiteLoader, but I have no idea how to solve this better. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]