What happens with nunit in mono 2.4?
José María, Simple Option
josemaria at simpleoption.com
Fri Feb 20 08:31:15 PST 2009
Hi.
I'm not using mono 2.4 because nunit doesn't works in my system.
I've mono-merged the last version of the repository, I've installed the
port
of mono and then:
> nunit-console2 Soros.Dominio.Test.dll
NUnit version 2.4.8
Copyright (C) 2002-2007 Charlie Poole.
Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A.
Vorontsov.
Copyright (C) 2000-2002 Philip Craig.
All Rights Reserved.
Runtime Environment -
OS Version: Unix 7.1.0.0
CLR Version: 2.0.50727.1433 ( Mono 2.4 )
Unhandled Exception:
System.ArgumentOutOfRangeException: Index is less than 0 or more than or
equal to the list count.
Parameter name: index
0
at System.Collections.ArrayList.ThrowNewArgumentOutOfRangeException
(System.String name, System.Object actual, System.String message)
[0x00000] in
/usr/ports/lang/mono/work/mono-2.4/mcs/class/corlib/System.Collections/ArrayList.cs:3258
at System.Collections.ArrayList.get_Item (Int32 index) [0x00013] in
/usr/ports/lang/mono/work/mono-2.4/mcs/class/corlib/System.Collections/ArrayList.cs:2649
at System.Diagnostics.ProcessModuleCollection.get_Item (Int32 index)
[0x00000] in
/usr/ports/lang/mono/work/mono-2.4/mcs/class/System/System.Diagnostics/ProcessModuleCollection.cs:63
at System.Diagnostics.Process.get_MainModule () [0x00000] in
/usr/ports/lang/mono/work/mono-2.4/mcs/class/System/System.Diagnostics/Process.cs:232
at (wrapper remoting-invoke-with-check)
System.Diagnostics.Process:get_MainModule ()
at NUnit.Util.DomainManager.CreateDomain (NUnit.Core.TestPackage
package) [0x0019f] in
/usr/ports/lang/mono/work/mono-2.4/mcs/nunit24/ClientUtilities/util/Services/DomainManager.cs:105
at NUnit.Util.TestDomain.Load (NUnit.Core.TestPackage package) [0x00011]
in
/usr/ports/lang/mono/work/mono-2.4/mcs/nunit24/ClientUtilities/util/TestDomain.cs:52
>
I get this error for every test I have. They all worked with 2.0 version
of mono.
Cheers.
--
José María Ruiz Aguilera
Simple Option S.L.
Tel: (+34) 951 930 122
Fax: (+34) 951 930 122
pedidos at simpleoption.es
http://www.simpleoption.es
More information about the freebsd-mono
mailing list