diff options
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"); |