diff options
author | Rob Mensching <rob@firegiant.com> | 2021-03-19 12:10:05 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2021-03-19 12:15:11 -0700 |
commit | 3d5c85c88fc7440b0e232173a18f80f3363c039a (patch) | |
tree | 31a53fe22a7ac66272c9517f4ae194e51d471e6b /src/test/WixToolsetTest.Util/UtilExtensionFixture.cs | |
parent | b441a16555d8a720b89028bc4cf3684e58864115 (diff) | |
download | wix-3d5c85c88fc7440b0e232173a18f80f3363c039a.tar.gz wix-3d5c85c88fc7440b0e232173a18f80f3363c039a.tar.bz2 wix-3d5c85c88fc7440b0e232173a18f80f3363c039a.zip |
RemoveFolderEx.Property should be modularized as a Column
The value in the column is the name of a Property not a formatted field
that can contain properties.
Fixes wixtoolset/issues#4449
Diffstat (limited to '')
-rw-r--r-- | src/test/WixToolsetTest.Util/UtilExtensionFixture.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.Util/UtilExtensionFixture.cs b/src/test/WixToolsetTest.Util/UtilExtensionFixture.cs index 0761a004..3e2a97f9 100644 --- a/src/test/WixToolsetTest.Util/UtilExtensionFixture.cs +++ b/src/test/WixToolsetTest.Util/UtilExtensionFixture.cs | |||
@@ -130,6 +130,21 @@ namespace WixToolsetTest.Util | |||
130 | } | 130 | } |
131 | 131 | ||
132 | [Fact] | 132 | [Fact] |
133 | public void CanBuildRemoveFolderExInMergeModule() | ||
134 | { | ||
135 | var folder = TestData.Get(@"TestData\RemoveFolderEx"); | ||
136 | var build = new Builder(folder, typeof(UtilExtensionFactory), new[] { folder }, "test.msm"); | ||
137 | |||
138 | var results = build.BuildAndQuery(BuildX64, "Binary", "CustomAction", "RemoveFile", "Wix4RemoveFolderEx"); | ||
139 | WixAssert.CompareLineByLine(new[] | ||
140 | { | ||
141 | "Binary:Wix4UtilCA_X64.047730A5_30FE_4A62_A520_DA9381B8226A\t[Binary data]", | ||
142 | "CustomAction:Wix4RemoveFoldersEx_X64.047730A5_30FE_4A62_A520_DA9381B8226A\t65\tWix4UtilCA_X64.047730A5_30FE_4A62_A520_DA9381B8226A WixRemoveFoldersEx\t", | ||
143 | "Wix4RemoveFolderEx:wrfB3e9CDihkNwm06LohylbJcjZ91w.047730A5_30FE_4A62_A520_DA9381B8226A\tfilh4juyUVjoUcWWtcQmd5L07FoON4.047730A5_30FE_4A62_A520_DA9381B8226A\tRemoveProp.047730A5_30FE_4A62_A520_DA9381B8226A\t3", | ||
144 | }, results.OrderBy(s => s).ToArray()); | ||
145 | } | ||
146 | |||
147 | [Fact] | ||
133 | public void CanBuildWithEventManifest() | 148 | public void CanBuildWithEventManifest() |
134 | { | 149 | { |
135 | var folder = TestData.Get(@"TestData\EventManifest"); | 150 | var folder = TestData.Get(@"TestData\EventManifest"); |