Browse Source

passing those

svn path=/trunk/mcs/; revision=104305
Jb Evain 17 years ago
parent
commit
74cca2cfcc

+ 4 - 2
mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_Equal.cs

@@ -150,7 +150,6 @@ namespace MonoTests.System.Linq.Expressions
 		}
 
 		[Test]
-		[Category ("NotWorking")]
 		public void NullableInt32Equal ()
 		{
 			var l = Expression.Parameter (typeof (int?), "l");
@@ -164,10 +163,11 @@ namespace MonoTests.System.Linq.Expressions
 			Assert.IsFalse (eq (1, null));
 			Assert.IsFalse (eq (1, 2));
 			Assert.IsTrue (eq (1, 1));
+			Assert.IsFalse (eq (null, 0));
+			Assert.IsFalse (eq (0, null));
 		}
 
 		[Test]
-		[Category ("NotWorking")]
 		public void NullableInt32NotEqual () // have to move that to its own file
 		{
 			var l = Expression.Parameter (typeof (int?), "l");
@@ -181,6 +181,8 @@ namespace MonoTests.System.Linq.Expressions
 			Assert.IsTrue (neq (1, null));
 			Assert.IsTrue (neq (1, 2));
 			Assert.IsFalse (neq (1, 1));
+			Assert.IsTrue (neq (null, 0));
+			Assert.IsTrue (neq (0, null));
 		}
 	}
 }

+ 0 - 1
mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_GreaterThan.cs

@@ -134,7 +134,6 @@ namespace MonoTests.System.Linq.Expressions
 		}
 
 		[Test]
-		[Category ("NotWorking")]
 		public void NullableInt32GreaterThan ()
 		{
 			var l = Expression.Parameter (typeof (int?), "l");

+ 0 - 1
mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_GreaterThanOrEqual.cs

@@ -108,7 +108,6 @@ namespace MonoTests.System.Linq.Expressions
 		}
 
 		[Test]
-		[Category ("NotWorking")]
 		public void NullableInt32GreaterThanOrEqual ()
 		{
 			var l = Expression.Parameter (typeof (int?), "l");

+ 0 - 1
mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_LessThan.cs

@@ -108,7 +108,6 @@ namespace MonoTests.System.Linq.Expressions
 		}
 
 		[Test]
-		[Category ("NotWorking")]
 		public void NullableInt32LessThan ()
 		{
 			var l = Expression.Parameter (typeof (int?), "l");

+ 0 - 1
mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_LessThanOrEqual.cs

@@ -108,7 +108,6 @@ namespace MonoTests.System.Linq.Expressions
 		}
 
 		[Test]
-		[Category ("NotWorking")]
 		public void NullableInt32LessThanOrEqual ()
 		{
 			var l = Expression.Parameter (typeof (int?), "l");