Added unit tests stub
This commit is contained in:
Родитель
0369d1b72d
Коммит
34b5a734e1
|
@ -11,6 +11,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{A263
|
|||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AvaloniaApp", "samples\AvaloniaApp\AvaloniaApp.csproj", "{152C7EB0-4D91-43FF-B103-FBD380777AF8}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{8E9DCB91-7880-430A-A8E8-406E212750FA}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Avalonia.ThemeManager.UnitTests", "tests\Avalonia.ThemeManager.UnitTests\Avalonia.ThemeManager.UnitTests.csproj", "{8BD734B7-7F36-41F0-86C4-37F41AC85907}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
|
@ -48,9 +52,22 @@ Global
|
|||
{152C7EB0-4D91-43FF-B103-FBD380777AF8}.Release|x64.Build.0 = Release|Any CPU
|
||||
{152C7EB0-4D91-43FF-B103-FBD380777AF8}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{152C7EB0-4D91-43FF-B103-FBD380777AF8}.Release|x86.Build.0 = Release|Any CPU
|
||||
{8BD734B7-7F36-41F0-86C4-37F41AC85907}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{8BD734B7-7F36-41F0-86C4-37F41AC85907}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{8BD734B7-7F36-41F0-86C4-37F41AC85907}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{8BD734B7-7F36-41F0-86C4-37F41AC85907}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{8BD734B7-7F36-41F0-86C4-37F41AC85907}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{8BD734B7-7F36-41F0-86C4-37F41AC85907}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{8BD734B7-7F36-41F0-86C4-37F41AC85907}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8BD734B7-7F36-41F0-86C4-37F41AC85907}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{8BD734B7-7F36-41F0-86C4-37F41AC85907}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{8BD734B7-7F36-41F0-86C4-37F41AC85907}.Release|x64.Build.0 = Release|Any CPU
|
||||
{8BD734B7-7F36-41F0-86C4-37F41AC85907}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{8BD734B7-7F36-41F0-86C4-37F41AC85907}.Release|x86.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{F104968E-69CB-40E0-BF32-F9CA66BED649} = {6CA09D1C-6F3E-45E3-AB6C-DB23B83E3CC8}
|
||||
{152C7EB0-4D91-43FF-B103-FBD380777AF8} = {A2636C39-1B98-44F7-8D2E-CFE7E2047AD4}
|
||||
{8BD734B7-7F36-41F0-86C4-37F41AC85907} = {8E9DCB91-7880-430A-A8E8-406E212750FA}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<PackageReference Include="xunit" Version="2.4.1" />
|
||||
<PackageReference Include="xunit.abstractions" Version="2.0.3" />
|
||||
<PackageReference Include="xunit.assert" Version="2.4.1" />
|
||||
<PackageReference Include="xunit.core" Version="2.4.1" />
|
||||
<PackageReference Include="xunit.extensibility.core" Version="2.4.1" />
|
||||
<PackageReference Include="xunit.extensibility.execution" Version="2.4.1" />
|
||||
<PackageReference Include="xunit.runner.console" Version="2.4.1" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
|
||||
<DotNetCliToolReference Include="dotnet-xunit" Version="2.3.1" />
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
</PropertyGroup>
|
||||
<Target Name="ForceGenerationOfBindingRedirects" AfterTargets="ResolveAssemblyReferences" BeforeTargets="GenerateBindingRedirects" Condition="'$(AutoGenerateBindingRedirects)' == 'true'">
|
||||
<PropertyGroup>
|
||||
<!-- Needs to be set in a target because it has to be set after the initial evaluation in the common targets -->
|
||||
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
|
||||
</PropertyGroup>
|
||||
</Target>
|
||||
</Project>
|
|
@ -0,0 +1,17 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>netcoreapp3.0</TargetFrameworks>
|
||||
<OutputType>Library</OutputType>
|
||||
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="..\..\build\Base.props" />
|
||||
<Import Project="..\..\build\Rx.props" />
|
||||
<Import Project="..\..\build\XUnit.props" />
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\src\Avalonia.ThemeManager\Avalonia.ThemeManager.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
Загрузка…
Ссылка в новой задаче