Skip to content

Commit

Permalink
Added TestData .NET Standard
Browse files Browse the repository at this point in the history
  • Loading branch information
rprouse committed Nov 4, 2016
1 parent c598485 commit 28e21c1
Show file tree
Hide file tree
Showing 13 changed files with 183 additions and 0 deletions.
7 changes: 7 additions & 0 deletions nunit.sln
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunitlite-netstandard", "sr
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mock-assembly-netstandard", "src\NUnitFramework\mock-assembly\mock-assembly-netstandard.csproj", "{06EB9559-89AE-487A-B80B-C4816B50A592}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "nunit.testdata-netstandard", "src\NUnitFramework\testdata\nunit.testdata-netstandard.csproj", "{6D8DCE9D-B224-46B5-B7F5-021534907DBA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -313,6 +315,10 @@ Global
{06EB9559-89AE-487A-B80B-C4816B50A592}.Debug|Any CPU.Build.0 = Debug|Any CPU
{06EB9559-89AE-487A-B80B-C4816B50A592}.Release|Any CPU.ActiveCfg = Release|Any CPU
{06EB9559-89AE-487A-B80B-C4816B50A592}.Release|Any CPU.Build.0 = Release|Any CPU
{6D8DCE9D-B224-46B5-B7F5-021534907DBA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6D8DCE9D-B224-46B5-B7F5-021534907DBA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6D8DCE9D-B224-46B5-B7F5-021534907DBA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6D8DCE9D-B224-46B5-B7F5-021534907DBA}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -370,6 +376,7 @@ Global
{FCF07E6C-335D-4265-B529-B7AF0E1076AB} = {E51311BB-BCD0-4EDA-8D6A-E457B7D2FEE6}
{C28BC2BD-2D6A-4524-996E-45BA87B65B9F} = {E51311BB-BCD0-4EDA-8D6A-E457B7D2FEE6}
{06EB9559-89AE-487A-B80B-C4816B50A592} = {E51311BB-BCD0-4EDA-8D6A-E457B7D2FEE6}
{6D8DCE9D-B224-46B5-B7F5-021534907DBA} = {E51311BB-BCD0-4EDA-8D6A-E457B7D2FEE6}
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = src\NUnitFramework\tests\nunitlite.tests-2.0.csproj
Expand Down
1 change: 1 addition & 0 deletions src/NUnitFramework/testdata/nunit.testdata-2.0.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
<None Include="..\..\nunit.snk">
<Link>nunit.snk</Link>
</None>
<None Include="nunit.testdata-2.0.project.json" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down
8 changes: 8 additions & 0 deletions src/NUnitFramework/testdata/nunit.testdata-2.0.project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"runtimes": {
"win": {}
},
"frameworks": {
"net20": {}
}
}
1 change: 1 addition & 0 deletions src/NUnitFramework/testdata/nunit.testdata-3.5.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
<None Include="..\..\nunit.snk">
<Link>nunit.snk</Link>
</None>
<None Include="nunit.testdata-3.5.project.json" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down
8 changes: 8 additions & 0 deletions src/NUnitFramework/testdata/nunit.testdata-3.5.project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"runtimes": {
"win": {}
},
"frameworks": {
"net35": {}
}
}
1 change: 1 addition & 0 deletions src/NUnitFramework/testdata/nunit.testdata-4.0.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@
<Link>nunit.snk</Link>
</None>
<None Include="app.config" />
<None Include="nunit.testdata-4.0.project.json" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
Expand Down
8 changes: 8 additions & 0 deletions src/NUnitFramework/testdata/nunit.testdata-4.0.project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"runtimes": {
"win": {}
},
"frameworks": {
"net40": {}
}
}
1 change: 1 addition & 0 deletions src/NUnitFramework/testdata/nunit.testdata-4.5.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
<None Include="..\..\nunit.snk">
<Link>nunit.snk</Link>
</None>
<None Include="nunit.testdata-4.5.project.json" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down
8 changes: 8 additions & 0 deletions src/NUnitFramework/testdata/nunit.testdata-4.5.project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"runtimes": {
"win": {}
},
"frameworks": {
"net45": {}
}
}
121 changes: 121 additions & 0 deletions src/NUnitFramework/testdata/nunit.testdata-netstandard.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{6D8DCE9D-B224-46B5-B7F5-021534907DBA}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>NUnit.TestData</RootNamespace>
<AssemblyName>nunit.testdata</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<TargetFrameworkProfile>
</TargetFrameworkProfile>
<TargetFrameworkVersion>v5.0</TargetFrameworkVersion>
<IntermediateOutputPath>obj\$(Configuration)\netstandard\</IntermediateOutputPath>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\bin\Debug\netstandard\</OutputPath>
<DefineConstants>TRACE;DEBUG;PORTABLE;NETSTANDARD1_6</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\..\bin\Release\netstandard\</OutputPath>
<DefineConstants>TRACE;PORTABLE;NETSTANDARD1_6</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>..\..\nunit.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\..\CommonAssemblyInfo.cs">
<Link>Properties\CommonAssemblyInfo.cs</Link>
</Compile>
<Compile Include="..\FrameworkVersion.cs">
<Link>Properties\FrameworkVersion.cs</Link>
</Compile>
<Compile Include="ActionAttributeFixture.cs" />
<Compile Include="AssertCountFixture.cs" />
<Compile Include="AssertFailFixture.cs" />
<Compile Include="AssertIgnoreData.cs" />
<Compile Include="AsyncDummyFixture.cs" />
<Compile Include="AsyncRealFixture.cs" />
<Compile Include="AsyncSetupTearDownFixture.cs" />
<Compile Include="AttributeInheritanceData.cs" />
<Compile Include="AuthorFixture.cs" />
<Compile Include="CategoryAttributeData.cs" />
<Compile Include="CultureAttributeData.cs" />
<Compile Include="DatapointFixture.cs" />
<Compile Include="DescriptionFixture.cs" />
<Compile Include="GenericTestMethodData.cs" />
<Compile Include="MaxTimeFixture.cs" />
<Compile Include="OneTimeSetUpTearDownData.cs" />
<Compile Include="OptionalTestParametersFixture.cs" />
<Compile Include="ParameterizedTestFixture.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="PropertyAttributeTests.cs" />
<Compile Include="RandomAttributeFixture.cs" />
<Compile Include="RepeatedTestFixture.cs" />
<Compile Include="RepeatingTestsFixtureBase.cs" />
<Compile Include="RetryFixture.cs" />
<Compile Include="SetUpData.cs" />
<Compile Include="SetUpFixtureData.cs" />
<Compile Include="SingleThreadedFixtureData.cs" />
<Compile Include="TestCaseAttributeFixture.cs" />
<Compile Include="TestCaseOrderAttributeFixture.cs" />
<Compile Include="TestCaseSourceAttributeFixture.cs" />
<Compile Include="TestContextData.cs" />
<Compile Include="TestFixtureData.cs" />
<Compile Include="TestFixtureSourceData.cs" />
<Compile Include="TestMethodSignatureFixture.cs" />
<Compile Include="TestOfFixture.cs" />
<Compile Include="TextOutputFixture.cs" />
<Compile Include="TheoryFixture.cs" />
<Compile Include="TimeoutFixture.cs" />
<Compile Include="UnexpectedExceptionFixture.cs" />
<Compile Include="UnhandledExceptions.cs" />
</ItemGroup>
<ItemGroup>
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\framework\nunit.framework-netstandard.csproj">
<Project>{FCF07E6C-335D-4265-B529-B7AF0E1076AB}</Project>
<Name>nunit.framework-netstandard</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="..\..\nunit.snk">
<Link>nunit.snk</Link>
</None>
<None Include="nunit.testdata-netstandard.project.json" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<PropertyGroup>
<NuGetTargetMoniker>.NETStandard,Version=v1.6</NuGetTargetMoniker>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"supports": {},
"dependencies": {
"NETStandard.Library": "1.6.0",
"Microsoft.NETCore.Portable.Compatibility": "1.0.1"
},
"frameworks": {
"netstandard1.6": {}
}
}
1 change: 1 addition & 0 deletions src/NUnitFramework/testdata/nunit.testdata-portable.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
<None Include="..\..\nunit.snk">
<Link>nunit.snk</Link>
</None>
<None Include="nunit.testdata-portable.project.json" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"runtimes": {
"win": {}
},
"frameworks": {
".NETPortable,Version=v4.5,Profile=Profile259": {}
}
}

0 comments on commit 28e21c1

Please sign in to comment.