diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2021-01-02 23:20:25 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2021-01-03 15:49:32 -0600 |
| commit | d5e31dec3a753f98955f3cde3d49a653cfc4aed0 (patch) | |
| tree | bb1c4b97c125652cfca7cf26faad1000ae0ba0a7 /src/test/WixToolsetTest.CoreIntegration | |
| parent | df40c2722e4a41e01cf326353e2583ae82ccc9a4 (diff) | |
| download | wix-d5e31dec3a753f98955f3cde3d49a653cfc4aed0.tar.gz wix-d5e31dec3a753f98955f3cde3d49a653cfc4aed0.tar.bz2 wix-d5e31dec3a753f98955f3cde3d49a653cfc4aed0.zip | |
Add failing tests.
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration')
11 files changed, 273 insertions, 6 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs b/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs index fae2ff4c..1e314281 100644 --- a/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/BundleFixture.cs | |||
| @@ -216,7 +216,7 @@ namespace WixToolsetTest.CoreIntegration | |||
| 216 | } | 216 | } |
| 217 | } | 217 | } |
| 218 | 218 | ||
| 219 | [Fact(Skip = "Test demonstrates failure")] //https://github.com/wixtoolset/issues/issues/4628 | 219 | [Fact(Skip = "https://github.com/wixtoolset/issues/issues/4628")] |
| 220 | public void CantBuildWithDuplicateCacheIds() | 220 | public void CantBuildWithDuplicateCacheIds() |
| 221 | { | 221 | { |
| 222 | var folder = TestData.Get(@"TestData"); | 222 | var folder = TestData.Get(@"TestData"); |
| @@ -242,7 +242,7 @@ namespace WixToolsetTest.CoreIntegration | |||
| 242 | } | 242 | } |
| 243 | } | 243 | } |
| 244 | 244 | ||
| 245 | [Fact(Skip = "Test demonstrates failure")] //https://github.com/wixtoolset/issues/issues/4574 | 245 | [Fact(Skip = "https://github.com/wixtoolset/issues/issues/4574")] |
| 246 | public void CantBuildWithDuplicatePayloadNames() | 246 | public void CantBuildWithDuplicatePayloadNames() |
| 247 | { | 247 | { |
| 248 | var folder = TestData.Get(@"TestData"); | 248 | var folder = TestData.Get(@"TestData"); |
| @@ -268,7 +268,7 @@ namespace WixToolsetTest.CoreIntegration | |||
| 268 | } | 268 | } |
| 269 | } | 269 | } |
| 270 | 270 | ||
| 271 | [Fact(Skip = "Test demonstrates failure")] //https://github.com/wixtoolset/issues/issues/6291 | 271 | [Fact(Skip = "https://github.com/wixtoolset/issues/issues/6291")] |
| 272 | public void CantBuildWithUnscheduledPackage() | 272 | public void CantBuildWithUnscheduledPackage() |
| 273 | { | 273 | { |
| 274 | var folder = TestData.Get(@"TestData"); | 274 | var folder = TestData.Get(@"TestData"); |
| @@ -294,7 +294,7 @@ namespace WixToolsetTest.CoreIntegration | |||
| 294 | } | 294 | } |
| 295 | } | 295 | } |
| 296 | 296 | ||
| 297 | [Fact(Skip = "Test demonstrates failure")] //https://github.com/wixtoolset/issues/issues/6291 | 297 | [Fact(Skip = "https://github.com/wixtoolset/issues/issues/6291")] |
| 298 | public void CantBuildWithUnscheduledRollbackBoundary() | 298 | public void CantBuildWithUnscheduledRollbackBoundary() |
| 299 | { | 299 | { |
| 300 | var folder = TestData.Get(@"TestData"); | 300 | var folder = TestData.Get(@"TestData"); |
diff --git a/src/test/WixToolsetTest.CoreIntegration/ContainerFixture.cs b/src/test/WixToolsetTest.CoreIntegration/ContainerFixture.cs new file mode 100644 index 00000000..0799cc24 --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/ContainerFixture.cs | |||
| @@ -0,0 +1,140 @@ | |||
| 1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
| 2 | |||
| 3 | namespace WixToolsetTest.CoreIntegration | ||
| 4 | { | ||
| 5 | using System; | ||
| 6 | using System.Collections.Generic; | ||
| 7 | using System.IO; | ||
| 8 | using System.Linq; | ||
| 9 | using WixBuildTools.TestSupport; | ||
| 10 | using WixToolset.Core.TestPackage; | ||
| 11 | using WixToolset.Data; | ||
| 12 | using WixToolset.Data.Symbols; | ||
| 13 | using Xunit; | ||
| 14 | |||
| 15 | public class ContainerFixture | ||
| 16 | { | ||
| 17 | [Fact] | ||
| 18 | public void HarvestedPayloadsArePutInCorrectContainer() | ||
| 19 | { | ||
| 20 | var folder = TestData.Get(@"TestData"); | ||
| 21 | |||
| 22 | using (var fs = new DisposableFileSystem()) | ||
| 23 | { | ||
| 24 | var baseFolder = fs.GetFolder(); | ||
| 25 | var intermediateFolder = Path.Combine(baseFolder, "obj"); | ||
| 26 | var binFolder = Path.Combine(baseFolder, "bin"); | ||
| 27 | var bundlePath = Path.Combine(binFolder, "test.exe"); | ||
| 28 | var baFolderPath = Path.Combine(baseFolder, "ba"); | ||
| 29 | var extractFolderPath = Path.Combine(baseFolder, "extract"); | ||
| 30 | |||
| 31 | var result = WixRunner.Execute(new[] | ||
| 32 | { | ||
| 33 | "build", | ||
| 34 | Path.Combine(folder, "MsiTransaction", "FirstX86.wxs"), | ||
| 35 | Path.Combine(folder, "ProductWithComponentGroupRef", "MinimalComponentGroup.wxs"), | ||
| 36 | Path.Combine(folder, "ProductWithComponentGroupRef", "Product.wxs"), | ||
| 37 | "-bindpath", Path.Combine(folder, "SingleFile", "data"), | ||
| 38 | "-intermediateFolder", intermediateFolder, | ||
| 39 | "-o", Path.Combine(binFolder, "FirstX86.msi"), | ||
| 40 | }); | ||
| 41 | |||
| 42 | result.AssertSuccess(); | ||
| 43 | |||
| 44 | result = WixRunner.Execute(new[] | ||
| 45 | { | ||
| 46 | "build", | ||
| 47 | Path.Combine(folder, "MsiTransaction", "FirstX64.wxs"), | ||
| 48 | Path.Combine(folder, "ProductWithComponentGroupRef", "MinimalComponentGroup.wxs"), | ||
| 49 | Path.Combine(folder, "ProductWithComponentGroupRef", "Product.wxs"), | ||
| 50 | "-bindpath", Path.Combine(folder, "SingleFile", "data"), | ||
| 51 | "-intermediateFolder", intermediateFolder, | ||
| 52 | "-o", Path.Combine(binFolder, "FirstX64.msi"), | ||
| 53 | }); | ||
| 54 | |||
| 55 | result.AssertSuccess(); | ||
| 56 | |||
| 57 | result = WixRunner.Execute(new[] | ||
| 58 | { | ||
| 59 | "build", | ||
| 60 | Path.Combine(folder, "Container", "HarvestIntoDetachedContainer.wxs"), | ||
| 61 | Path.Combine(folder, "BundleWithPackageGroupRef", "Bundle.wxs"), | ||
| 62 | "-bindpath", Path.Combine(folder, "SimpleBundle", "data"), | ||
| 63 | "-bindpath", binFolder, | ||
| 64 | "-intermediateFolder", intermediateFolder, | ||
| 65 | "-o", bundlePath | ||
| 66 | }); | ||
| 67 | |||
| 68 | result.AssertSuccess(); | ||
| 69 | |||
| 70 | Assert.True(File.Exists(bundlePath)); | ||
| 71 | |||
| 72 | var extractResult = BundleExtractor.ExtractBAContainer(null, bundlePath, baFolderPath, extractFolderPath); | ||
| 73 | extractResult.AssertSuccess(); | ||
| 74 | |||
| 75 | var payloads = extractResult.SelectManifestNodes("/burn:BurnManifest/burn:Payload"); | ||
| 76 | Assert.Equal(4, payloads.Count); | ||
| 77 | var ignoreAttributes = new Dictionary<string, List<string>> { { "Payload", new List<string> { "FileSize", "Hash" } } }; | ||
| 78 | Assert.Equal(@"<Payload Id='FirstX86.msi' FilePath='FirstX86.msi' FileSize='*' Hash='*' Packaging='embedded' SourcePath='a0' Container='WixAttachedContainer' />", payloads[0].GetTestXml(ignoreAttributes)); | ||
| 79 | Assert.Equal(@"<Payload Id='FirstX64.msi' FilePath='FirstX64.msi' FileSize='*' Hash='*' Packaging='embedded' SourcePath='a1' Container='FirstX64' />", payloads[1].GetTestXml(ignoreAttributes)); | ||
| 80 | Assert.Equal(@"<Payload Id='fk1m38Cf9RZ2Bx_ipinRY6BftelU' FilePath='PFiles\MsiPackage\test.txt' FileSize='*' Hash='*' Packaging='embedded' SourcePath='a2' Container='WixAttachedContainer' />", payloads[2].GetTestXml(ignoreAttributes)); | ||
| 81 | Assert.Equal(@"<Payload Id='fC0n41rZK8oW3JK8LzHu6AT3CjdQ' FilePath='PFiles\MsiPackage\test.txt' FileSize='*' Hash='*' Packaging='embedded' SourcePath='a3' Container='FirstX64' />", payloads[3].GetTestXml(ignoreAttributes)); | ||
| 82 | } | ||
| 83 | } | ||
| 84 | |||
| 85 | [Fact(Skip = "https://github.com/wixtoolset/issues/issues/6144")] | ||
| 86 | public void MultipleAttachedContainersAreNotCurrentlySupported() | ||
| 87 | { | ||
| 88 | var folder = TestData.Get(@"TestData"); | ||
| 89 | |||
| 90 | using (var fs = new DisposableFileSystem()) | ||
| 91 | { | ||
| 92 | var baseFolder = fs.GetFolder(); | ||
| 93 | var intermediateFolder = Path.Combine(baseFolder, "obj"); | ||
| 94 | var binFolder = Path.Combine(baseFolder, "bin"); | ||
| 95 | var bundlePath = Path.Combine(binFolder, "test.exe"); | ||
| 96 | var baFolderPath = Path.Combine(baseFolder, "ba"); | ||
| 97 | var extractFolderPath = Path.Combine(baseFolder, "extract"); | ||
| 98 | |||
| 99 | var result = WixRunner.Execute(new[] | ||
| 100 | { | ||
| 101 | "build", | ||
| 102 | Path.Combine(folder, "MsiTransaction", "FirstX86.wxs"), | ||
| 103 | Path.Combine(folder, "ProductWithComponentGroupRef", "MinimalComponentGroup.wxs"), | ||
| 104 | Path.Combine(folder, "ProductWithComponentGroupRef", "Product.wxs"), | ||
| 105 | "-bindpath", Path.Combine(folder, "SingleFile", "data"), | ||
| 106 | "-intermediateFolder", intermediateFolder, | ||
| 107 | "-o", Path.Combine(binFolder, "FirstX86.msi"), | ||
| 108 | }); | ||
| 109 | |||
| 110 | result.AssertSuccess(); | ||
| 111 | |||
| 112 | result = WixRunner.Execute(new[] | ||
| 113 | { | ||
| 114 | "build", | ||
| 115 | Path.Combine(folder, "MsiTransaction", "FirstX64.wxs"), | ||
| 116 | Path.Combine(folder, "ProductWithComponentGroupRef", "MinimalComponentGroup.wxs"), | ||
| 117 | Path.Combine(folder, "ProductWithComponentGroupRef", "Product.wxs"), | ||
| 118 | "-bindpath", Path.Combine(folder, "SingleFile", "data"), | ||
| 119 | "-intermediateFolder", intermediateFolder, | ||
| 120 | "-o", Path.Combine(binFolder, "FirstX64.msi"), | ||
| 121 | }); | ||
| 122 | |||
| 123 | result.AssertSuccess(); | ||
| 124 | |||
| 125 | result = WixRunner.Execute(new[] | ||
| 126 | { | ||
| 127 | "build", | ||
| 128 | Path.Combine(folder, "Container", "MultipleAttachedContainers.wxs"), | ||
| 129 | Path.Combine(folder, "BundleWithPackageGroupRef", "Bundle.wxs"), | ||
| 130 | "-bindpath", Path.Combine(folder, "SimpleBundle", "data"), | ||
| 131 | "-bindpath", binFolder, | ||
| 132 | "-intermediateFolder", intermediateFolder, | ||
| 133 | "-o", bundlePath | ||
| 134 | }); | ||
| 135 | |||
| 136 | Assert.InRange(result.ExitCode, 2, Int32.MaxValue); | ||
| 137 | } | ||
| 138 | } | ||
| 139 | } | ||
| 140 | } | ||
diff --git a/src/test/WixToolsetTest.CoreIntegration/CustomActionFixture.cs b/src/test/WixToolsetTest.CoreIntegration/CustomActionFixture.cs index 00088fb9..65f4be31 100644 --- a/src/test/WixToolsetTest.CoreIntegration/CustomActionFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/CustomActionFixture.cs | |||
| @@ -11,7 +11,7 @@ namespace WixToolsetTest.CoreIntegration | |||
| 11 | 11 | ||
| 12 | public class CustomActionFixture | 12 | public class CustomActionFixture |
| 13 | { | 13 | { |
| 14 | [Fact(Skip = "Test demonstrates failure")] //https://github.com/wixtoolset/issues/issues/6201 | 14 | [Fact(Skip = "https://github.com/wixtoolset/issues/issues/6201")] |
| 15 | public void CanDetectCustomActionCycle() | 15 | public void CanDetectCustomActionCycle() |
| 16 | { | 16 | { |
| 17 | var folder = TestData.Get(@"TestData"); | 17 | var folder = TestData.Get(@"TestData"); |
diff --git a/src/test/WixToolsetTest.CoreIntegration/PayloadFixture.cs b/src/test/WixToolsetTest.CoreIntegration/PayloadFixture.cs index 4fc57c76..5b6bbeb5 100644 --- a/src/test/WixToolsetTest.CoreIntegration/PayloadFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/PayloadFixture.cs | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | namespace WixToolsetTest.CoreIntegration | 3 | namespace WixToolsetTest.CoreIntegration |
| 4 | { | 4 | { |
| 5 | using System; | 5 | using System; |
| 6 | using System.Collections.Generic; | ||
| 6 | using System.IO; | 7 | using System.IO; |
| 7 | using System.Linq; | 8 | using System.Linq; |
| 8 | using WixBuildTools.TestSupport; | 9 | using WixBuildTools.TestSupport; |
| @@ -114,5 +115,31 @@ namespace WixToolsetTest.CoreIntegration | |||
| 114 | Assert.Equal(expectedPayloadMustBeRelativeToCache, result.Messages.Where(m => m.Id == (int)ErrorMessages.Ids.PayloadMustBeRelativeToCache).Count()); | 115 | Assert.Equal(expectedPayloadMustBeRelativeToCache, result.Messages.Where(m => m.Id == (int)ErrorMessages.Ids.PayloadMustBeRelativeToCache).Count()); |
| 115 | } | 116 | } |
| 116 | } | 117 | } |
| 118 | |||
| 119 | [Fact(Skip = "https://github.com/wixtoolset/issues/issues/5273")] | ||
| 120 | public void RejectsPayloadSharedBetweenPackageAndBA() | ||
| 121 | { | ||
| 122 | var folder = TestData.Get(@"TestData"); | ||
| 123 | |||
| 124 | using (var fs = new DisposableFileSystem()) | ||
| 125 | { | ||
| 126 | var baseFolder = fs.GetFolder(); | ||
| 127 | var intermediateFolder = Path.Combine(baseFolder, "obj"); | ||
| 128 | var bundlePath = Path.Combine(baseFolder, @"bin\test.exe"); | ||
| 129 | |||
| 130 | var result = WixRunner.Execute(new[] | ||
| 131 | { | ||
| 132 | "build", | ||
| 133 | Path.Combine(folder, "Payload", "SharedBAAndPackagePayloadBundle.wxs"), | ||
| 134 | Path.Combine(folder, "BundleWithPackageGroupRef", "Bundle.wxs"), | ||
| 135 | "-bindpath", Path.Combine(folder, "SimpleBundle", "data"), | ||
| 136 | "-bindpath", Path.Combine(folder, ".Data"), | ||
| 137 | "-intermediateFolder", intermediateFolder, | ||
| 138 | "-o", bundlePath, | ||
| 139 | }); | ||
| 140 | |||
| 141 | Assert.InRange(result.ExitCode, 2, int.MaxValue); | ||
| 142 | } | ||
| 143 | } | ||
| 117 | } | 144 | } |
| 118 | } | 145 | } |
diff --git a/src/test/WixToolsetTest.CoreIntegration/RegistryFixture.cs b/src/test/WixToolsetTest.CoreIntegration/RegistryFixture.cs index 3b13d8f5..a7d6edb4 100644 --- a/src/test/WixToolsetTest.CoreIntegration/RegistryFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/RegistryFixture.cs | |||
| @@ -111,7 +111,7 @@ namespace WixToolsetTest.CoreIntegration | |||
| 111 | } | 111 | } |
| 112 | } | 112 | } |
| 113 | 113 | ||
| 114 | [Fact(Skip = "Test demonstrates failure")] //https://github.com/wixtoolset/issues/issues/4753 | 114 | [Fact(Skip = "https://github.com/wixtoolset/issues/issues/4753")] |
| 115 | public void PopulatesRegistryTableWithoutExtraBackslash() | 115 | public void PopulatesRegistryTableWithoutExtraBackslash() |
| 116 | { | 116 | { |
| 117 | var folder = TestData.Get(@"TestData"); | 117 | var folder = TestData.Get(@"TestData"); |
diff --git a/src/test/WixToolsetTest.CoreIntegration/RollbackBoundaryFixture.cs b/src/test/WixToolsetTest.CoreIntegration/RollbackBoundaryFixture.cs new file mode 100644 index 00000000..b713920c --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/RollbackBoundaryFixture.cs | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
| 2 | |||
| 3 | namespace WixToolsetTest.CoreIntegration | ||
| 4 | { | ||
| 5 | using System.IO; | ||
| 6 | using WixBuildTools.TestSupport; | ||
| 7 | using WixToolset.Core.TestPackage; | ||
| 8 | using Xunit; | ||
| 9 | |||
| 10 | public class RollbackBoundaryFixture | ||
| 11 | { | ||
| 12 | [Fact(Skip = "Test demonstrates failure")] | ||
| 13 | public void CanStartChainWithRollbackBoundary() | ||
| 14 | { | ||
| 15 | var folder = TestData.Get(@"TestData"); | ||
| 16 | |||
| 17 | using (var fs = new DisposableFileSystem()) | ||
| 18 | { | ||
| 19 | var baseFolder = fs.GetFolder(); | ||
| 20 | var intermediateFolder = Path.Combine(baseFolder, "obj"); | ||
| 21 | var exePath = Path.Combine(baseFolder, @"bin\test.exe"); | ||
| 22 | |||
| 23 | var result = WixRunner.Execute(new[] | ||
| 24 | { | ||
| 25 | "build", | ||
| 26 | Path.Combine(folder, "RollbackBoundary", "BeginningOfChain.wxs"), | ||
| 27 | Path.Combine(folder, "BundleWithPackageGroupRef", "Bundle.wxs"), | ||
| 28 | Path.Combine(folder, "BundleWithPackageGroupRef", "MinimalPackageGroup.wxs"), | ||
| 29 | "-bindpath", Path.Combine(folder, "SimpleBundle", "data"), | ||
| 30 | "-intermediateFolder", intermediateFolder, | ||
| 31 | "-o", exePath, | ||
| 32 | }); | ||
| 33 | |||
| 34 | result.AssertSuccess(); | ||
| 35 | |||
| 36 | Assert.True(File.Exists(exePath)); | ||
| 37 | } | ||
| 38 | } | ||
| 39 | |||
| 40 | } | ||
| 41 | } | ||
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/Container/HarvestIntoDetachedContainer.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/Container/HarvestIntoDetachedContainer.wxs new file mode 100644 index 00000000..e175a18f --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/Container/HarvestIntoDetachedContainer.wxs | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
| 3 | <Fragment> | ||
| 4 | <PackageGroup Id="BundlePackages"> | ||
| 5 | <MsiPackage SourceFile="FirstX86.msi" /> | ||
| 6 | <PackageGroupRef Id="FirstX64" /> | ||
| 7 | </PackageGroup> | ||
| 8 | <PackageGroup Id="FirstX64"> | ||
| 9 | <MsiPackage SourceFile="FirstX64.msi" /> | ||
| 10 | </PackageGroup> | ||
| 11 | <Container Id="FirstX64" Name="FirstX64" Type="detached"> | ||
| 12 | <PackageGroupRef Id="FirstX64" /> | ||
| 13 | </Container> | ||
| 14 | </Fragment> | ||
| 15 | </Wix> | ||
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/Container/MultipleAttachedContainers.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/Container/MultipleAttachedContainers.wxs new file mode 100644 index 00000000..28900e55 --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/Container/MultipleAttachedContainers.wxs | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
| 3 | <Fragment> | ||
| 4 | <PackageGroup Id="BundlePackages"> | ||
| 5 | <MsiPackage SourceFile="FirstX86.msi" /> | ||
| 6 | <PackageGroupRef Id="FirstX64" /> | ||
| 7 | </PackageGroup> | ||
| 8 | <PackageGroup Id="FirstX64"> | ||
| 9 | <MsiPackage SourceFile="FirstX64.msi" /> | ||
| 10 | </PackageGroup> | ||
| 11 | <Container Id="FirstX64" Name="FirstX64" Type="attached"> | ||
| 12 | <PackageGroupRef Id="FirstX64" /> | ||
| 13 | </Container> | ||
| 14 | </Fragment> | ||
| 15 | </Wix> | ||
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/Payload/SharedBAAndPackagePayloadBundle.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/Payload/SharedBAAndPackagePayloadBundle.wxs new file mode 100644 index 00000000..4cfeb99f --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/Payload/SharedBAAndPackagePayloadBundle.wxs | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
| 3 | <Fragment> | ||
| 4 | <PackageGroup Id="BundlePackages"> | ||
| 5 | <ExePackage SourceFile="burn.exe"> | ||
| 6 | <PayloadGroupRef Id="Shared" /> | ||
| 7 | </ExePackage> | ||
| 8 | </PackageGroup> | ||
| 9 | <BootstrapperApplication> | ||
| 10 | <PayloadGroupRef Id="Shared" /> | ||
| 11 | </BootstrapperApplication> | ||
| 12 | <PayloadGroup Id="Shared"> | ||
| 13 | <Payload SourceFile="$(sys.SOURCEFILEPATH)" /> | ||
| 14 | </PayloadGroup> | ||
| 15 | </Fragment> | ||
| 16 | </Wix> | ||
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/RollbackBoundary/BeginningOfChain.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/RollbackBoundary/BeginningOfChain.wxs new file mode 100644 index 00000000..ecfccfcb --- /dev/null +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/RollbackBoundary/BeginningOfChain.wxs | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
| 3 | <Fragment> | ||
| 4 | <PackageGroup Id="BundlePackages"> | ||
| 5 | <RollbackBoundary Id="nonvital" Vital="no" /> | ||
| 6 | <PackageGroupRef Id="MinimalPackageGroup" /> | ||
| 7 | </PackageGroup> | ||
| 8 | </Fragment> | ||
| 9 | </Wix> | ||
diff --git a/src/test/WixToolsetTest.CoreIntegration/WixToolsetTest.CoreIntegration.csproj b/src/test/WixToolsetTest.CoreIntegration/WixToolsetTest.CoreIntegration.csproj index 918635e9..595c8a39 100644 --- a/src/test/WixToolsetTest.CoreIntegration/WixToolsetTest.CoreIntegration.csproj +++ b/src/test/WixToolsetTest.CoreIntegration/WixToolsetTest.CoreIntegration.csproj | |||
| @@ -38,6 +38,8 @@ | |||
| 38 | <Content Include="TestData\Class\DecompiledOldClassTableDef.wxs" CopyToOutputDirectory="PreserveNewest" /> | 38 | <Content Include="TestData\Class\DecompiledOldClassTableDef.wxs" CopyToOutputDirectory="PreserveNewest" /> |
| 39 | <Content Include="TestData\Class\IconIndex0.wxs" CopyToOutputDirectory="PreserveNewest" /> | 39 | <Content Include="TestData\Class\IconIndex0.wxs" CopyToOutputDirectory="PreserveNewest" /> |
| 40 | <Content Include="TestData\Class\OldClassTableDef.msi" CopyToOutputDirectory="PreserveNewest" /> | 40 | <Content Include="TestData\Class\OldClassTableDef.msi" CopyToOutputDirectory="PreserveNewest" /> |
| 41 | <Content Include="TestData\Container\HarvestIntoDetachedContainer.wxs" CopyToOutputDirectory="PreserveNewest" /> | ||
| 42 | <Content Include="TestData\Container\MultipleAttachedContainers.wxs" CopyToOutputDirectory="PreserveNewest" /> | ||
| 41 | <Content Include="TestData\CopyFile\CopyFile.wxs" CopyToOutputDirectory="PreserveNewest" /> | 43 | <Content Include="TestData\CopyFile\CopyFile.wxs" CopyToOutputDirectory="PreserveNewest" /> |
| 42 | <Content Include="TestData\CustomAction\SimpleCustomAction.wxs" CopyToOutputDirectory="PreserveNewest" /> | 44 | <Content Include="TestData\CustomAction\SimpleCustomAction.wxs" CopyToOutputDirectory="PreserveNewest" /> |
| 43 | <Content Include="TestData\CustomAction\CustomActionCycle.wxs" CopyToOutputDirectory="PreserveNewest" /> | 45 | <Content Include="TestData\CustomAction\CustomActionCycle.wxs" CopyToOutputDirectory="PreserveNewest" /> |
| @@ -72,6 +74,7 @@ | |||
| 72 | <Content Include="TestData\MsiTransaction\X86AfterX64Bundle.wxs" CopyToOutputDirectory="PreserveNewest" /> | 74 | <Content Include="TestData\MsiTransaction\X86AfterX64Bundle.wxs" CopyToOutputDirectory="PreserveNewest" /> |
| 73 | <Content Include="TestData\Payload\AbsoluteName.wxs" CopyToOutputDirectory="PreserveNewest" /> | 75 | <Content Include="TestData\Payload\AbsoluteName.wxs" CopyToOutputDirectory="PreserveNewest" /> |
| 74 | <Content Include="TestData\Payload\CanonicalizeName.wxs" CopyToOutputDirectory="PreserveNewest" /> | 76 | <Content Include="TestData\Payload\CanonicalizeName.wxs" CopyToOutputDirectory="PreserveNewest" /> |
| 77 | <Content Include="TestData\Payload\SharedBAAndPackagePayloadBundle.wxs" CopyToOutputDirectory="PreserveNewest" /> | ||
| 75 | <Content Include="TestData\Payload\ValidName.wxs" CopyToOutputDirectory="PreserveNewest" /> | 78 | <Content Include="TestData\Payload\ValidName.wxs" CopyToOutputDirectory="PreserveNewest" /> |
| 76 | <Content Include="TestData\PatchFamilyFilter\.data\Av1.0.0.txt" CopyToOutputDirectory="PreserveNewest" /> | 79 | <Content Include="TestData\PatchFamilyFilter\.data\Av1.0.0.txt" CopyToOutputDirectory="PreserveNewest" /> |
| 77 | <Content Include="TestData\PatchFamilyFilter\.data\Av1.0.1.txt" CopyToOutputDirectory="PreserveNewest" /> | 80 | <Content Include="TestData\PatchFamilyFilter\.data\Av1.0.1.txt" CopyToOutputDirectory="PreserveNewest" /> |
| @@ -187,6 +190,7 @@ | |||
| 187 | <Content Include="TestData\OverridableActions\Package.en-us.wxl" CopyToOutputDirectory="PreserveNewest" /> | 190 | <Content Include="TestData\OverridableActions\Package.en-us.wxl" CopyToOutputDirectory="PreserveNewest" /> |
| 188 | <Content Include="TestData\OverridableActions\Package.wxs" CopyToOutputDirectory="PreserveNewest" /> | 191 | <Content Include="TestData\OverridableActions\Package.wxs" CopyToOutputDirectory="PreserveNewest" /> |
| 189 | <Content Include="TestData\OverridableActions\PackageComponents.wxs" CopyToOutputDirectory="PreserveNewest" /> | 192 | <Content Include="TestData\OverridableActions\PackageComponents.wxs" CopyToOutputDirectory="PreserveNewest" /> |
| 193 | <Content Include="TestData\RollbackBoundary\BeginningOfChain.wxs" CopyToOutputDirectory="PreserveNewest" /> | ||
| 190 | <Content Include="TestData\TextStyle\ColorNull.wxs" CopyToOutputDirectory="PreserveNewest" /> | 194 | <Content Include="TestData\TextStyle\ColorNull.wxs" CopyToOutputDirectory="PreserveNewest" /> |
| 191 | <Content Include="TestData\TextStyle\SizeLocalized.en-us.wxl" CopyToOutputDirectory="PreserveNewest" /> | 195 | <Content Include="TestData\TextStyle\SizeLocalized.en-us.wxl" CopyToOutputDirectory="PreserveNewest" /> |
| 192 | <Content Include="TestData\TextStyle\SizeLocalized.wxs" CopyToOutputDirectory="PreserveNewest" /> | 196 | <Content Include="TestData\TextStyle\SizeLocalized.wxs" CopyToOutputDirectory="PreserveNewest" /> |
