Mark tests as not working under TARGET_JVM
[mono.git] / mcs / class / System / Test / System.Security.Cryptography / AsnEncodedDataTest.cs
index 98e0493f96c373da3ce5db7f5f7d623f46fc386f..bf3627336f82f5f71aa938597dd7fd4db0b59a26 100644 (file)
@@ -38,8 +38,11 @@ using System.Security.Cryptography.X509Certificates;
 namespace MonoTests.System.Security.Cryptography {
 
        [TestFixture]
+#if TARGET_JVM
+       [Ignore ("The class System.Security.Cryptography.AsnEncodedData - is not supported")]
+#endif
        public class AsnEncodedDataTest {
-
+#if !TARGET_JVM
                static byte[] asnNullBytes = { 0x05, 0x00 };
                static string asnNullString = "05 00";
                static byte[] asnLongBytes = { 0x30,0x5C,0x02,0x55,0x2D,0x58,0xE9,0xBF,0xF0,0x31,0xCD,0x79,0x06,0x50,0x5A,0xD5,0x9E,0x0E,0x2C,0xE6,0xC2,0xF7,0xF9,0xD2,0xCE,0x55,0x64,0x85,0xB1,0x90,0x9A,0x92,0xB3,0x36,0xC1,0xBC,0xEA,0xC8,0x23,0xB7,0xAB,0x3A,0xA7,0x64,0x63,0x77,0x5F,0x84,0x22,0x8E,0xE5,0xB6,0x45,0xDD,0x46,0xAE,0x0A,0xDD,0x00,0xC2,0x1F,0xBA,0xD9,0xAD,0xC0,0x75,0x62,0xF8,0x95,0x82,0xA2,0x80,0xB1,0x82,0x69,0xFA,0xE1,0xAF,0x7F,0xBC,0x7D,0xE2,0x7C,0x76,0xD5,0xBC,0x2A,0x80,0xFB,0x02,0x03,0x01,0x00,0x01 };
@@ -281,6 +284,7 @@ namespace MonoTests.System.Security.Cryptography {
                        Assert.AreEqual ("Subject Alternative Name", aed.Oid.FriendlyName, "FriendlyName");
                        // anyway the answer is most probably CryptoAPI
                }
+#endif
        }
 }