Author: jbevain
Date: 2008-02-04 10:15:16 -0500 (Mon, 04 Feb 2008)
New Revision: 94750
Modified:
trunk/mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_New.cs
Log:
complete test
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-04 15:10:06 UTC (rev 94749)
+++
trunk/mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_New.cs
2008-02-04 15:15:16 UTC (rev 94750)
@@ -112,12 +112,14 @@
}
[Test]
- [Category ("NotWorking")]
public void NewBar ()
{
var n = Expression.New (typeof (Bar));
Assert.IsNotNull (n.Constructor);
+ Assert.IsNotNull (n.Arguments);
+ Assert.IsNull (n.Members); // wrong doc
+
Assert.AreEqual ("new Bar()", n.ToString ());
n = Expression.New (typeof (Bar).GetConstructor
(Type.EmptyTypes));
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches