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.cs34
1 files changed, 0 insertions, 34 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs b/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs
index 2af47034..71edddc6 100644
--- a/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs
+++ b/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs
@@ -716,40 +716,6 @@ namespace WixToolsetTest.CoreIntegration
716 } 716 }
717 717
718 [Fact] 718 [Fact]
719 public void PopulatesMsiShortcutPropertyTable()
720 {
721 var folder = TestData.Get(@"TestData");
722
723 using (var fs = new DisposableFileSystem())
724 {
725 var baseFolder = fs.GetFolder();
726 var intermediateFolder = Path.Combine(baseFolder, "obj");
727 var msiPath = Path.Combine(baseFolder, @"bin\test.msi");
728
729 var result = WixRunner.Execute(new[]
730 {
731 "build",
732 Path.Combine(folder, "Shortcut", "ShortcutProperty.wxs"),
733 Path.Combine(folder, "ProductWithComponentGroupRef", "MinimalComponentGroup.wxs"),
734 Path.Combine(folder, "ProductWithComponentGroupRef", "Product.wxs"),
735 "-bindpath", Path.Combine(folder, "SingleFile", "data"),
736 "-intermediateFolder", intermediateFolder,
737 "-o", msiPath
738 });
739
740 result.AssertSuccess();
741
742 Assert.True(File.Exists(msiPath));
743 var results = Query.QueryDatabase(msiPath, new[] { "MsiShortcutProperty", "Shortcut" });
744 WixAssert.CompareLineByLine(new[]
745 {
746 "MsiShortcutProperty:scp4GOCIx4Eskci4nBG1MV_vSUOZt4\tTheShortcut\tCustomShortcutKey\tCustomShortcutValue",
747 "Shortcut:TheShortcut\tINSTALLFOLDER\td\tShortcutComp\t[#filcV1yrx0x8wJWj4qMzcH21jwkPko]\t\t\t\t\t\t\t\t\t\t\t",
748 }, results);
749 }
750 }
751
752 [Fact]
753 public void PopulatesReserveCostTable() 719 public void PopulatesReserveCostTable()
754 { 720 {
755 var folder = TestData.Get(@"TestData"); 721 var folder = TestData.Get(@"TestData");