Disable some tests failing on mt due to #10539/#10552.
authorZoltan Varga <vargaz@gmail.com>
Sat, 9 Mar 2013 00:13:11 +0000 (01:13 +0100)
committerZoltan Varga <vargaz@gmail.com>
Sat, 9 Mar 2013 00:13:24 +0000 (01:13 +0100)
mcs/class/corlib/Test/System.Reflection/MethodBaseTest.cs
mcs/class/corlib/Test/System.Reflection/MethodInfoTest.cs
mcs/class/corlib/Test/System/DelegateTest.cs

index 7aa734151cfeffa890fa20bfbd6f43584aa27e0d..246844a32b125dcf4ff90a7acfdf67256aad3697 100644 (file)
@@ -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);
index 722d83d5dac99a9a5a892d5f3f3ba378e6322e92..0410b4e0d8f23b27a7bf0791435c6c6d780d5489 100644 (file)
@@ -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");
index 72360ca8bad720646c5f205a6a312367063e95f2..4fa97245ad2c75ca606e19c159f62fa40ea1a962 100644 (file)
@@ -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 (