Bugs item #1020718, was opened at 2004-09-01 16:50
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1020718&group_id=31650

Category: Tasks
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: Gary Feldman (garyfx)
Assigned to: Nobody/Anonymous (nobody)
Summary: NUnit2 task doesn't catch unload exceptions

Initial Comment:
If the domain loaded by the NUnit2 task throws an
exception when unloading, the exception isn't caught by
NAnt.  This can happen, for example, when testing a
server that doesn't shut down a listening thread,
causing a "cannot unwind stack" exception from Unload.
 This doesn't happen in NUnit proper, because the
Unload there is wrapped in a try-except block.

I've patched it for myself by patching NUnit2Task.cs,
but I'm not sure whether the best place for it is here
or in NUnit2TestDomain.cs.  I'd be glad to submit a
patch for either place.

Gary




----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1020718&group_id=31650


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to