Skip to content

Commit 607eef7

Browse files
committed
(split from main repo) Add TestAppSettingsAttribute for all tests
in order to set AppSettings.CheckForUpdates = false
1 parent ffcbb43 commit 607eef7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

GerritTests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<ItemGroup>
1717
<ProjectReference Include="..\..\..\Plugins\Gerrit\Gerrit.csproj" />
1818
<ProjectReference Include="..\..\..\ResourceManager\ResourceManager.csproj" />
19+
<ProjectReference Include="..\..\CommonTestUtils\CommonTestUtils.csproj" />
1920
</ItemGroup>
2021

2122
</Project>

Properties/AssemblyInfo.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System.Reflection;
22
using System.Runtime.InteropServices;
3+
using CommonTestUtils;
34

45
// General Information about an assembly is controlled through the following
56
// set of attributes. Change these attribute values to modify the information
@@ -33,3 +34,5 @@
3334
// [assembly: AssemblyVersion("1.0.*")]
3435
[assembly: AssemblyVersion("1.0.0.0")]
3536
[assembly: AssemblyFileVersion("1.0.0.0")]
37+
38+
[assembly: TestAppSettings]

0 commit comments

Comments
 (0)