diff options
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs')
-rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs b/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs index 1e934421..e60f74fb 100644 --- a/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs | |||
@@ -295,6 +295,39 @@ namespace WixToolsetTest.CoreIntegration | |||
295 | } | 295 | } |
296 | 296 | ||
297 | [Fact(Skip = "Test demonstrates failure")] | 297 | [Fact(Skip = "Test demonstrates failure")] |
298 | public void PopulatesFontTable() | ||
299 | { | ||
300 | var folder = TestData.Get(@"TestData"); | ||
301 | |||
302 | using (var fs = new DisposableFileSystem()) | ||
303 | { | ||
304 | var baseFolder = fs.GetFolder(); | ||
305 | var intermediateFolder = Path.Combine(baseFolder, "obj"); | ||
306 | var msiPath = Path.Combine(baseFolder, @"bin\test.msi"); | ||
307 | |||
308 | var result = WixRunner.Execute(new[] | ||
309 | { | ||
310 | "build", | ||
311 | Path.Combine(folder, "Font", "FontTitle.wxs"), | ||
312 | Path.Combine(folder, "ProductWithComponentGroupRef", "MinimalComponentGroup.wxs"), | ||
313 | Path.Combine(folder, "ProductWithComponentGroupRef", "Product.wxs"), | ||
314 | "-bindpath", Path.Combine(folder, "SingleFile", "data"), | ||
315 | "-intermediateFolder", intermediateFolder, | ||
316 | "-o", msiPath | ||
317 | }); | ||
318 | |||
319 | result.AssertSuccess(); | ||
320 | |||
321 | Assert.True(File.Exists(msiPath)); | ||
322 | var results = Query.QueryDatabase(msiPath, new[] { "Font" }); | ||
323 | Assert.Equal(new[] | ||
324 | { | ||
325 | "Font:test.txt\tFakeFont", | ||
326 | }, results); | ||
327 | } | ||
328 | } | ||
329 | |||
330 | [Fact(Skip = "Test demonstrates failure")] | ||
298 | public void PopulatesInstallExecuteSequenceTable() | 331 | public void PopulatesInstallExecuteSequenceTable() |
299 | { | 332 | { |
300 | var folder = TestData.Get(@"TestData"); | 333 | var folder = TestData.Get(@"TestData"); |