diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-03-19 11:15:12 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-03-19 11:31:45 -0700 |
| commit | 1fa3b2f3c3e1380a5ae5ed76cdf028f221473da3 (patch) | |
| tree | 11c5fbfacd0aba0d97405c8ccac9555126523f6f /src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs | |
| parent | 84d70d16e4ab2051d881251440fe4729f301b265 (diff) | |
| download | wix-1fa3b2f3c3e1380a5ae5ed76cdf028f221473da3.tar.gz wix-1fa3b2f3c3e1380a5ae5ed76cdf028f221473da3.tar.bz2 wix-1fa3b2f3c3e1380a5ae5ed76cdf028f221473da3.zip | |
Update tests to validate Shortcut Name/ShortName handling
Resolves wixtoolset/issues#4227
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs')
| -rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs | 34 |
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"); |
