Unhandled exception handling tests

"Bob Nadler" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <[email protected]>
I'm trying to write some unit tests for a wrapper class that handles
Application.ThreadException and AppDomain.CurrentDomain.UnhandledException.
If I throw an exception, the test of course fails. If I use the
ExpectedExceptionAttribute, my wrapper class never sees the exception.

Any ideas on a solution?

Thanks,
Bob

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Nunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nunit-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.