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

Commit 853cac2

Browse files
committed
Added global suppressions for unit tests.
1 parent 4522d91 commit 853cac2

File tree

11 files changed

+21
-13
lines changed

11 files changed

+21
-13
lines changed

test/GitHub.Api.UnitTests/GitHub.Api.UnitTests.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
<PropertyGroup>
33
<TargetFramework>net461</TargetFramework>
44
</PropertyGroup>
5+
<ItemGroup>
6+
<Compile Include="..\Helpers\GlobalSuppressions.cs" Link="GlobalSuppressions.cs" />
7+
</ItemGroup>
58

69
<ItemGroup>
710
<ProjectReference Include="..\..\src\GitHub.Exports.Reactive\GitHub.Exports.Reactive.csproj" />

test/GitHub.App.UnitTests/GitHub.App.UnitTests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
</ItemGroup>
1313

1414
<ItemGroup>
15+
<Compile Include="..\Helpers\GlobalSuppressions.cs" Link="GlobalSuppressions.cs" />
1516
<Compile Include="..\Helpers\SplatModeDetectorSetUp.cs" />
1617
<Compile Include="..\Helpers\LazySubstitute.cs" />
1718
<Compile Include="..\Helpers\ReactiveTestHelper.cs" />

test/GitHub.Exports.Reactive.UnitTests/GitHub.Exports.Reactive.UnitTests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
</PropertyGroup>
55

66
<ItemGroup>
7+
<Compile Include="..\Helpers\GlobalSuppressions.cs" Link="GlobalSuppressions.cs" />
78
<Compile Include="..\Helpers\TestBaseClass.cs" />
89
</ItemGroup>
910

test/GitHub.Exports.UnitTests/GitHub.Exports.UnitTests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
</PropertyGroup>
55

66
<ItemGroup>
7+
<Compile Include="..\Helpers\GlobalSuppressions.cs" Link="GlobalSuppressions.cs" />
78
<Compile Include="..\Helpers\TestBaseClass.cs" />
89
</ItemGroup>
910

test/GitHub.Exports.UnitTests/GlobalSuppressions.cs

Lines changed: 0 additions & 13 deletions
This file was deleted.

test/GitHub.Extensions.UnitTests/GitHub.Extensions.UnitTests.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
<PropertyGroup>
33
<TargetFramework>net461</TargetFramework>
44
</PropertyGroup>
5+
<ItemGroup>
6+
<Compile Include="..\Helpers\GlobalSuppressions.cs" Link="GlobalSuppressions.cs" />
7+
</ItemGroup>
58

69
<ItemGroup>
710
<ProjectReference Include="..\..\src\GitHub.Extensions\GitHub.Extensions.csproj" />

test/GitHub.InlineReviews.UnitTests/GitHub.InlineReviews.UnitTests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
</ItemGroup>
1818

1919
<ItemGroup>
20+
<Compile Include="..\Helpers\GlobalSuppressions.cs" Link="GlobalSuppressions.cs" />
2021
<Compile Include="..\Helpers\ReactiveTestHelper.cs" Link="ReactiveTestHelper.cs" />
2122
<Compile Include="..\Helpers\SplatModeDetectorSetUp.cs" />
2223
</ItemGroup>

test/GitHub.TeamFoundation.UnitTests/GitHub.TeamFoundation.UnitTests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
</ItemGroup>
1414

1515
<ItemGroup>
16+
<Compile Include="..\Helpers\GlobalSuppressions.cs" Link="GlobalSuppressions.cs" />
1617
<Compile Include="..\Helpers\SplatModeDetectorSetUp.cs" />
1718
<!--<Compile Include="..\Helpers\CommandTestHelpers.cs" />
1819
<Compile Include="..\Helpers\LazySubstitute.cs" />

test/GitHub.UI.UnitTests/GitHub.UI.UnitTests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
<ItemGroup>
1818
<Compile Include="..\Helpers\AppDomainContext.cs" />
19+
<Compile Include="..\Helpers\GlobalSuppressions.cs" Link="GlobalSuppressions.cs" />
1920
<Compile Include="..\Helpers\ResourceDictionaryUtilities.cs" />
2021
<Compile Include="..\Helpers\SplatModeDetectorSetUp.cs" />
2122
<Compile Include="..\Helpers\TestBaseClass.cs" />

test/GitHub.VisualStudio.UnitTests/GitHub.VisualStudio.UnitTests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
</ItemGroup>
99

1010
<ItemGroup>
11+
<Compile Include="..\Helpers\GlobalSuppressions.cs" Link="GlobalSuppressions.cs" />
1112
<Compile Include="..\Helpers\SplatModeDetectorSetUp.cs" />
1213
<Compile Include="..\Helpers\TestBaseClass.cs" />
1314
</ItemGroup>

0 commit comments

Comments
 (0)