[Mono-list] NUnit support for generics?
Kamil Skalski
kamil.skalski at gmail.com
Wed Sep 21 13:14:43 EDT 2005
>
> [awaddell at AWLNX GetHostByNameNUnitTest]$ mcs -target:library
> -out:GetHostByNameNUnitTest.dll -reference:nunit.framework Class1.cs
Strange, I get
t.cs(16,5): error CS0117: `System.Net.Dns' does not contain a
definition for `GetHostEntry'
and indeed there is no GetHostEntry in sources of System.Net
>
> Failures:
> 1) GetHostByNameNUnitTest.Class1.TestDns : System.NullReferenceException
> : Object reference not set to an instance of an object
> in <0x00000> <unknown method>
> in (wrapper managed-to-native) System.Net.Dns:GetHostByName_internal
> (string,string&,string[]&,string[]&)
Did you try my patch and run test using nunit-console2?
--
Kamil Skalski
http://nazgul.omega.pl
More information about the Mono-list
mailing list