Author: jbevain
Date: 2008-02-19 09:11:54 -0500 (Tue, 19 Feb 2008)
New Revision: 96147

Modified:
   
trunk/mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_New.cs
Log:
we pass those tests

Modified: 
trunk/mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_New.cs
===================================================================
--- 
trunk/mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_New.cs  
    2008-02-19 14:11:37 UTC (rev 96146)
+++ 
trunk/mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_New.cs  
    2008-02-19 14:11:54 UTC (rev 96147)
@@ -197,7 +197,6 @@
                }
 
                [Test]
-               [Category ("NotWorking")]
                public void NewFakeAnonymousType ()
                {
                        var n = Expression.New (
@@ -212,44 +211,40 @@
                }
 
                [Test]
-               [Category ("NotWorking")]
                [ExpectedException (typeof (ArgumentNullException))]
                public void NullMember ()
                {
-                       var n = Expression.New (
+                       Expression.New (
                                typeof (FakeAnonymousType).GetConstructor (new 
[] { typeof (string) }),
                                new [] { "Foo".ToConstant () },
                                new MemberInfo [] { null });
                }
 
                [Test]
-               [Category ("NotWorking")]
                [ExpectedException (typeof (ArgumentException))]
                public void MemberArgumentMiscount ()
                {
-                       var n = Expression.New (
+                       Expression.New (
                                typeof (FakeAnonymousType).GetConstructor (new 
[] { typeof (string) }),
                                new [] { "Foo".ToConstant () },
                                new [] { typeof (FakeAnonymousType).GetProperty 
("Foo"), typeof (FakeAnonymousType).GetProperty ("Bar") });
                }
 
                [Test]
-               [Category ("NotWorking")]
                [ExpectedException (typeof (ArgumentException))]
                public void MemberArgumentMismatch ()
                {
-                       var n = Expression.New (
+                       Expression.New (
                                typeof (FakeAnonymousType).GetConstructor (new 
[] { typeof (string) }),
                                new [] { "Foo".ToConstant () },
                                new [] { typeof (FakeAnonymousType).GetProperty 
("Gazonk") });
                }
 
                [Test]
-               [Category ("NotWorking")]
                [ExpectedException (typeof (ArgumentException))]
                public void MemberHasNoGetter ()
                {
-                       var n = Expression.New (
+                       Expression.New (
                                typeof (FakeAnonymousType).GetConstructor (new 
[] { typeof (string) }),
                                new [] { "Foo".ToConstant () },
                                new [] { typeof (FakeAnonymousType).GetProperty 
("Tzap") });

_______________________________________________
Mono-patches maillist  -  Mono-patches@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to