diff options
Diffstat (limited to 'src/test/WixToolsetTest.Bal/BalExtensionFixture.cs')
-rw-r--r-- | src/test/WixToolsetTest.Bal/BalExtensionFixture.cs | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.Bal/BalExtensionFixture.cs b/src/test/WixToolsetTest.Bal/BalExtensionFixture.cs new file mode 100644 index 00000000..c5a25948 --- /dev/null +++ b/src/test/WixToolsetTest.Bal/BalExtensionFixture.cs | |||
@@ -0,0 +1,35 @@ | |||
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.Bal | ||
4 | { | ||
5 | using System.IO; | ||
6 | using WixBuildTools.TestSupport; | ||
7 | using WixToolset.Core.TestPackage; | ||
8 | using Xunit; | ||
9 | |||
10 | public class BalExtensionFixture | ||
11 | { | ||
12 | [Fact(Skip = "Test demonstrates failure")] | ||
13 | public void CanBuildUsingWixStdBa() | ||
14 | { | ||
15 | using (var fs = new DisposableFileSystem()) | ||
16 | { | ||
17 | var baseFolder = fs.GetFolder(); | ||
18 | var bundleFile = Path.Combine(baseFolder, "bin", "test.exe"); | ||
19 | var bundleSourceFolder = TestData.Get(@"TestData\WixStdBa"); | ||
20 | |||
21 | var compileResult = WixRunner.Execute(new[] | ||
22 | { | ||
23 | "build", | ||
24 | Path.Combine(bundleSourceFolder, "Bundle.wxs"), | ||
25 | "-ext", TestData.Get(@"WixToolset.Bal.wixext.dll"), | ||
26 | "-burnStub", TestData.Get(@"runtimes\win-x86\native\burn.x86.exe"), | ||
27 | "-o", bundleFile, | ||
28 | }); | ||
29 | compileResult.AssertSuccess(); | ||
30 | |||
31 | Assert.True(File.Exists(bundleFile)); | ||
32 | } | ||
33 | } | ||
34 | } | ||
35 | } | ||