diff options
| author | Bob Arnson <bob@firegiant.com> | 2020-07-12 22:40:30 -0400 |
|---|---|---|
| committer | Bob Arnson <bob@firegiant.com> | 2020-07-12 22:44:02 -0400 |
| commit | a34b060e7b1375be7c8c557a985b484155ff2702 (patch) | |
| tree | 4fa2e115e49467c12b14ce9cdb49b103c3e4515f /src/test/WixToolsetTest.Util/UtilExtensionFixture.cs | |
| parent | 3bbca19f75e748242f0966dce7461c0508c208ba (diff) | |
| download | wix-a34b060e7b1375be7c8c557a985b484155ff2702.tar.gz wix-a34b060e7b1375be7c8c557a985b484155ff2702.tar.bz2 wix-a34b060e7b1375be7c8c557a985b484155ff2702.zip | |
Add elements to reference platform-specific extension custom actions.
Diffstat (limited to 'src/test/WixToolsetTest.Util/UtilExtensionFixture.cs')
| -rw-r--r-- | src/test/WixToolsetTest.Util/UtilExtensionFixture.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.Util/UtilExtensionFixture.cs b/src/test/WixToolsetTest.Util/UtilExtensionFixture.cs index 78a9f967..848e4aa2 100644 --- a/src/test/WixToolsetTest.Util/UtilExtensionFixture.cs +++ b/src/test/WixToolsetTest.Util/UtilExtensionFixture.cs | |||
| @@ -133,6 +133,24 @@ namespace WixToolsetTest.Util | |||
| 133 | } | 133 | } |
| 134 | 134 | ||
| 135 | [Fact] | 135 | [Fact] |
| 136 | public void CanBuildWithQueries() | ||
| 137 | { | ||
| 138 | var folder = TestData.Get(@"TestData\Queries"); | ||
| 139 | var build = new Builder(folder, typeof(UtilExtensionFactory), new[] { folder }); | ||
| 140 | |||
| 141 | var results = build.BuildAndQuery(BuildARM64, "Binary", "CustomAction"); | ||
| 142 | Assert.Equal(new[] | ||
| 143 | { | ||
| 144 | "Binary:Wix4UtilCA_A64\t[Binary data]", | ||
| 145 | "CustomAction:Wix4BroadcastEnvironmentChange_A64\t65\tWix4UtilCA_A64\tWixBroadcastEnvironmentChange\t", | ||
| 146 | "CustomAction:Wix4BroadcastSettingChange_A64\t65\tWix4UtilCA_A64\tWixBroadcastSettingChange\t", | ||
| 147 | "CustomAction:Wix4CheckRebootRequired_A64\t65\tWix4UtilCA_A64\tWixCheckRebootRequired\t", | ||
| 148 | "CustomAction:Wix4QueryOsDriverInfo_A64\t257\tWix4UtilCA_A64\tWixQueryOsDriverInfo\t", | ||
| 149 | "CustomAction:Wix4QueryOsInfo_A64\t257\tWix4UtilCA_A64\tWixQueryOsInfo\t", | ||
| 150 | }, results.OrderBy(s => s).ToArray()); | ||
| 151 | } | ||
| 152 | |||
| 153 | [Fact] | ||
| 136 | public void CanBuildBundleWithSearches() | 154 | public void CanBuildBundleWithSearches() |
| 137 | { | 155 | { |
| 138 | var burnStubPath = TestData.Get(@"TestData\.Data\burn.exe"); | 156 | var burnStubPath = TestData.Get(@"TestData\.Data\burn.exe"); |
