From: Stephen Toub Date: Wed, 6 May 2020 11:53:42 +0000 (-0400) Subject: Remove duplicate tests from System.IO.FileSystem.Tests (#35842) X-Git-Tag: submit/tizen/20210909.063632~8161 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=993e10c873ef92725082864464b33c6c9c1f3c8a;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Remove duplicate tests from System.IO.FileSystem.Tests (#35842) --- diff --git a/src/libraries/System.IO.FileSystem/tests/FileInfo/Open.cs b/src/libraries/System.IO.FileSystem/tests/FileInfo/Open.cs index 2927ab3..a071f5d 100644 --- a/src/libraries/System.IO.FileSystem/tests/FileInfo/Open.cs +++ b/src/libraries/System.IO.FileSystem/tests/FileInfo/Open.cs @@ -13,7 +13,6 @@ namespace System.IO.Tests return new FileInfo(path).Open(mode); } - [Theory, MemberData(nameof(StreamSpecifiers))] public override void FileModeAppend(string streamSpecifier) { using (FileStream fs = CreateFileStream(GetTestFilePath() + streamSpecifier, FileMode.Append)) @@ -23,7 +22,6 @@ namespace System.IO.Tests } } - [Theory, MemberData(nameof(StreamSpecifiers))] public override void FileModeAppendExisting(string streamSpecifier) { string fileName = GetTestFilePath() + streamSpecifier; diff --git a/src/libraries/System.IO.FileSystem/tests/TestData.cs b/src/libraries/System.IO.FileSystem/tests/TestData.cs index 190a3d8..c00f3fc 100644 --- a/src/libraries/System.IO.FileSystem/tests/TestData.cs +++ b/src/libraries/System.IO.FileSystem/tests/TestData.cs @@ -59,7 +59,6 @@ internal static class TestData { TheoryData data = new TheoryData { - "\0", "middle\0path", "trailing\0" };