Przeglądaj źródła

Disable some tests failing on mt due to #10539/#10552.

Zoltan Varga 13 lat temu
rodzic
commit
6fc1c8daee

+ 3 - 0
mcs/class/corlib/Test/System.Reflection/MethodBaseTest.cs

@@ -401,6 +401,9 @@ namespace MonoTests.System.Reflection
 		}
 
 		[Test]
+#if MOBILE
+		[Category ("NotWorking")] // #10552
+#endif
 		public void MutableString ()
 		{
 			var m = typeof (MethodBaseTest).GetMethod ("UnsafeConversion", BindingFlags.NonPublic | BindingFlags.Static);

+ 3 - 0
mcs/class/corlib/Test/System.Reflection/MethodInfoTest.cs

@@ -710,6 +710,9 @@ namespace MonoTests.System.Reflection
 
 		[Test]
 		[ExpectedException (typeof (ArgumentException))]
+#if MOBILE
+		[Category ("NotWorking")] // #10552
+#endif
 		public void MakeGenericMethodRespectConstraints ()
 		{
 			var m = typeof (MethodInfoTest).GetMethod ("TestMethod");

+ 12 - 0
mcs/class/corlib/Test/System/DelegateTest.cs

@@ -27,6 +27,9 @@ namespace MonoTests.System
 
 
 		[Test] //See bug #372406
+#if MONOTOUCH
+		[Category ("NotWorking")] // #10539
+#endif
 		public void CreateDelegate1_Method_Private_Instance ()
 		{
 			C c = new C ();
@@ -937,6 +940,9 @@ namespace MonoTests.System
 		}
 
 		[Test]
+#if MONOTOUCH
+		[Category ("NotWorking")] // #10539
+#endif
 		public void Virtual ()
 		{
 			// Delegate with abstract method, no target
@@ -1027,6 +1033,9 @@ namespace MonoTests.System
 		}
 
 		[Test] // #617161
+#if MONOTOUCH
+		[Category ("NotWorking")] // #10539
+#endif
 		public void ClosedOverNullReferenceStaticMethod ()
 		{
 			var del = (Func<long?,long?>) Delegate.CreateDelegate (
@@ -1048,6 +1057,9 @@ namespace MonoTests.System
 		}
 
 		[Test] // #475962
+#if MONOTOUCH
+		[Category ("NotWorking")] // #10539
+#endif
 		public void ClosedOverNullReferenceInstanceMethod ()
 		{
 			var action = (Action) Delegate.CreateDelegate (