[Mono-dev] Newly broken WinForms unit tests

Steven Boswell II ulatekh at yahoo.com
Sun Jul 29 13:37:26 UTC 2012

I've been running WinForms unit-tests with the following:

(cd mcs/class/Managed.Windows.Forms && make check)

Should I be doing something else?

 From: James Bellinger <james at illusorystudios.com>
To: Steven Boswell II <ulatekh at yahoo.com> 
Sent: Saturday, July 28, 2012 4:17 PM
Subject: Re: [Mono-dev] Newly broken WinForms unit tests

Mono doesn't use the newest NUnit. A good way to accomplish the same thing is

bool threw = false;
try { ... }
catch (MyException) { threw = true; }

On 7/28/2012 6:40 PM, Steven Boswell II wrote:

My copy of Mono only has NUnit 2.4, i.e. the mcs/nunit24 directory.
>My copy of mcs/nunit24/NUnitFramework/framework/Assert.cs does not have any Throws() methods.
>My copy of MenuTest doesn't call Throws().
>"git pull" says "Already up-to-date."
>nunit.framework.dll seems to be installed on my machine via MonoDevelop.
>In the mono source directory, all I could find was external/cecil//Test/libs/nunit-2.5.10/nunit.framework.dll, and that doesn't appear to be built from source.
>Am I in an evil parallel universe again? :-)
>Steven Boswell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120729/9ba7b9c3/attachment.html>

More information about the Mono-devel-list mailing list