From bd0986cd648097ff5dbdf620255e35ff999a95d2 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Wed, 22 Jul 2020 12:24:21 +0300 Subject: [PATCH] [wasm] Enable System.Xml.XmlSerializer.ReflectionOnly.Tests, System.Xml.XmlSerializer.Tests, and System.Security.Permissions.Tests test suites --- .../System.Security.Permissions/tests/EvidenceBaseTests.cs | 1 + .../tests/MembershipConditionTests.cs | 2 ++ .../System.Security.Permissions/tests/PermissionTests.cs | 1 + src/libraries/tests.proj | 3 --- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/libraries/System.Security.Permissions/tests/EvidenceBaseTests.cs b/src/libraries/System.Security.Permissions/tests/EvidenceBaseTests.cs index 9eea6a3dc41bf..ba17fea6bb286 100644 --- a/src/libraries/System.Security.Permissions/tests/EvidenceBaseTests.cs +++ b/src/libraries/System.Security.Permissions/tests/EvidenceBaseTests.cs @@ -39,6 +39,7 @@ public static void GacInstalledCallMethods() } [Fact] + [PlatformSpecific(~TestPlatforms.Browser)] // System.Security.Cryptography.Algorithms is not supported on this platform. public static void HashCallMethods() { Hash hash = new Hash(Reflection.Assembly.Load(new Reflection.AssemblyName("System.Reflection"))); diff --git a/src/libraries/System.Security.Permissions/tests/MembershipConditionTests.cs b/src/libraries/System.Security.Permissions/tests/MembershipConditionTests.cs index d9758dcbaaf61..660661c1520f3 100644 --- a/src/libraries/System.Security.Permissions/tests/MembershipConditionTests.cs +++ b/src/libraries/System.Security.Permissions/tests/MembershipConditionTests.cs @@ -61,6 +61,7 @@ public static void GacMembershipConditionCallMethods() } [Fact] + [PlatformSpecific(~TestPlatforms.Browser)] // System.Security.Cryptography.Algorithms is not supported on this platform. public static void HashMembershipConditionCallMethods() { HashMembershipCondition hmc = new HashMembershipCondition(Cryptography.SHA1.Create(), new byte[1]); @@ -78,6 +79,7 @@ public static void HashMembershipConditionCallMethods() } [Fact] + [PlatformSpecific(~TestPlatforms.Browser)] // System.Security.Cryptography.X509Certificates is not supported on this platform. public static void PublisherMembershipConditionCallMethods() { PublisherMembershipCondition pmc = new PublisherMembershipCondition(new System.Security.Cryptography.X509Certificates.X509Certificate()); diff --git a/src/libraries/System.Security.Permissions/tests/PermissionTests.cs b/src/libraries/System.Security.Permissions/tests/PermissionTests.cs index 9889feffb6dc3..d09b48f343a56 100644 --- a/src/libraries/System.Security.Permissions/tests/PermissionTests.cs +++ b/src/libraries/System.Security.Permissions/tests/PermissionTests.cs @@ -210,6 +210,7 @@ public static void PrincipalPermissionCallMethods() } [Fact] + [PlatformSpecific(~TestPlatforms.Browser)] // System.Security.Cryptography.X509Certificates is not supported on this platform. public static void PublisherIdentityPermissionCallMethods() { PublisherIdentityPermission pip = new PublisherIdentityPermission(new System.Security.Cryptography.X509Certificates.X509Certificate()); diff --git a/src/libraries/tests.proj b/src/libraries/tests.proj index fdd0e1e851169..871aae867b8bd 100644 --- a/src/libraries/tests.proj +++ b/src/libraries/tests.proj @@ -38,9 +38,6 @@ - - -