[tests] Android behaves the same as desktop Mono
authorMarek Habersack <grendel@twistedcode.net>
Thu, 25 Jun 2015 09:25:20 +0000 (11:25 +0200)
committerMarek Habersack <grendel@twistedcode.net>
Wed, 15 Jul 2015 18:45:29 +0000 (20:45 +0200)
The same exceptions are thrown in Xamarin.Android, unlike in Xamarin.iOS which
behaves differently to desktop Mono

mcs/class/System.Core/Test/System.Security.Cryptography/AesManagedTest.cs

index 8cb9b6166cc8612641ebc6b659284068b57e6e89..206655acc43f22fb54ccfe60e1494ed9eeeda9eb 100644 (file)
@@ -37,7 +37,7 @@ namespace MonoTests.System.Security.Cryptography {
        public class AesManagedTest {
                
                [Test]
-#if !MOBILE
+#if !MONOTOUCH
                [ExpectedException (typeof (CryptographicException))]
 #endif
                public void CFB_NotAllowed ()
@@ -61,7 +61,7 @@ namespace MonoTests.System.Security.Cryptography {
                }
                
                [Test]
-#if !MOBILE
+#if !MONOTOUCH
                [ExpectedException (typeof (CryptographicException))]
 #endif
                public void OFB_NotAllowed ()