diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-05-04 11:41:55 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-05-04 11:41:55 -0700 |
| commit | 337124bed6a57b40fca11c5c2f5b554f570522a6 (patch) | |
| tree | 06e8552b11852309a2275e4bd63ee61320061876 /src/ext/ComPlus/test/WixToolsetTest.ComPlus/ComPlusExtensionFixture.cs | |
| parent | eab57c2ddebc3dc8cebc22f5337f50062f415c0d (diff) | |
| download | wix-337124bed6a57b40fca11c5c2f5b554f570522a6.tar.gz wix-337124bed6a57b40fca11c5c2f5b554f570522a6.tar.bz2 wix-337124bed6a57b40fca11c5c2f5b554f570522a6.zip | |
Move ComPlus.wixext into ext
Diffstat (limited to 'src/ext/ComPlus/test/WixToolsetTest.ComPlus/ComPlusExtensionFixture.cs')
| -rw-r--r-- | src/ext/ComPlus/test/WixToolsetTest.ComPlus/ComPlusExtensionFixture.cs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/ext/ComPlus/test/WixToolsetTest.ComPlus/ComPlusExtensionFixture.cs b/src/ext/ComPlus/test/WixToolsetTest.ComPlus/ComPlusExtensionFixture.cs new file mode 100644 index 00000000..ace4d6b6 --- /dev/null +++ b/src/ext/ComPlus/test/WixToolsetTest.ComPlus/ComPlusExtensionFixture.cs | |||
| @@ -0,0 +1,32 @@ | |||
| 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.ComPlus | ||
| 4 | { | ||
| 5 | using System.Linq; | ||
| 6 | using WixBuildTools.TestSupport; | ||
| 7 | using WixToolset.Core.TestPackage; | ||
| 8 | using WixToolset.ComPlus; | ||
| 9 | using Xunit; | ||
| 10 | |||
| 11 | public class ComPlusExtensionFixture | ||
| 12 | { | ||
| 13 | [Fact] | ||
| 14 | public void CanBuildUsingComPlusPartition() | ||
| 15 | { | ||
| 16 | var folder = TestData.Get(@"TestData\UsingComPlusPartition"); | ||
| 17 | var build = new Builder(folder, typeof(ComPlusExtensionFactory), new[] { folder }); | ||
| 18 | |||
| 19 | var results = build.BuildAndQuery(Build, "ComPlusPartition"); | ||
| 20 | WixAssert.CompareLineByLine(new[] | ||
| 21 | { | ||
| 22 | "ComPlusPartition:MyPartition\tfilF5_pLhBuF5b4N9XEo52g_hUM5Lo\tMyPartitionId\tMyPartition", | ||
| 23 | }, results); | ||
| 24 | } | ||
| 25 | |||
| 26 | private static void Build(string[] args) | ||
| 27 | { | ||
| 28 | var result = WixRunner.Execute(args) | ||
| 29 | .AssertSuccess(); | ||
| 30 | } | ||
| 31 | } | ||
| 32 | } | ||
