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 d5dcba54..6fea6e36 100644 --- a/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs | |||
@@ -647,6 +647,39 @@ namespace WixToolsetTest.CoreIntegration | |||
647 | } | 647 | } |
648 | } | 648 | } |
649 | 649 | ||
650 | [Fact(Skip = "Test demonstrates failure")] | ||
651 | public void PopulatesTextStyleTableWhenColorIsNull() | ||
652 | { | ||
653 | var folder = TestData.Get(@"TestData"); | ||
654 | |||
655 | using (var fs = new DisposableFileSystem()) | ||
656 | { | ||
657 | var baseFolder = fs.GetFolder(); | ||
658 | var intermediateFolder = Path.Combine(baseFolder, "obj"); | ||
659 | var msiPath = Path.Combine(baseFolder, @"bin\test.msi"); | ||
660 | |||
661 | var result = WixRunner.Execute(new[] | ||
662 | { | ||
663 | "build", | ||
664 | Path.Combine(folder, "TextStyle", "ColorNull.wxs"), | ||
665 | Path.Combine(folder, "ProductWithComponentGroupRef", "MinimalComponentGroup.wxs"), | ||
666 | Path.Combine(folder, "ProductWithComponentGroupRef", "Product.wxs"), | ||
667 | "-bindpath", Path.Combine(folder, "SingleFile", "data"), | ||
668 | "-intermediateFolder", intermediateFolder, | ||
669 | "-o", msiPath | ||
670 | }); | ||
671 | |||
672 | result.AssertSuccess(); | ||
673 | |||
674 | Assert.True(File.Exists(msiPath)); | ||
675 | var results = Query.QueryDatabase(msiPath, new[] { "TextStyle" }); | ||
676 | Assert.Equal(new[] | ||
677 | { | ||
678 | "TextStyle:FirstTextStyle\tArial\t2\t\t", | ||
679 | }, results); | ||
680 | } | ||
681 | } | ||
682 | |||
650 | [Fact] | 683 | [Fact] |
651 | public void PopulatesUpgradeTableFromManualUpgrade() | 684 | public void PopulatesUpgradeTableFromManualUpgrade() |
652 | { | 685 | { |