Skip to content

Commit c7f7193

Browse files
committed
codecov preparations
1 parent 4df0e37 commit c7f7193

6 files changed

Lines changed: 15 additions & 10 deletions

File tree

PartialResponse.sln

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PartialResponse.AspNetCore.
1919
EndProject
2020
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PartialResponse", "src\PartialResponse\PartialResponse.csproj", "{2424F14B-F883-4187-9657-228DC3D4EEC1}"
2121
EndProject
22-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PartialResponse.Core.Test", "test\PartialResponse.Core.Test\PartialResponse.Core.Test.csproj", "{AD41B46B-0017-4DED-BB5B-6E71ED286341}"
22+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PartialResponse.Core.Tests", "test\PartialResponse.Core.Tests\PartialResponse.Core.Tests.csproj", "{AD41B46B-0017-4DED-BB5B-6E71ED286341}"
2323
EndProject
24-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PartialResponse.AspNetCore.Mvc.Formatters.Json.Test", "test\PartialResponse.AspNetCore.Mvc.Formatters.Json.Test\PartialResponse.AspNetCore.Mvc.Formatters.Json.Test.csproj", "{2F881047-13F4-42B1-923D-CA7C3A7705F2}"
24+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PartialResponse.AspNetCore.Mvc.Formatters.Json.Tests", "test\PartialResponse.AspNetCore.Mvc.Formatters.Json.Tests\PartialResponse.AspNetCore.Mvc.Formatters.Json.Tests.csproj", "{2F881047-13F4-42B1-923D-CA7C3A7705F2}"
2525
EndProject
26-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PartialResponse.Test", "test\PartialResponse.Test\PartialResponse.Test.csproj", "{6EF4E789-BD67-47ED-AD07-8921A6C7AAD4}"
26+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PartialResponse.Tests", "test\PartialResponse.Tests\PartialResponse.Tests.csproj", "{6EF4E789-BD67-47ED-AD07-8921A6C7AAD4}"
2727
EndProject
2828
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PartialResponse.AspNetCore.Mvc.Demo", "samples\PartialResponse.AspNetCore.Mvc.Demo\PartialResponse.AspNetCore.Mvc.Demo.csproj", "{5584F88D-BF00-41FB-B6D1-51C094AEABDA}"
2929
EndProject

src/PartialResponse.AspNetCore.Mvc.Formatters.Json/PartialResponse.AspNetCore.Mvc.Formatters.Json.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4+
<DebugType Condition="$(codecov) == 'true'">full</DebugType>
5+
<DebugType Condition="$(codecov) != 'true'">pdbonly</DebugType>
46
<GenerateDocumentationFile>true</GenerateDocumentationFile>
57
<TargetFrameworks>netstandard2.0</TargetFrameworks>
68
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>

test/PartialResponse.AspNetCore.Mvc.Formatters.Json.Test/JsonSerializerExtensionsTests.cs renamed to test/PartialResponse.AspNetCore.Mvc.Formatters.Json.Tests/JsonSerializerExtensionsTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
using PartialResponse.AspNetCore.Mvc.Formatters.Json.Internal;
88
using Xunit;
99

10-
namespace PartialResponse.AspNetCore.Mvc.Formatters.Json
10+
namespace PartialResponse.AspNetCore.Mvc.Formatters.Json.Tests
1111
{
1212
public class JsonSerializerExtensionsTests
1313
{

test/PartialResponse.AspNetCore.Mvc.Formatters.Json.Test/PartialJsonOutputFormatterTests.cs renamed to test/PartialResponse.AspNetCore.Mvc.Formatters.Json.Tests/PartialJsonOutputFormatterTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
using Newtonsoft.Json;
1212
using Xunit;
1313

14-
namespace PartialResponse.AspNetCore.Mvc.Formatters.Json
14+
namespace PartialResponse.AspNetCore.Mvc.Formatters.Json.Tests
1515
{
1616
public class PartialJsonOutputFormatterTests
1717
{

test/PartialResponse.AspNetCore.Mvc.Formatters.Json.Test/PartialJsonResultExecutorTests.cs renamed to test/PartialResponse.AspNetCore.Mvc.Formatters.Json.Tests/PartialJsonResultExecutorTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
using PartialResponse.AspNetCore.Mvc.Formatters.Json.Internal;
1515
using Xunit;
1616

17-
namespace PartialResponse.AspNetCore.Mvc.Formatters.Json
17+
namespace PartialResponse.AspNetCore.Mvc.Formatters.Json.Tests
1818
{
1919
public class PartialJsonResultExecutorTests
2020
{

test/PartialResponse.AspNetCore.Mvc.Formatters.Json.Test/PartialResponse.AspNetCore.Mvc.Formatters.Json.Test.csproj renamed to test/PartialResponse.AspNetCore.Mvc.Formatters.Json.Tests/PartialResponse.AspNetCore.Mvc.Formatters.Json.Tests.csproj

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4+
<DebugType Condition="$(codecov) == 'true'">full</DebugType>
45
<IsPackable>false</IsPackable>
56
<TargetFramework>net461</TargetFramework>
67
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
@@ -11,11 +12,13 @@
1112
</ItemGroup>
1213

1314
<ItemGroup>
14-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0" />
15-
<PackageReference Include="Moq" Version="4.7.127" />
15+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
16+
<PackageReference Include="Moq" Version="4.8.1" />
17+
<PackageReference Include="OpenCover" Version="4.6.519" PrivateAssets="All" />
1618
<PackageReference Include="System.Diagnostics.TraceSource" Version="4.3.0" />
17-
<PackageReference Include="xunit" Version="2.3.0" />
18-
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.0" />
19+
<PackageReference Include="xunit" Version="2.3.1" />
20+
<PackageReference Include="xunit.runner.console" Version="2.3.1" />
21+
<PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
1922
</ItemGroup>
2023

2124
<ItemGroup>

0 commit comments

Comments
 (0)