[FileStream] add tests for device and UNC paths (#54545)
authorAdam Sitnik <adam.sitnik@gmail.com>
Thu, 24 Jun 2021 06:58:33 +0000 (08:58 +0200)
committerGitHub <noreply@github.com>
Thu, 24 Jun 2021 06:58:33 +0000 (08:58 +0200)
commit7833828914a42f8c99dfa6f18ccd47f99dc2b56e
treec79fdfbc5e8fbf00128d6b95ea7db59ba43c6e5a
parentf55390a2e57cfe38fa692032195ed5a9f073e1d9
[FileStream] add tests for device and UNC paths (#54545)

* add a test for unseekable device by using a path to named pipe

* add a test for seekable device by using DeviceID instead of drive letter

* add a test for a UNC file path (local file share)
src/libraries/Common/tests/TestUtilities/System/IO/FileCleanupTestBase.cs
src/libraries/System.IO.FileSystem/tests/FileStream/FileStreamConformanceTests.Windows.cs [new file with mode: 0644]
src/libraries/System.IO.FileSystem/tests/Net5CompatTests/System.IO.FileSystem.Net5Compat.Tests.csproj
src/libraries/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj