diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2020-12-18 22:04:48 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2020-12-18 23:58:30 -0600 |
commit | 0e71bdd637a6b3c34f18d4b3630d55fa4cdfd2a3 (patch) | |
tree | 697466ea42c21f6d996cf324eb191f2182300697 /src/test | |
parent | 4e9b8c43ec5870d6aee75a95acd8a0de4ff4c1db (diff) | |
download | wix-0e71bdd637a6b3c34f18d4b3630d55fa4cdfd2a3.tar.gz wix-0e71bdd637a6b3c34f18d4b3630d55fa4cdfd2a3.tar.bz2 wix-0e71bdd637a6b3c34f18d4b3630d55fa4cdfd2a3.zip |
Enable XML doc.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/PayloadFixture.cs | 7 | ||||
-rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/WixToolsetTest.CoreIntegration.csproj | 4 |
2 files changed, 4 insertions, 7 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/PayloadFixture.cs b/src/test/WixToolsetTest.CoreIntegration/PayloadFixture.cs index 4568f93f..4a9344b9 100644 --- a/src/test/WixToolsetTest.CoreIntegration/PayloadFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/PayloadFixture.cs | |||
@@ -6,7 +6,6 @@ namespace WixToolsetTest.CoreIntegration | |||
6 | using System.IO; | 6 | using System.IO; |
7 | using System.Linq; | 7 | using System.Linq; |
8 | using WixBuildTools.TestSupport; | 8 | using WixBuildTools.TestSupport; |
9 | using WixToolset.Core.Burn.Bundles; | ||
10 | using WixToolset.Core.TestPackage; | 9 | using WixToolset.Core.TestPackage; |
11 | using WixToolset.Data; | 10 | using WixToolset.Data; |
12 | using WixToolset.Data.Symbols; | 11 | using WixToolset.Data.Symbols; |
@@ -109,8 +108,10 @@ namespace WixToolsetTest.CoreIntegration | |||
109 | 108 | ||
110 | Assert.InRange(result.ExitCode, 2, int.MaxValue); | 109 | Assert.InRange(result.ExitCode, 2, int.MaxValue); |
111 | 110 | ||
112 | Assert.Equal(1, result.Messages.Where(m => m.Id == (int)ErrorMessages.Ids.IllegalRelativeLongFilename).Count()); | 111 | var expectedIllegalRelativeLongFileName = 1; |
113 | Assert.Equal(2, result.Messages.Where(m => m.Id == (int)ErrorMessages.Ids.PayloadMustBeRelativeToCache).Count()); | 112 | var expectedPayloadMustBeRelativeToCache = 2; |
113 | Assert.Equal(expectedIllegalRelativeLongFileName, result.Messages.Where(m => m.Id == (int)ErrorMessages.Ids.IllegalRelativeLongFilename).Count()); | ||
114 | Assert.Equal(expectedPayloadMustBeRelativeToCache, result.Messages.Where(m => m.Id == (int)ErrorMessages.Ids.PayloadMustBeRelativeToCache).Count()); | ||
114 | } | 115 | } |
115 | } | 116 | } |
116 | } | 117 | } |
diff --git a/src/test/WixToolsetTest.CoreIntegration/WixToolsetTest.CoreIntegration.csproj b/src/test/WixToolsetTest.CoreIntegration/WixToolsetTest.CoreIntegration.csproj index 9ebf1e5c..b6ab1e03 100644 --- a/src/test/WixToolsetTest.CoreIntegration/WixToolsetTest.CoreIntegration.csproj +++ b/src/test/WixToolsetTest.CoreIntegration/WixToolsetTest.CoreIntegration.csproj | |||
@@ -8,10 +8,6 @@ | |||
8 | <DebugType>embedded</DebugType> | 8 | <DebugType>embedded</DebugType> |
9 | </PropertyGroup> | 9 | </PropertyGroup> |
10 | 10 | ||
11 | <PropertyGroup> | ||
12 | <NoWarn>NU1701</NoWarn> | ||
13 | </PropertyGroup> | ||
14 | |||
15 | <ItemGroup> | 11 | <ItemGroup> |
16 | <Content Include="TestData\.Data\burn.exe" CopyToOutputDirectory="PreserveNewest" /> | 12 | <Content Include="TestData\.Data\burn.exe" CopyToOutputDirectory="PreserveNewest" /> |
17 | <Content Include="TestData\AppId\Advertised.wxs" CopyToOutputDirectory="PreserveNewest" /> | 13 | <Content Include="TestData\AppId\Advertised.wxs" CopyToOutputDirectory="PreserveNewest" /> |