From 356b3ff2a703980ac01b9df697a594e8c341c436 Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Fri, 28 May 2021 16:15:52 +0200 Subject: [PATCH] Add ActiveIssue attr to the FileSystem tests --- .../System.IO.FileSystem/tests/File/ReadWriteAllBytes.cs | 1 + .../System.IO.FileSystem/tests/File/ReadWriteAllBytesAsync.cs | 1 + .../System.IO.FileSystem/tests/File/ReadWriteAllLines.cs | 2 ++ .../System.IO.FileSystem/tests/File/ReadWriteAllLinesAsync.cs | 1 + .../System.IO.FileSystem/tests/File/ReadWriteAllText.cs | 1 + .../System.IO.FileSystem/tests/File/ReadWriteAllTextAsync.cs | 1 + 6 files changed, 7 insertions(+) diff --git a/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllBytes.cs b/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllBytes.cs index 59a39d881ba5a..7f13447f37d92 100644 --- a/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllBytes.cs +++ b/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllBytes.cs @@ -99,6 +99,7 @@ public void OpenFile_ThrowsIOException() /// file is allowed. /// [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/53021", TestPlatforms.Browser)] public void WriteToReadOnlyFile() { string path = GetTestFilePath(); diff --git a/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllBytesAsync.cs b/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllBytesAsync.cs index 471f950c14dc1..fdb0ec63776de 100644 --- a/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllBytesAsync.cs +++ b/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllBytesAsync.cs @@ -113,6 +113,7 @@ public async Task OpenFile_ThrowsIOExceptionAsync() /// file is allowed. /// [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/53021", TestPlatforms.Browser)] public async Task WriteToReadOnlyFileAsync() { string path = GetTestFilePath(); diff --git a/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllLines.cs b/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllLines.cs index 62ff39339e2be..c0ba0787d577a 100644 --- a/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllLines.cs +++ b/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllLines.cs @@ -104,6 +104,7 @@ public void Read_FileNotFound() /// file is allowed. /// [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/53021", TestPlatforms.Browser)] public void WriteToReadOnlyFile() { string path = GetTestFilePath(); @@ -293,6 +294,7 @@ public void Read_FileNotFound() /// file is allowed. /// [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/53021", TestPlatforms.Browser)] public void WriteToReadOnlyFile() { string path = GetTestFilePath(); diff --git a/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllLinesAsync.cs b/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllLinesAsync.cs index d717e2839956e..f5cbd0f3b7379 100644 --- a/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllLinesAsync.cs +++ b/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllLinesAsync.cs @@ -99,6 +99,7 @@ public Task Read_FileNotFound() => /// file is allowed. /// [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/53021", TestPlatforms.Browser)] public async Task WriteToReadOnlyFile() { string path = GetTestFilePath(); diff --git a/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllText.cs b/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllText.cs index 9d330b27583ea..d24a8445e6d7f 100644 --- a/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllText.cs +++ b/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllText.cs @@ -111,6 +111,7 @@ public void Read_FileNotFound() /// file is allowed. /// [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/53021", TestPlatforms.Browser)] public void WriteToReadOnlyFile() { string path = GetTestFilePath(); diff --git a/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllTextAsync.cs b/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllTextAsync.cs index ac77b2509bb1a..fe67d881c2ad1 100644 --- a/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllTextAsync.cs +++ b/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllTextAsync.cs @@ -107,6 +107,7 @@ public Task Read_FileNotFoundAsync() => /// file is allowed. /// [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/53021", TestPlatforms.Browser)] public async Task WriteToReadOnlyFileAsync() { string path = GetTestFilePath();