[Mono-dev] OT: Mac OSX Tester needed For an NUnit bug

Jamie Cansdale jamie.cansdale at testdriven.net
Wed Mar 14 17:16:23 EDT 2007


Hi Charlie,

> I've heard anecdotally that it no longer occurs. But if there's someone here
> who could verify whether it really exists in any of the later versions of
> NUnit, it would be helpful.
>
Here's the result of NUnit 2.2.9 running on Mono 1.2.3.1/OS X 10.4.8:

----------
unknown-00-17-f2-00-70-80:~/HoldingBay/bin intelmac$ mono
nunit-console.exe csharp-sample.dll
NUnit version 2.2.9
Copyright (C) 2002-2003 James W. Newkirk, Michael C. Two, Alexei A.
Vorontsov, Charlie Poole.
Copyright (C) 2000-2003 Philip Craig.
All Rights Reserved.

OS Version: Unix 8.8.1.0    Mono Version: 1.1.4322.2032

.F.F.F.F.N
Tests run: 4, Failures: 4, Not run: 1, Time: 0.477 seconds

Failures:
1) NUnit.Samples.SimpleCSharpTest.Add : Expected Failure.
       expected: <6>
        but was: <5>
 at NUnit.Samples.SimpleCSharpTest.Add () [0x00000]
 at <0x00000> <unknown method>
 at (wrapper managed-to-native)
System.Reflection.MonoMethod:InternalInvoke (object,object[])
 at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000]

2) NUnit.Samples.SimpleCSharpTest.DivideByZero :
System.DivideByZeroException : Division by zero
 at NUnit.Samples.SimpleCSharpTest.DivideByZero () [0x00000]
 at <0x00000> <unknown method>
 at (wrapper managed-to-native)
System.Reflection.MonoMethod:InternalInvoke (object,object[])
 at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000]

3) NUnit.Samples.SimpleCSharpTest.Equals : Expected Failure (Integer)
       expected: <12>
        but was: <13>
 at NUnit.Samples.SimpleCSharpTest.Equals () [0x00000]
 at <0x00000> <unknown method>
 at (wrapper managed-to-native)
System.Reflection.MonoMethod:InternalInvoke (object,object[])
 at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000]

4) NUnit.Samples.SimpleCSharpTest.ExpectAnException : Expected:
System.InvalidOperationException but was System.InvalidCastException
 at NUnit.Samples.SimpleCSharpTest.ExpectAnException () [0x00000]
 at <0x00000> <unknown method>
 at (wrapper managed-to-native)
System.Reflection.MonoMethod:InternalInvoke (object,object[])
 at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000]

Tests not run:
1) NUnit.Samples.SimpleCSharpTest.IgnoredTest : ignored test
----------

It looks like it's working fine now. I've submitted this output to the
bug but haven't closed it yet. I'll leave that to you.

Just one comment. I don't think the following line in the output is very clear:
"OS Version: Unix 8.8.1.0    Mono Version: 1.1.4322.2032"

It's actually running Mono 1.2.3.1.  The Runtime Version is
'1.1.4322.2032'. Has this output changed at all in the latest NUnit
2.4? I did notice some code that finds the real Mono version in the
source. It this used anywhere?

Thanks, Jamie.

--
http://www.testdriven.net
http://weblogs.asp.net/nunitaddin

On 3/13/07, Charlie Poole <charlie at pooleconsulting.com> wrote:
> Hi folks,
>
> I have this rather ancient bug that applies NUnit running on OS/X
> http://sourceforge.net/tracker/index.php?func=detail&aid=1011452&group_id=10
> 749&atid=110749
>
> I've heard anecdotally that it no longer occurs. But if there's someone here
> who could verify whether it really exists in any of the later versions of
> NUnit, it would be helpful.
>
> Charlie
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>



More information about the Mono-devel-list mailing list