Add several missing test projects

Adding these gives us a place to put tests for the associated libraries, and also ensures that the libraries show up in code coverage.  Each library is empty with the exception of a single test that's necessary for code coverage to pick it up.  includes skeleton projects for:
- Microsoft.CSharp
- Microsoft.VisualBasic
- Microsoft.Win32.Registry.AccessControl
- System.Data.Common
- System.IO.FileSystem.AccessControl
- System.Reflection.Context
- System.Security.Claims
- System.Threading.AccessControl


Commit migrated from https://github.com/dotnet/corefx/commit/3b1efe2956682a5a240f9354787e05aab1b3edfc
This commit is contained in:
stephentoub committed 2016-01-31 21:55:10 -05:00
1 parent 1b9190c9a7
commit f2c4306f31
29 files changed
+567 -9

No files matched your search

@@ -0,0 +1,17 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Xunit;
namespace System.IO
{
public class FileSystemAclExtensionsTests
{
[Fact]
public void GetAccessControl_InvalidArguments()
{
Assert.Throws<NullReferenceException>(() => FileSystemAclExtensions.GetAccessControl((DirectoryInfo)null));
}
}
}
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" />
<PropertyGroup>
<ProjectGuid>{D77FBA6C-1AA6-45A4-93E2-97A370672C53}</ProjectGuid>
<AssemblyName>System.IO.FileSystem.AccessControl.Tests</AssemblyName>
<RootNamespace>System.IO.FileSystem.AccessControl.Tests</RootNamespace>
<UnsupportedPlatforms>Linux;OSX</UnsupportedPlatforms>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'" />
<ItemGroup>
<Compile Include="FileSystemAclExtensionsTests.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\src\System.IO.FileSystem.AccessControl.csproj">
<Project>{96AA2060-C846-4E56-9509-E8CB9C114C8F}</Project>
<Name>System.IO.FileSystem.AccessControl</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="project.json" />
</ItemGroup>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
</Project>
@@ -0,0 +1,23 @@
{
"dependencies": {
"System.Collections": "4.0.10",
"System.Diagnostics.Contracts": "4.0.0",
"System.Diagnostics.Debug": "4.0.10",
"System.IO": "4.0.10",
"System.IO.FileSystem": "4.0.0",
"System.IO.FileSystem.Primitives": "4.0.0",
"System.Resources.ResourceManager": "4.0.0",
"System.Runtime": "4.0.20",
"System.Runtime.Extensions": "4.0.10",
"System.Runtime.Handles": "4.0.0",
"System.Runtime.InteropServices": "4.0.20",
"System.Security.AccessControl": "4.0.0-rc3-23729",
"System.Security.Principal": "4.0.0",
"System.Security.Principal.Windows": "4.0.0-rc3-23729",
"xunit": "2.1.0",
"xunit.netcore.extensions": "1.0.0-prerelease-00123"
},
"frameworks": {
"dnxcore50": {}
}
}