aboutsummaryrefslogtreecommitdiff
path: root/src/test/WixToolsetTest.CoreIntegration/RollbackBoundaryFixture.cs
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-01-02 23:20:25 -0600
committerSean Hall <r.sean.hall@gmail.com>2021-01-03 15:49:32 -0600
commitd5e31dec3a753f98955f3cde3d49a653cfc4aed0 (patch)
treebb1c4b97c125652cfca7cf26faad1000ae0ba0a7 /src/test/WixToolsetTest.CoreIntegration/RollbackBoundaryFixture.cs
parentdf40c2722e4a41e01cf326353e2583ae82ccc9a4 (diff)
downloadwix-d5e31dec3a753f98955f3cde3d49a653cfc4aed0.tar.gz
wix-d5e31dec3a753f98955f3cde3d49a653cfc4aed0.tar.bz2
wix-d5e31dec3a753f98955f3cde3d49a653cfc4aed0.zip
Add failing tests.
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/RollbackBoundaryFixture.cs')
-rw-r--r--src/test/WixToolsetTest.CoreIntegration/RollbackBoundaryFixture.cs41
1 files changed, 41 insertions, 0 deletions
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
3namespace 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}