Collapsing tests into a single project (#220)
This commit is contained in:
Родитель
1feb868be4
Коммит
a3ebeafad3
|
@ -5,9 +5,7 @@ VisualStudioVersion = 15.0.27004.2009
|
|||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.NotificationHubs", "src\Microsoft.Azure.NotificationHubs\Microsoft.Azure.NotificationHubs.csproj", "{9E6F70D4-7861-450F-BF5F-DE3AC867001E}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.NotificationHubs.DotNetCore.Tests", "src\Microsoft.Azure.NotificationHubs.DotNetCore.Tests\Microsoft.Azure.NotificationHubs.DotNetCore.Tests.csproj", "{96F5E673-D430-4B3D-A0CB-171382171037}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Azure.NotificationHubs.DotNetFramework.Tests", "src\Microsoft.Azure.NotificationHubs.DotNetFramework.Tests\Microsoft.Azure.NotificationHubs.DotNetFramework.Tests.csproj", "{C957B9F0-A084-49E1-9AAE-2B0217235C14}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Azure.NotificationHubs.Tests", "src\Microsoft.Azure.NotificationHubs.Tests\Microsoft.Azure.NotificationHubs.Tests.csproj", "{AEB433DC-B5D3-4122-A540-EA15E6E75C6F}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
@ -19,14 +17,10 @@ Global
|
|||
{9E6F70D4-7861-450F-BF5F-DE3AC867001E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9E6F70D4-7861-450F-BF5F-DE3AC867001E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9E6F70D4-7861-450F-BF5F-DE3AC867001E}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{96F5E673-D430-4B3D-A0CB-171382171037}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{96F5E673-D430-4B3D-A0CB-171382171037}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{96F5E673-D430-4B3D-A0CB-171382171037}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{96F5E673-D430-4B3D-A0CB-171382171037}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{C957B9F0-A084-49E1-9AAE-2B0217235C14}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{C957B9F0-A084-49E1-9AAE-2B0217235C14}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{C957B9F0-A084-49E1-9AAE-2B0217235C14}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{C957B9F0-A084-49E1-9AAE-2B0217235C14}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{AEB433DC-B5D3-4122-A540-EA15E6E75C6F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{AEB433DC-B5D3-4122-A540-EA15E6E75C6F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{AEB433DC-B5D3-4122-A540-EA15E6E75C6F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{AEB433DC-B5D3-4122-A540-EA15E6E75C6F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
|
|
@ -1,39 +0,0 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net461</TargetFramework>
|
||||
<AssemblyName>Microsoft.Azure.NotificationHubs.Framework.Tests</AssemblyName>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
|
||||
<RootNamespace>Microsoft.Azure.NotificationHubs.Tests</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="..\Microsoft.Azure.NotificationHubs.DotNetCore.Tests\NotificationHubClientTest.cs" Link="NotificationHubClientTest.cs" />
|
||||
<Compile Include="..\Microsoft.Azure.NotificationHubs.DotNetCore.Tests\ManagementApiE2ETests.cs" Link="ManagementApiE2ETests.cs" />
|
||||
<Compile Include="..\Microsoft.Azure.NotificationHubs.DotNetCore.Tests\NotificationHubConnectionStringBuilderTests.cs" Link="NotificationHubConnectionStringBuilderTests.cs" />
|
||||
<Compile Include="..\Microsoft.Azure.NotificationHubs.DotNetCore.Tests\TestServerProxy.cs" Link="TestServerProxy.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\Microsoft.Azure.NotificationHubs.DotNetCore.Tests\appsettings.json" Link="appsettings.json">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="..\Microsoft.Azure.NotificationHubs.DotNetCore.Tests\MockData\**"
|
||||
CopyToOutputDirectory="PreserveNewest"
|
||||
LinkBase="MockData\"
|
||||
/>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Azure.Storage.Blob" Version="11.2.3" />
|
||||
<PackageReference Include="Microsoft.Extensions.Configuration" Version="6.0.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="6.0.0" />
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
|
||||
<PackageReference Include="Microsoft.TestPlatform.ObjectModel" Version="17.1.0" />
|
||||
<PackageReference Include="xunit" Version="2.4.1" />
|
||||
<PackageReference Include="xunit.runner.console" Version="2.4.1" />
|
||||
<PackageReference Include="xunit.runner.msbuild" Version="2.4.1" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3" />
|
||||
<PackageReference Include="RichardSzalay.MockHttp" Version="6.0.0" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Microsoft.Azure.NotificationHubs\Microsoft.Azure.NotificationHubs.csproj" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,7 +1,7 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netcoreapp6.0</TargetFramework>
|
||||
<TargetFrameworks>netcoreapp6.0;net461</TargetFrameworks>
|
||||
|
||||
<IsPackable>false</IsPackable>
|
||||
</PropertyGroup>
|
||||
|
@ -11,6 +11,7 @@
|
|||
<PackageReference Include="Microsoft.Extensions.Configuration" Version="6.0.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="6.0.0" />
|
||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
|
||||
<PackageReference Include="Microsoft.TestPlatform.ObjectModel" Version="17.1.0" />
|
||||
<PackageReference Include="RichardSzalay.MockHttp" Version="6.0.0" />
|
||||
<PackageReference Include="xunit" Version="2.4.1" />
|
||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3" />
|
|
@ -28,6 +28,7 @@
|
|||
<PackageTags>Microsoft Azure windowsazureofficial NotificationHub Notifications Notification Hub Push Windows Phone iOS Android Baidu Kindle Amazon</PackageTags>
|
||||
<Version>4.1.1.0</Version>
|
||||
<LangVersion>latest</LangVersion>
|
||||
<Configurations>Release;Debug</Configurations>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
|
@ -37,6 +38,9 @@
|
|||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DelaySign>false</DelaySign>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="6.0.1" />
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
|
||||
|
|
Загрузка…
Ссылка в новой задаче