Re: Blog: Four Ways to test Expected Exceptions

"David Jeske" <[email protected]> Sun, 3 Aug 2008 12:33:13 -0700
Newsgroups gmane.comp.windows.dotnet.nunit.user,gmane.comp.windows.dotnet.nunit.devel
Message-ID <[email protected]>
On Sun, Aug 3, 2008 at 9:43 AM, Charlie Poole
<[email protected]>wrote:

>  In fact, due to some compiler magic, that does work.
>

Nice, then I should start doing that...

Any chance this works?

[ExpectedException(MyException)] delegate { db.do_something(); }

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
Nunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nunit-users