diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2020-04-07 11:20:36 +1000 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2020-04-07 20:23:00 +1000 |
| commit | 7c04bfdb54ccf5b4b67995c9715a3f7f9e454206 (patch) | |
| tree | a40349dc7eb7ef1a56b1c30e742530821e1bf4e1 /src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs | |
| parent | 59ffa86b7d62ddc52ec813fb65c47f812aeded66 (diff) | |
| download | wix-7c04bfdb54ccf5b4b67995c9715a3f7f9e454206.tar.gz wix-7c04bfdb54ccf5b4b67995c9715a3f7f9e454206.tar.bz2 wix-7c04bfdb54ccf5b4b67995c9715a3f7f9e454206.zip | |
Fix bugs when compiling UI.wixext
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs')
| -rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs b/src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs index ad24f346..64b3fa93 100644 --- a/src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs | |||
| @@ -214,47 +214,6 @@ namespace WixToolsetTest.CoreIntegration | |||
| 214 | } | 214 | } |
| 215 | } | 215 | } |
| 216 | 216 | ||
| 217 | [Fact(Skip = "Currently fails")] | ||
| 218 | public void CanBuildDialogsInInstallUISequence() | ||
| 219 | { | ||
| 220 | var folder = TestData.Get(@"TestData\DialogsInInstallUISequence"); | ||
| 221 | |||
| 222 | using (var fs = new DisposableFileSystem()) | ||
| 223 | { | ||
| 224 | var baseFolder = fs.GetFolder(); | ||
| 225 | var intermediateFolder = Path.Combine(baseFolder, "obj"); | ||
| 226 | |||
| 227 | var result = WixRunner.Execute(new[] | ||
| 228 | { | ||
| 229 | "build", | ||
| 230 | Path.Combine(folder, "Package.wxs"), | ||
| 231 | Path.Combine(folder, "PackageComponents.wxs"), | ||
| 232 | "-loc", Path.Combine(folder, "Package.en-us.wxl"), | ||
| 233 | "-bindpath", Path.Combine(folder, "data"), | ||
| 234 | "-intermediateFolder", intermediateFolder, | ||
| 235 | "-o", Path.Combine(baseFolder, @"bin\test.msi") | ||
| 236 | }); | ||
| 237 | |||
| 238 | result.AssertSuccess(); | ||
| 239 | |||
| 240 | Assert.True(File.Exists(Path.Combine(baseFolder, @"bin\test.msi"))); | ||
| 241 | Assert.True(File.Exists(Path.Combine(baseFolder, @"bin\test.wixpdb"))); | ||
| 242 | Assert.True(File.Exists(Path.Combine(baseFolder, @"bin\MsiPackage\test.txt"))); | ||
| 243 | |||
| 244 | var intermediate = Intermediate.Load(Path.Combine(intermediateFolder, @"test.wir")); | ||
| 245 | var section = intermediate.Sections.Single(); | ||
| 246 | |||
| 247 | var textStyle = section.Tuples.OfType<TextStyleTuple>().Single(); | ||
| 248 | Assert.Equal("Tahoma", textStyle.FaceName); | ||
| 249 | Assert.Equal(8, textStyle.Size); | ||
| 250 | |||
| 251 | var installUIActions = section.Tuples.OfType<WixActionTuple>() | ||
| 252 | .Where(t => t.SequenceTable == SequenceTable.InstallUISequence) | ||
| 253 | .ToList(); | ||
| 254 | Assert.Equal(10, installUIActions.Count); | ||
| 255 | } | ||
| 256 | } | ||
| 257 | |||
| 258 | [Fact] | 217 | [Fact] |
| 259 | public void CanBuildWithErrorTable() | 218 | public void CanBuildWithErrorTable() |
| 260 | { | 219 | { |
