[Mono-devel-list] NUnit2 conversion of tests in System.Data assembly

ville vi64pa at kolumbus.fi
Wed Mar 19 12:05:02 EST 2003


I just cant figure out what should I do to run these System.Data tests with 
NUnit2. Can you help me, please!

In the old days (before nunit2) I just typed make -f makefile.gnu test, but 
now when I type make -f makefile test it just compiles tests but not run the 

and even if i try to type: mono ../../../nunit20/nunit-console.exe 
data_linux_args.dll it give me lots of errors:

---> System.Runtime.Serialization.SerializationException: No element named 
ClassName could be found.
in <0x000ad> 00 System.Runtime.Serialization.SerializationInfo:GetValue 
in <0x00022> 00 System.Runtime.Serialization.SerializationInfo:GetString 
in <0x00088> 00 System.Exception:.ctor 
in <0x0002e> 00 System.IO.FileNotFoundException:.ctor 
in (unmanaged) mono [0x80a0962]
in (unmanaged) mono(mono_runtime_invoke+0x27) [0x80bf7b5]
in (unmanaged) mono(mono_runtime_invoke_array+0x198) [0x80c0386]
in (unmanaged) mono [0x80c56be]
in <0x000a3> 00 System.Reflection.MonoCMethod:Invoke 
--- End of inner exception stack trace ---

in <0x000bc> 00 System.Runtime.Remoting.Proxies.RealProxy:PrivateInvoke 
in (unmanaged) 07 System.AppDomain:DoCallBack (System.CrossAppDomainDelegate)
in <0x00004> 07 System.AppDomain:DoCallBack (System.CrossAppDomainDelegate)
in <0x0012e> 00 NUnit.Framework.TestDomain:MakeRemoteTestRunner 
in <0x000a9> 00 NUnit.Framework.TestDomain:Load (string)
in <0x000f9> 00 NUnit.Framework.TestDomain:Load (string)
in <0x000dc> 00 NUnit.Console.ConsoleUi:MakeTestFromCommandLine 
in <0x00201> 00 NUnit.Console.ConsoleUi:Main (string[])

On Monday 17 March 2003 01:44, Martin Willemoes Hansen wrote:
> Hi!
> I Converted the Tests in the System.Data assembly to NUnit2.
> System.Data.SqlTypes/SqlInt16Test.cs
> System.Data.SqlTypes/SqlInt64Test.cs
> System.Data/DataTableTest.cs
> Did not work for me though :(
> Results of the rest of the tests:
>         Tests run: 403, Failures: 94, Not run: 0, Time: 7.10179 seconds
> Is TheTests.cs used for anything? Seems old to me.
> Ill commit tomorrow sometime if nobody objects.

More information about the Mono-devel-list mailing list