aboutsummaryrefslogtreecommitdiff
path: root/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs')
-rw-r--r--src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs b/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs
index e60f74fb..2c064a58 100644
--- a/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs
+++ b/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs
@@ -412,6 +412,42 @@ namespace WixToolsetTest.CoreIntegration
412 } 412 }
413 413
414 [Fact(Skip = "Test demonstrates failure")] 414 [Fact(Skip = "Test demonstrates failure")]
415 public void PopulatesMsiAssemblyTables()
416 {
417 var folder = TestData.Get(@"TestData");
418
419 using (var fs = new DisposableFileSystem())
420 {
421 var baseFolder = fs.GetFolder();
422 var intermediateFolder = Path.Combine(baseFolder, "obj");
423 var msiPath = Path.Combine(baseFolder, @"bin\test.msi");
424
425 var result = WixRunner.Execute(new[]
426 {
427 "build",
428 Path.Combine(folder, "Assembly", "Win32Assembly.wxs"),
429 Path.Combine(folder, "ProductWithComponentGroupRef", "MinimalComponentGroup.wxs"),
430 Path.Combine(folder, "ProductWithComponentGroupRef", "Product.wxs"),
431 "-bindpath", Path.Combine(folder, "Assembly", "data"),
432 "-bindpath", Path.Combine(folder, "SingleFile", "data"),
433 "-intermediateFolder", intermediateFolder,
434 "-o", msiPath
435 });
436
437 result.AssertSuccess();
438
439 Assert.True(File.Exists(msiPath));
440 var results = Query.QueryDatabase(msiPath, new[] { "MsiAssembly", "MsiAssemblyName" });
441 Assert.Equal(new[]
442 {
443 "MsiAssembly:test.txt\tProductFeature\ttest.dll.manifest\t\t1",
444 "MsiAssemblyName:test.txt\tname\tMyApplication.app",
445 "MsiAssemblyName:test.txt\tversion\t1.0.0.0",
446 }, results);
447 }
448 }
449
450 [Fact(Skip = "Test demonstrates failure")]
415 public void PopulatesMsiShortcutPropertyTable() 451 public void PopulatesMsiShortcutPropertyTable()
416 { 452 {
417 var folder = TestData.Get(@"TestData"); 453 var folder = TestData.Get(@"TestData");