Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Kuhne <jeremy.kuhne@microsoft.com>2017-05-19 23:20:11 +0300
committerGitHub <noreply@github.com>2017-05-19 23:20:11 +0300
commit801dde95a5eac06140d0ac633ac3f9bfdd25aca5 (patch)
treef5bedd525be96f65ab99472a5546155c3399f92c /src/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj
parent5350d4e1321d84df1e377060710fae8f58ca0149 (diff)
Fix Unix missing file state (#19959)
* Fix Unix missing file state In the original .NET implementation a missing file never throws directly with FileInfo. Attributes get the error result from Windows (-1) and times aren't initialized. * Feedback * Change FileSystemTest derivation FileSystemTest should derive from RemoteFileSystemTest so we can have one base class. * Add RemoteExecutorBase to performance test project * Address test feedback * Fix File.GetAttributes on Unix NetFX doesn't rely on FileInfo and throws when getting attributes on missing files through File.
Diffstat (limited to 'src/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj')
-rw-r--r--src/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj b/src/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj
index 6b1bf119ec..02cbadaf0d 100644
--- a/src/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj
+++ b/src/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj
@@ -14,12 +14,14 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netstandard-Windows_NT-Debug|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'netstandard-Windows_NT-Release|AnyCPU'" />
<ItemGroup>
+ <Compile Include="FileInfo\IsReadOnly.cs" />
<Compile Include="FileInfo\Replace.cs" />
<Compile Include="FileStream\Handle.cs" />
<Compile Include="Directory\GetLogicalDrives.cs" />
<Compile Include="FileStream\EndRead.cs" />
<Compile Include="FileStream\EndWrite.cs" />
<Compile Include="FileStream\LockUnlock.cs" />
+ <Compile Include="FileSystemTest.cs" />
<Compile Include="File\EncryptDecrypt.cs" />
<Compile Include="File\Replace.cs" />
<Compile Include="$(CommonTestPath)\System\Runtime\Serialization\Formatters\BinaryFormatterHelpers.cs">
@@ -98,7 +100,6 @@
<Compile Include="TestData.cs" />
<Compile Include="UnseekableFileStream.cs" />
<Compile Include="FSAssert.cs" />
- <Compile Include="FileSystemTest.cs" />
<!-- Ported -->
<Compile Include="PortedCommon\CommonUtilities.cs" />
<Compile Include="PortedCommon\DllImports.cs" />
@@ -175,4 +176,4 @@
</ProjectReference>
</ItemGroup>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
-</Project>
+</Project> \ No newline at end of file