Re: Blog: Four Ways to test Expected Exceptions

"Charlie Poole" <[email protected]> Sun, 3 Aug 2008 12:47:50 -0700
Newsgroups gmane.comp.windows.dotnet.nunit.user,gmane.comp.windows.dotnet.nunit.devel
Message-ID <008301c8f5a1$d2d2a8a0$6401a8c0@ferrari>
'fraid not.


  _____  

From: David Jeske [mailto:[email protected]] 
Sent: Sunday, August 03, 2008 12:33 PM
To: Charlie Poole
Cc: [email protected]; [email protected]
Subject: Re: [Nunit-users] Blog: Four Ways to test Expected Exceptions


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