diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2021-04-24 16:28:44 -0500 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2021-04-25 23:06:35 -0500 |
| commit | f4709371fa21ca1d0c06e04d1b53c0b10bfafeed (patch) | |
| tree | 622576e0b46b0cea56143fd707936f9635389bad /src/test/WixToolsetTest.CoreIntegration/PayloadFixture.cs | |
| parent | 23de0a19bffe457916b0a45e07044650ace8f456 (diff) | |
| download | wix-f4709371fa21ca1d0c06e04d1b53c0b10bfafeed.tar.gz wix-f4709371fa21ca1d0c06e04d1b53c0b10bfafeed.tar.bz2 wix-f4709371fa21ca1d0c06e04d1b53c0b10bfafeed.zip | |
Perform more bundle validation during linking.
#5273, #6291, #6398
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/PayloadFixture.cs')
| -rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/PayloadFixture.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/PayloadFixture.cs b/src/test/WixToolsetTest.CoreIntegration/PayloadFixture.cs index e9e59b9e..da87bf6c 100644 --- a/src/test/WixToolsetTest.CoreIntegration/PayloadFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/PayloadFixture.cs | |||
| @@ -8,6 +8,7 @@ namespace WixToolsetTest.CoreIntegration | |||
| 8 | using System.Linq; | 8 | using System.Linq; |
| 9 | using System.Xml; | 9 | using System.Xml; |
| 10 | using WixBuildTools.TestSupport; | 10 | using WixBuildTools.TestSupport; |
| 11 | using WixToolset.Core; | ||
| 11 | using WixToolset.Core.TestPackage; | 12 | using WixToolset.Core.TestPackage; |
| 12 | using WixToolset.Data; | 13 | using WixToolset.Data; |
| 13 | using WixToolset.Data.Symbols; | 14 | using WixToolset.Data.Symbols; |
| @@ -117,7 +118,7 @@ namespace WixToolsetTest.CoreIntegration | |||
| 117 | } | 118 | } |
| 118 | } | 119 | } |
| 119 | 120 | ||
| 120 | [Fact(Skip = "https://github.com/wixtoolset/issues/issues/5273")] | 121 | [Fact] |
| 121 | public void RejectsPayloadSharedBetweenPackageAndBA() | 122 | public void RejectsPayloadSharedBetweenPackageAndBA() |
| 122 | { | 123 | { |
| 123 | var folder = TestData.Get(@"TestData"); | 124 | var folder = TestData.Get(@"TestData"); |
| @@ -139,7 +140,7 @@ namespace WixToolsetTest.CoreIntegration | |||
| 139 | "-o", bundlePath, | 140 | "-o", bundlePath, |
| 140 | }); | 141 | }); |
| 141 | 142 | ||
| 142 | Assert.InRange(result.ExitCode, 2, int.MaxValue); | 143 | Assert.Equal((int)LinkerErrors.Ids.PayloadSharedWithBA, result.ExitCode); |
| 143 | } | 144 | } |
| 144 | } | 145 | } |
| 145 | 146 | ||
