[Mono-list] Problems with NUnit2
Per Arneng
pt99par@student.bth.se
Thu, 20 Mar 2003 15:49:16 +0100
--------------Boundary-00=_4IY1UC50VYNOJ74E5JCE
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi!
I have been trying the last couple of days to get some testcases i have=20
written to work on linux/mono. They work with nunit in windows with .NET =
sdk=20
but not in linux/mono. I really need to get the testcases running since t=
hat=20
will help me alot with making the mail API's work the same on mono and .N=
ET=20
sdk.
Here is the source code that doesnt work with nunit for me:
http://hus11.rsn.bth.se/~pure/smtpunit.tar.gz
-THE ERROR OUTPUT IS ATTACHED IN THE TEXT FILE-
Best regards
Per Arneng
--------------Boundary-00=_4IY1UC50VYNOJ74E5JCE
Content-Type: text/plain;
charset="us-ascii";
name="nunit2_output_error.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="nunit2_output_error.txt"
NUnit version 2.0.9
Copyright (C) 2002 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov.
Copyright (C) 2000-2002 Philip Craig.
All Rights Reserved.
Exception in base domain
Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
Server stack trace:
in <0x00107> 00 System.Reflection.MonoCMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
in <0x00247> 00 System.Runtime.Serialization.ObjectRecord:LoadData (System.Runtime.Serialization.ObjectManager,System.Runtime.Serialization.ISurrogateSelector,System.Runtime.Serialization.StreamingContext)
in <0x00143> 00 System.Runtime.Serialization.ObjectManager:DoFixups ()
in <0x0004e> 00 System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadNextObject (System.IO.BinaryReader)
in <0x000d5> 00 System.Runtime.Serialization.Formatters.Binary.ObjectReader:ReadObjectGraph (System.IO.BinaryReader,bool,System.Runtime.Remoting.Messaging.HeaderHandler)
in <0x00243> 00 System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Deserialize (System.IO.Stream,System.Runtime.Remoting.Messaging.HeaderHandler)
in <0x0001d> 00 System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Deserialize (System.IO.Stream)
in <0x00074> 00 System.Runtime.Remoting.Channels.CADSerializer:DeserializeObject (System.IO.MemoryStream)
in <0x00069> 00 System.Runtime.Remoting.Messaging.CADMethodReturnMessage:GetArguments ()
in <0x000ab> 00 System.Runtime.Remoting.Messaging.MethodResponse:.ctor (System.Runtime.Remoting.Messaging.IMethodCallMessage,System.Runtime.Remoting.Messaging.CADMethodReturnMessage)
in <0x00284> 00 System.Runtime.Remoting.Channels.CrossAppDomainSink:SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage)
Exception rethrown at [0]:
---> System.Runtime.Serialization.SerializationException: No element named ClassName could be found.
in <0x000ad> 00 System.Runtime.Serialization.SerializationInfo:GetValue (string,System.Type)
in <0x00022> 00 System.Runtime.Serialization.SerializationInfo:GetString (string)
in <0x00088> 00 System.Exception:.ctor (System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
in <0x0002e> 00 System.IO.FileNotFoundException:.ctor (System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
in (unmanaged) /usr/bin/mono [0x80a2c6e]
in (unmanaged) /usr/bin/mono(mono_runtime_invoke+0x27) [0x80c2051]
in (unmanaged) /usr/bin/mono(mono_runtime_invoke_array+0x1a0) [0x80c2c34]
in (unmanaged) /usr/bin/mono [0x80c80ed]
in <0x000a3> 00 System.Reflection.MonoCMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
--- End of inner exception stack trace ---
in <0x000bc> 00 System.Runtime.Remoting.Proxies.RealProxy:PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Messaging.IMessage,System.Exception&,object[]&)
in (unmanaged) 07 System.AppDomain:DoCallBack (System.CrossAppDomainDelegate)
in <0x00004> 07 System.AppDomain:DoCallBack (System.CrossAppDomainDelegate)
in <0x0012e> 00 NUnit.Framework.TestDomain:MakeRemoteTestRunner (System.IO.FileInfo,System.AppDomain)
in <0x000a9> 00 NUnit.Framework.TestDomain:Load (string)
in <0x000f9> 00 NUnit.Framework.TestDomain:Load (string)
in <0x000dc> 00 NUnit.Console.ConsoleUi:MakeTestFromCommandLine (NUnit.Framework.TestDomain,NUnit.Util.ConsoleOptions)
in <0x00201> 00 NUnit.Console.ConsoleUi:Main (string[])
--------------Boundary-00=_4IY1UC50VYNOJ74E5JCE--