Skip to content

Commit

Permalink
[wasm] Disable failing tests for AOT/windows
Browse files Browse the repository at this point in the history
https//github.com/dotnet/issues/58707
https//github.com/dotnet/issues/58708
  • Loading branch information
radical committed Nov 7, 2021
1 parent 82ba001 commit fd4f07f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class IdnMappingIdnaConformanceTests
/// There are some others that failed which have been commented out and marked in the dataset as "GETASCII DOES FAILS ON WINDOWS 8.1"
/// Same applies to Windows 10 >= 10.0.15063 in the IdnaTest_9.txt file
[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/58708", typeof(PlatformDetection), nameof(PlatformDetection.IsBrowser), nameof(PlatformDetection.IsMonoAOT), nameof(PlatformDetection.IsWindows))]
public void GetAscii_Success()
{
Assert.All(Factory.GetDataset().Where(e => e.ASCIIResult.Success), entry =>
Expand Down Expand Up @@ -51,6 +52,7 @@ public void GetAscii_Success()
/// Same applies to Windows 10 >= 10.0.15063 in the IdnaTest_9.txt file
/// </summary>
[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/58708", typeof(PlatformDetection), nameof(PlatformDetection.IsBrowser), nameof(PlatformDetection.IsMonoAOT), nameof(PlatformDetection.IsWindows))]
public void GetUnicode_Success()
{
Assert.All(Factory.GetDataset().Where(e => e.UnicodeResult.Success && e.UnicodeResult.ValidDomainName), entry =>
Expand Down Expand Up @@ -83,6 +85,7 @@ public void GetUnicode_Success()
/// Same applies to Windows 10 >= 10.0.15063 in the IdnaTest_9.txt file
/// </remarks>
[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer))] // https://github.com/dotnet/runtime/issues/22409
[ActiveIssue("https://github.com/dotnet/runtime/issues/58708", typeof(PlatformDetection), nameof(PlatformDetection.IsBrowser), nameof(PlatformDetection.IsMonoAOT), nameof(PlatformDetection.IsWindows))]
public void GetAscii_Invalid()
{
Assert.All(Factory.GetDataset().Where(entry => !entry.ASCIIResult.Success), entry =>
Expand Down Expand Up @@ -112,6 +115,7 @@ public void GetAscii_Invalid()
/// Same applies to Windows 10 >= 10.0.15063 in the IdnaTest_9.txt file
/// </remarks>
[Fact]
[ActiveIssue("https://github.com/dotnet/runtime/issues/58708", typeof(PlatformDetection), nameof(PlatformDetection.IsBrowser), nameof(PlatformDetection.IsMonoAOT), nameof(PlatformDetection.IsWindows))]
public void GetUnicode_Invalid()
{
Assert.All(Factory.GetDataset().Where(entry => !entry.UnicodeResult.Success), entry =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

namespace System.IO.Tests
{
[ActiveIssue("https://github.com/dotnet/runtime/issues/58707", typeof(PlatformDetection), nameof(PlatformDetection.IsBrowser), nameof(PlatformDetection.IsMonoAOT), nameof(PlatformDetection.IsWindows))]
public class FileInfo_CopyTo_str : File_Copy_str_str
{
protected override void Copy(string source, string dest)
Expand Down

0 comments on commit fd4f07f

Please sign in to comment.