Ignore two more tests with [Category(NotWorking)] for NET_2_1/nunitlite
authorSebastien Pouliot <sebastien@xamarin.com>
Fri, 23 Mar 2012 14:14:17 +0000 (10:14 -0400)
committerSebastien Pouliot <sebastien@xamarin.com>
Fri, 23 Mar 2012 14:15:35 +0000 (10:15 -0400)
mcs/class/corlib/Test/System.Security.Cryptography/RijndaelManagedTest.cs

index 6ffe942c6353f64de96f5ad4bcf55e726992afbc..7d923a5b0aad2dc9e3aa30253a1581b2c95dfaaa 100644 (file)
@@ -303,6 +303,7 @@ namespace MonoTests.System.Security.Cryptography {
                        CreateEncryptor_IV (size);
                }
 
+#if !NET_2_1
                [Test]
                [ExpectedException (typeof (CryptographicException))]
                // Rijndael is the only implementation that has
@@ -313,6 +314,7 @@ namespace MonoTests.System.Security.Cryptography {
                        int size = aes.BlockSize; // 8 times too big
                        CreateEncryptor_IV (size);
                }
+#endif
 
                private ICryptoTransform CreateDecryptor_IV (int size)
                {
@@ -349,7 +351,7 @@ namespace MonoTests.System.Security.Cryptography {
                        int size = (aes.BlockSize >> 3);
                        CreateDecryptor_IV (size);
                }
-
+#if !NET_2_1
                [Test]
                [ExpectedException (typeof (CryptographicException))]
                // Rijndael is the only implementation that has
@@ -360,5 +362,6 @@ namespace MonoTests.System.Security.Cryptography {
                        int size = aes.BlockSize; // 8 times too big
                        CreateDecryptor_IV (size);
                }
+#endif
        }
 }