diff options
Diffstat (limited to 'src/test/burn/WixToolsetTest.BurnE2E/ContainerTests.cs')
-rw-r--r-- | src/test/burn/WixToolsetTest.BurnE2E/ContainerTests.cs | 29 |
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 | |||
3 | namespace 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 | } | ||