diff options
author | Manuel de la Pena <mandel@microsoft.com> | 2017-10-31 01:57:14 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-11-01 05:18:15 +0300 |
commit | b73480af34f74eb0fbc9c0f6de5065ec500e1b91 (patch) | |
tree | 27957d14d95625b044ceeb7cee232e4727bd8826 /mcs/class/System.Security | |
parent | d49e8c32c4a0460009c6ffe0ab9eb362af8c8670 (diff) |
[Tests] Ensure that only a subset of the System.Security tests are ran on mobile platforms.
(cherry picked from commit 9f696f0eabd9ceea6ef14574fb9498db324ffd18)
Diffstat (limited to 'mcs/class/System.Security')
39 files changed, 80 insertions, 31 deletions
diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/CmsSignerTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/CmsSignerTest.cs index e2aa7f91f4f..1efb80b5c8a 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/CmsSignerTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/CmsSignerTest.cs @@ -26,7 +26,7 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // - +#if !MOBILE using NUnit.Framework; @@ -291,4 +291,4 @@ namespace MonoTests.System.Security.Cryptography.Pkcs { } } } - +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/PkitsTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/PkitsTest.cs index 1722359b388..68476152571 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/PkitsTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/PkitsTest.cs @@ -27,7 +27,7 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // - +#if !MOBILE using NUnit.Framework; @@ -160,4 +160,4 @@ namespace MonoTests.System.Security.Cryptography.Pkcs { } } } - +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/Pkits_4_01_SignatureVerification.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/Pkits_4_01_SignatureVerification.cs index 0bdc6d348a7..67c7da6c929 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/Pkits_4_01_SignatureVerification.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/Pkits_4_01_SignatureVerification.cs @@ -26,7 +26,7 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // - +#if !MOBILE using NUnit.Framework; @@ -236,4 +236,4 @@ namespace MonoTests.System.Security.Cryptography.Pkcs { } } } - +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/SignedCmsTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/SignedCmsTest.cs index d8f1b12fadc..c4792010400 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/SignedCmsTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/SignedCmsTest.cs @@ -26,6 +26,7 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // +#if !MOBILE using NUnit.Framework; @@ -452,4 +453,4 @@ namespace MonoTests.System.Security.Cryptography.Pkcs { } } } - +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/SignerInfoCollectionTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/SignerInfoCollectionTest.cs index 59941a1a752..22089974c6c 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/SignerInfoCollectionTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/SignerInfoCollectionTest.cs @@ -25,7 +25,7 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // - +#if !MOBILE using NUnit.Framework; @@ -134,4 +134,4 @@ namespace MonoTests.System.Security.Cryptography.Pkcs { } } } - +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/SignerInfoTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/SignerInfoTest.cs index 50e6376ac1e..8c842d6ed0a 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/SignerInfoTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/SignerInfoTest.cs @@ -26,7 +26,7 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // - +#if !MOBILE using NUnit.Framework; @@ -102,4 +102,5 @@ namespace MonoTests.System.Security.Cryptography.Pkcs { } } } +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/SubjectIdentifierTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/SubjectIdentifierTest.cs index 1418e8cc460..df5d30f5c11 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/SubjectIdentifierTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Pkcs/SubjectIdentifierTest.cs @@ -26,7 +26,7 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // - +#if !MOBILE using NUnit.Framework; @@ -85,4 +85,4 @@ namespace MonoTests.System.Security.Cryptography.Pkcs { } } } - +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.X509Certificates/X509Certificate2UICas.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.X509Certificates/X509Certificate2UICas.cs index 192ade125cb..b6d50bac356 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.X509Certificates/X509Certificate2UICas.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.X509Certificates/X509Certificate2UICas.cs @@ -25,6 +25,7 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // +#if !MOBILE using NUnit.Framework; @@ -203,4 +204,4 @@ namespace MonoCasTests.System.Security.Cryptography.X509Certificates { } } } - +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.X509Certificates/X509Certificate2UITest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.X509Certificates/X509Certificate2UITest.cs index 4d97499fb16..67bfa6e891b 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.X509Certificates/X509Certificate2UITest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.X509Certificates/X509Certificate2UITest.cs @@ -25,7 +25,7 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // - +#if !MOBILE using NUnit.Framework; @@ -128,4 +128,4 @@ namespace MonoTests.System.Security.Cryptography.X509Certificates { } } } - +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/DSAKeyValueTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/DSAKeyValueTest.cs index 7f7bd03a97d..192c0881f31 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/DSAKeyValueTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/DSAKeyValueTest.cs @@ -6,6 +6,7 @@ // // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com) // +#if !MOBILE using System; using System.Security.Cryptography; @@ -76,3 +77,4 @@ namespace MonoTests.System.Security.Cryptography.Xml { } } } +#endif
\ No newline at end of file diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/DataObjectTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/DataObjectTest.cs index e1bd2cebbd4..ff715a2cc28 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/DataObjectTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/DataObjectTest.cs @@ -8,6 +8,7 @@ // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com) // (C) 2004 Novell Inc. // +#if !MOBILE using System; using System.Security.Cryptography; @@ -190,3 +191,4 @@ namespace MonoTests.System.Security.Cryptography.Xml { } } } +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/DataReferenceTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/DataReferenceTest.cs index ff8ffb6689b..f16fc17dc59 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/DataReferenceTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/DataReferenceTest.cs @@ -27,6 +27,7 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // +#if !MOBILE using System; using System.Security.Cryptography; @@ -51,4 +52,4 @@ namespace MonoTests.System.Security.Cryptography.Xml { } } } - +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/EncryptedXmlTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/EncryptedXmlTest.cs index 6949154ec0b..7ff9beef391 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/EncryptedXmlTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/EncryptedXmlTest.cs @@ -6,7 +6,7 @@ // // Copyright (C) 2006 Novell, Inc (http://www.novell.com) // - +#if !MOBILE using System; using System.Collections; @@ -295,3 +295,4 @@ namespace MonoTests.System.Security.Cryptography.Xml } } } +#endif
\ No newline at end of file diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoNameTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoNameTest.cs index 1c6bf09108c..1a6448a04ba 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoNameTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoNameTest.cs @@ -6,6 +6,7 @@ // // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com) // +#if !MOBILE using System; using System.Security.Cryptography; @@ -73,3 +74,4 @@ namespace MonoTests.System.Security.Cryptography.Xml { } } } +#endif
\ No newline at end of file diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoNodeTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoNodeTest.cs index f0886c90d5f..9643e062c4c 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoNodeTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoNodeTest.cs @@ -6,6 +6,7 @@ // // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com) // +#if !MOBILE using System; using System.Security.Cryptography; @@ -66,3 +67,4 @@ namespace MonoTests.System.Security.Cryptography.Xml { } } } +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoRetrievalMethodTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoRetrievalMethodTest.cs index 554c0a7f810..6226486f2fc 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoRetrievalMethodTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoRetrievalMethodTest.cs @@ -7,6 +7,7 @@ // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com) // Copyright (C) 2005 Novell, Inc (http://www.novell.com) // +#if !MOBILE using System; using System.Security.Cryptography; @@ -82,3 +83,4 @@ namespace MonoTests.System.Security.Cryptography.Xml { } } } +#endif
\ No newline at end of file diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoTest.cs index 9ea85fec06e..e082a50667f 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoTest.cs @@ -7,6 +7,7 @@ // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com) // Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com) // +#if !MOBILE using System; using System.Security.Cryptography; @@ -192,3 +193,4 @@ namespace MonoTests.System.Security.Cryptography.Xml { } } } +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoX509DataTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoX509DataTest.cs index 58cdf2d830e..73c6d01ed1d 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoX509DataTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/KeyInfoX509DataTest.cs @@ -7,6 +7,7 @@ // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com) // Copyright (C) 2005 Novell, Inc (http://www.novell.com) // +#if !MOBILE using System; using System.IO; @@ -339,3 +340,4 @@ namespace MonoTests.System.Security.Cryptography.Xml { } } } +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/RSAKeyValueTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/RSAKeyValueTest.cs index 4a8cdf8e133..e58892f46b2 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/RSAKeyValueTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/RSAKeyValueTest.cs @@ -6,6 +6,7 @@ // // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com) // +#if !MOBILE using System; using System.Security.Cryptography; @@ -72,3 +73,4 @@ namespace MonoTests.System.Security.Cryptography.Xml { } } } +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/ReferenceTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/ReferenceTest.cs index 06dfb70c42f..2dab097c63f 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/ReferenceTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/ReferenceTest.cs @@ -7,6 +7,7 @@ // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com) // (C) 2004 Novell (http://www.novell.com) // +#if !MOBILE using System; using System.Security.Cryptography; @@ -235,3 +236,4 @@ namespace MonoTests.System.Security.Cryptography.Xml { } } } +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/SignatureTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/SignatureTest.cs index 021caf05a9c..6abf3dbe9ba 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/SignatureTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/SignatureTest.cs @@ -7,6 +7,7 @@ // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com) // Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com) // +#if !MOBILE using System; using System.Security.Cryptography; @@ -80,3 +81,4 @@ namespace MonoTests.System.Security.Cryptography.Xml { } } } +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/SignedInfoTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/SignedInfoTest.cs index d96e26fd0b4..604735dad76 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/SignedInfoTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/SignedInfoTest.cs @@ -7,6 +7,7 @@ // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com) // Copyright (C) 2005, 2009 Novell, Inc (http://www.novell.com) // +#if !MOBILE using System; using System.Security.Cryptography; @@ -212,3 +213,4 @@ namespace MonoTests.System.Security.Cryptography.Xml { } } } +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/SignedXmlTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/SignedXmlTest.cs index 0a06e23aa70..b5baf86ebdb 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/SignedXmlTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/SignedXmlTest.cs @@ -7,6 +7,7 @@ // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com) // Copyright (C) 2004-2005, 2008 Novell, Inc (http://www.novell.com) // +#if !MOBILE using System; using System.Globalization; @@ -1769,4 +1770,5 @@ namespace MonoTests.System.Security.Cryptography.Xml { Assert.That (signatureMethodElement.Attributes["Algorithm"].Value, Is.EqualTo (algorithmName)); } } -}
\ No newline at end of file +} +#endif
\ No newline at end of file diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/TransformChainTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/TransformChainTest.cs index 5f9684470e6..aa8740a6c5a 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/TransformChainTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/TransformChainTest.cs @@ -6,6 +6,7 @@ // // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com) // +#if !MOBILE using System; using System.Security.Cryptography; @@ -65,3 +66,4 @@ namespace MonoTests.System.Security.Cryptography.Xml { } } } +#endif
\ No newline at end of file diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/TransformTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/TransformTest.cs index ab9d2bb2e30..4039011575c 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/TransformTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/TransformTest.cs @@ -25,6 +25,7 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // +#if !MOBILE using NUnit.Framework; @@ -82,3 +83,4 @@ namespace MonoTests.System.Security.Cryptography.Xml { } } } +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDecryptionTransformTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDecryptionTransformTest.cs index a2a2c841eb8..5de4d9fff11 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDecryptionTransformTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDecryptionTransformTest.cs @@ -25,7 +25,7 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // - +#if !MOBILE using NUnit.Framework; @@ -68,4 +68,4 @@ namespace MonoTests.System.Security.Cryptography.Xml { } } } - +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigBase64TransformTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigBase64TransformTest.cs index e1a847ae549..9dbb9057ad3 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigBase64TransformTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigBase64TransformTest.cs @@ -7,6 +7,7 @@ // (C) 2002 Motus Technologies Inc. (http://www.motus.com) // (C) 2004 Novell (http://www.novell.com) // +#if !MOBILE using System; using System.IO; @@ -179,3 +180,4 @@ namespace MonoTests.System.Security.Cryptography.Xml { } } } +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigC14NTransformTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigC14NTransformTest.cs index a21c4963003..6e04748f906 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigC14NTransformTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigC14NTransformTest.cs @@ -9,6 +9,7 @@ // (C) 2003 Aleksey Sanin (aleksey@aleksey.com) // (C) 2004 Novell (http://www.novell.com) // +#if !MOBILE using System; using System.IO; @@ -530,3 +531,4 @@ namespace MonoTests.System.Security.Cryptography.Xml { } } } +#endif
\ No newline at end of file diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransformTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransformTest.cs index a3608afc000..2eea71d0ce4 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransformTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigC14NWithCommentsTransformTest.cs @@ -8,6 +8,7 @@ // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com) // Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com) // +#if !MOBILE using System; using System.IO; @@ -407,3 +408,4 @@ namespace MonoTests.System.Security.Cryptography.Xml { "<e1 xmlns=\"http://www.ietf.org\" xmlns:w3c=\"http://www.w3.org\"><e3 xmlns=\"\" id=\"E3\" xml:space=\"preserve\"></e3></e1>"; } } +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigEnvelopedSignatureTransformTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigEnvelopedSignatureTransformTest.cs index 15cfee93d91..8f88ef8a446 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigEnvelopedSignatureTransformTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigEnvelopedSignatureTransformTest.cs @@ -6,6 +6,7 @@ // // (C) 2004 Novell Inc. // +#if !MOBILE using System; using System.IO; @@ -143,3 +144,4 @@ namespace MonoTests.System.Security.Cryptography.Xml { } } } +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigExcC14NTransformTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigExcC14NTransformTest.cs index d14b5ee2802..69e38cf8178 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigExcC14NTransformTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigExcC14NTransformTest.cs @@ -18,6 +18,7 @@ // This file is simply replaced C14N->ExcC14N, and then replaced expected // output XML. So, they are *not* from c14n specification. // +#if !MOBILE using System; @@ -594,4 +595,5 @@ namespace MonoTests.System.Security.Cryptography.Xml { } } } +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigExcC14NWithCommentsTransformTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigExcC14NWithCommentsTransformTest.cs index 9562da1864e..ed5a460ab0e 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigExcC14NWithCommentsTransformTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigExcC14NWithCommentsTransformTest.cs @@ -13,7 +13,7 @@ // (C) 2004 Novell (http://www.novell.com) // (C) 2008 Gert Driesen // - +#if !MOBILE using System; using System.IO; @@ -138,4 +138,4 @@ namespace MonoTests.System.Security.Cryptography.Xml { } } } - +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigXPathTransformTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigXPathTransformTest.cs index 56e87d6cdb8..269ca1ca2b2 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigXPathTransformTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigXPathTransformTest.cs @@ -7,7 +7,7 @@ // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com) // Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com) // - +#if !MOBILE using System; using System.IO; using System.Security.Cryptography; @@ -291,3 +291,4 @@ namespace MonoTests.System.Security.Cryptography.Xml { } } } +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigXsltTransformTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigXsltTransformTest.cs index 03b4f215b84..8201049cd40 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigXsltTransformTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlDsigXsltTransformTest.cs @@ -8,6 +8,7 @@ // (C) 2002, 2003 Motus Technologies Inc. (http://www.motus.com) // (C) 2004 Novell (http://www.novell.com) // +#if !MOBILE using System; using System.Collections; @@ -286,3 +287,5 @@ namespace MonoTests.System.Security.Cryptography.Xml { } } } +#endif + diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlLicenseTransformTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlLicenseTransformTest.cs index ab05a297dc4..7211c38d080 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlLicenseTransformTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography.Xml/XmlLicenseTransformTest.cs @@ -12,7 +12,7 @@ // (C) 2004 Novell (http://www.novell.com) // (C) 2008 Gert Driesen // - +#if !MOBILE using System; using System.IO; @@ -88,4 +88,4 @@ namespace MonoTests.System.Security.Cryptography.Xml { } } } - +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography/ProtectedDataCas.cs b/mcs/class/System.Security/Test/System.Security.Cryptography/ProtectedDataCas.cs index bc2e6aeb406..b7777c39d64 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography/ProtectedDataCas.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography/ProtectedDataCas.cs @@ -26,7 +26,7 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // - +#if !MOBILE using NUnit.Framework; @@ -169,4 +169,4 @@ namespace MonoCasTests.System.Security.Cryptography { } } } - +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography/ProtectedDataTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography/ProtectedDataTest.cs index 4848f686216..b97c23ef69c 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography/ProtectedDataTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography/ProtectedDataTest.cs @@ -67,6 +67,7 @@ namespace MonoTests.System.Security.Cryptography { ProtectUnprotect (notMuchEntropy, DataProtectionScope.LocalMachine); } +#if !MOBILE // System.PlatformNotSupportedException: Operation is not supported on this platform. [Test] // https://bugzilla.xamarin.com/show_bug.cgi?id=38933 public void ProtectCurrentUserMultiThread () { @@ -91,6 +92,7 @@ namespace MonoTests.System.Security.Cryptography { foreach (var t in tasks) t.Start (); Task.WaitAll (tasks.ToArray ()); } +#endif [Test] public void DataProtectionScope_All () diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography/ProtectedMemoryCas.cs b/mcs/class/System.Security/Test/System.Security.Cryptography/ProtectedMemoryCas.cs index 2d98ae52cb5..d81ae91a002 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography/ProtectedMemoryCas.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography/ProtectedMemoryCas.cs @@ -26,7 +26,7 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // - +#if !MOBILE using NUnit.Framework; @@ -165,4 +165,4 @@ namespace MonoCasTests.System.Security.Cryptography { } } } - +#endif diff --git a/mcs/class/System.Security/Test/System.Security.Cryptography/ProtectedMemoryTest.cs b/mcs/class/System.Security/Test/System.Security.Cryptography/ProtectedMemoryTest.cs index dab36660d2f..7cd2030bf43 100644 --- a/mcs/class/System.Security/Test/System.Security.Cryptography/ProtectedMemoryTest.cs +++ b/mcs/class/System.Security/Test/System.Security.Cryptography/ProtectedMemoryTest.cs @@ -7,7 +7,7 @@ // (C) 2003 Motus Technologies Inc. (http://www.motus.com) // Copyright (C) 2005 Novell, Inc (http://www.novell.com) // - +#if !MOBILE using NUnit.Framework; @@ -140,4 +140,4 @@ namespace MonoTests.System.Security.Cryptography { } } } - +#endif |