aboutsummaryrefslogtreecommitdiff
path: root/src/test/burn/WixToolsetTest.BurnE2E
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-11-02 17:47:46 -0500
committerSean Hall <r.sean.hall@gmail.com>2021-11-03 10:53:41 -0500
commit323f62d3d0f4b73db5fde8977e2540194c6de006 (patch)
treeefcbb140502f5c274052bcc1ef86e202e8bf6a7b /src/test/burn/WixToolsetTest.BurnE2E
parentce3aea757a01f0eea906fa610501a66735ef3a15 (diff)
downloadwix-323f62d3d0f4b73db5fde8977e2540194c6de006.tar.gz
wix-323f62d3d0f4b73db5fde8977e2540194c6de006.tar.bz2
wix-323f62d3d0f4b73db5fde8977e2540194c6de006.zip
Follow up for multiple attached container support
* validate cContainers * use previous embeddedid format and use intermediate folder when extracting attached containers * remove special cases for 0 byte containers in BurnCommon classes and Insignia * don't hardcode max containers * reduce properties in BurnCommon * add e2e test #6144
Diffstat (limited to 'src/test/burn/WixToolsetTest.BurnE2E')
-rw-r--r--src/test/burn/WixToolsetTest.BurnE2E/ContainerTests.cs29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/test/burn/WixToolsetTest.BurnE2E/ContainerTests.cs b/src/test/burn/WixToolsetTest.BurnE2E/ContainerTests.cs
new file mode 100644
index 00000000..cd6beaa9
--- /dev/null
+++ b/src/test/burn/WixToolsetTest.BurnE2E/ContainerTests.cs
@@ -0,0 +1,29 @@
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
3namespace WixToolsetTest.BurnE2E
4{
5 using Xunit;
6 using Xunit.Abstractions;
7
8 public class ContainerTests : BurnE2ETests
9 {
10 public ContainerTests(ITestOutputHelper testOutputHelper) : base(testOutputHelper) { }
11
12 [Fact]
13 public void CanSupportMultipleAttachedContainers()
14 {
15 var packageA = this.CreatePackageInstaller("PackageA");
16 var packageB = this.CreatePackageInstaller("PackageB");
17 var bundleA = this.CreateBundleInstaller("BundleA");
18
19 packageA.VerifyInstalled(false);
20 packageB.VerifyInstalled(false);
21
22 bundleA.Install();
23 bundleA.VerifyRegisteredAndInPackageCache();
24
25 packageA.VerifyInstalled(true);
26 packageB.VerifyInstalled(true);
27 }
28 }
29}