[Mono-bugs] [Bug 76928][Nor] New - nunit: nunit tests that use C#
2.0 features do not run properly
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Dec 5 22:06:49 EST 2005
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by matt at use.net.
http://bugzilla.ximian.com/show_bug.cgi?id=76928
--- shadow/76928 2005-12-05 22:06:49.000000000 -0500
+++ shadow/76928.tmp.2077 2005-12-05 22:06:49.000000000 -0500
@@ -0,0 +1,45 @@
+Bug#: 76928
+Product: Mono: Runtime
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: packaging
+AssignedTo: wberrier at novell.com
+ReportedBy: matt at use.net
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: nunit: nunit tests that use C# 2.0 features do not run properly
+
+using NUnit.Framework;
+
+[TestFixture]
+public class Fixture
+{
+ [Test]
+ public void test()
+ {
+ int? value;
+ Assert.IsNull(value);
+ }
+}
+
+gmcs -r:nunit.framework -t:library test.cs
+nunit-console test.dll
+
+
+Actual Results:
+giant crash in native code
+
+Expected Results:
+should run just fine OOTB
+
+
+Additional Information:
+if you copy 2.0-compiled nunit*.dll into the right place and set several
+environment variables to point to said right place, it runs.
More information about the mono-bugs
mailing list