[wasm] Make Common.Tests pass (#38667)
authorMaxim Lipnin <v-maxlip@microsoft.com>
Wed, 1 Jul 2020 20:41:59 +0000 (23:41 +0300)
committerGitHub <noreply@github.com>
Wed, 1 Jul 2020 20:41:59 +0000 (16:41 -0400)
* Make Common.Tests pass

* Remove Common test project from the exclusion list

src/libraries/Common/tests/Tests/System/Security/IdentityHelperTests.cs
src/libraries/tests.proj

index 8c7bc8f..cf7f1d3 100644 (file)
@@ -29,6 +29,7 @@ namespace Tests.System.Security
         }
 
         [Fact]
+        [PlatformSpecific(~TestPlatforms.Browser)]
         public void GetNormalizedStrongNameHash()
         {
             // Validating that we match the exact hash the .NET Framework IsolatedStorage implementation would create.
@@ -36,6 +37,7 @@ namespace Tests.System.Security
         }
 
         [Fact]
+        [PlatformSpecific(~TestPlatforms.Browser)]
         public void GetNormalizedUrlHash()
         {
             // Validating that we match the exact hash the .NET Framework IsolatedStorage implementation would create.
index 3cc20c7..a684c10 100644 (file)
@@ -34,7 +34,6 @@
     <ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Threading.Tasks.Dataflow\tests\System.Threading.Tasks.Dataflow.Tests.csproj" />
     <ProjectExclusions Include="$(MSBuildThisFileDirectory)System.Threading.Tasks.Extensions\tests\System.Threading.Tasks.Extensions.Tests.csproj" />
     <!-- Builds currently do not pass -->
-    <ProjectExclusions Include="$(MSBuildThisFileDirectory)Common\tests\Common.Tests.csproj" />
     <ProjectExclusions Include="$(MSBuildThisFileDirectory)Microsoft.Extensions.Configuration.FileExtensions\tests\Microsoft.Extensions.Configuration.FileExtensions.Tests.csproj" />
     <ProjectExclusions Include="$(MSBuildThisFileDirectory)Microsoft.Extensions.Configuration.Ini\tests\Microsoft.Extensions.Configuration.Ini.Tests.csproj" />
     <ProjectExclusions Include="$(MSBuildThisFileDirectory)Microsoft.Extensions.Configuration.Json\tests\Microsoft.Extensions.Configuration.Json.Tests.csproj" />