Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRolf Bjarne Kvinge <rolf@xamarin.com>2017-11-23 23:05:24 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2017-11-23 23:05:24 +0300
commitc2fceeaf395638c9f016b04c6f415358233e8892 (patch)
tree6a9cc94e5d7f3ddca047fd15dc970b8fe9fd74e5 /mcs/class/System.Core
parent19a7107a03a56181f170c366b2bfe82bec539baf (diff)
[tests] Adjust ifdefs to get the expected behavior for Xamarin.Mac/Modern tests. (#6086)
Diffstat (limited to 'mcs/class/System.Core')
-rw-r--r--mcs/class/System.Core/Test/System.Security.Cryptography/AesManagedTest.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/System.Core/Test/System.Security.Cryptography/AesManagedTest.cs b/mcs/class/System.Core/Test/System.Security.Cryptography/AesManagedTest.cs
index 206655acc43..19e7047f587 100644
--- a/mcs/class/System.Core/Test/System.Security.Cryptography/AesManagedTest.cs
+++ b/mcs/class/System.Core/Test/System.Security.Cryptography/AesManagedTest.cs
@@ -37,7 +37,7 @@ namespace MonoTests.System.Security.Cryptography {
public class AesManagedTest {
[Test]
-#if !MONOTOUCH
+#if !MONOTOUCH && !XAMMAC
[ExpectedException (typeof (CryptographicException))]
#endif
public void CFB_NotAllowed ()
@@ -61,7 +61,7 @@ namespace MonoTests.System.Security.Cryptography {
}
[Test]
-#if !MONOTOUCH
+#if !MONOTOUCH && !XAMMAC
[ExpectedException (typeof (CryptographicException))]
#endif
public void OFB_NotAllowed ()