Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 9ed1b0e

Browse files
committed
Merge pull request #2469 from stephentoub/hide_cc_ipc
Hide IPC test program from code coverage
2 parents 544e9e8 + d50c7ac commit 9ed1b0e

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/Scenarios/tests/InterProcessCommunication/InterProcessCommunication.TestConsoleApp/InterProcessCommunication.TestConsoleApp.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " />
1414
<ItemGroup>
1515
<Compile Include="TestConsoleApp.cs" />
16+
<Compile Include="$(CommonPath)\System\Diagnostics\CodeAnalysis\ExcludeFromCodeCoverageAttribute.cs">
17+
<Link>Common\System\Diagnostics\CodeAnalysis\ExcludeFromCodeCoverageAttribute.cs</Link>
18+
</Compile>
1619
</ItemGroup>
1720
<ItemGroup>
1821
<None Include="project.json" />

src/Scenarios/tests/InterProcessCommunication/InterProcessCommunication.TestConsoleApp/TestConsoleApp.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
using System;
55
using System.Reflection;
66

7+
[assembly: System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
8+
79
namespace InterProcessCommunication.Tests
810
{
911
/// <summary>

0 commit comments

Comments
 (0)