diff options
| author | Rob Mensching <rob@firegiant.com> | 2019-10-16 17:04:28 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2019-10-18 11:34:46 -0700 |
| commit | 7d699fdbbe8a15c72b69f633ac9799fb757e2acc (patch) | |
| tree | 2638bd4694a849e23d5156521c21057460c2c5d1 /src/test | |
| parent | 9ca5e0a95d0858a177fe1efdc15a962e5f7c1d84 (diff) | |
| download | wix-7d699fdbbe8a15c72b69f633ac9799fb757e2acc.tar.gz wix-7d699fdbbe8a15c72b69f633ac9799fb757e2acc.tar.bz2 wix-7d699fdbbe8a15c72b69f633ac9799fb757e2acc.zip | |
Several fixes
Diffstat (limited to 'src/test')
4 files changed, 19 insertions, 13 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/LinkerFixture.cs b/src/test/WixToolsetTest.CoreIntegration/LinkerFixture.cs index dc34c2cc..80a6d1dd 100644 --- a/src/test/WixToolsetTest.CoreIntegration/LinkerFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/LinkerFixture.cs | |||
| @@ -13,7 +13,7 @@ namespace WixToolsetTest.CoreIntegration | |||
| 13 | 13 | ||
| 14 | public class LinkerFixture | 14 | public class LinkerFixture |
| 15 | { | 15 | { |
| 16 | [Fact(Skip = "Test demonstrates failure")] | 16 | [Fact] |
| 17 | public void CanBuildWithOverridableActions() | 17 | public void CanBuildWithOverridableActions() |
| 18 | { | 18 | { |
| 19 | var folder = TestData.Get(@"TestData\OverridableActions"); | 19 | var folder = TestData.Get(@"TestData\OverridableActions"); |
diff --git a/src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs b/src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs index e30441bf..2d6feb4e 100644 --- a/src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs | |||
| @@ -608,7 +608,7 @@ namespace WixToolsetTest.CoreIntegration | |||
| 608 | } | 608 | } |
| 609 | } | 609 | } |
| 610 | 610 | ||
| 611 | [Fact(Skip = "Test demonstrates failure")] | 611 | [Fact] |
| 612 | public void CanBuildVersionIndependentProgId() | 612 | public void CanBuildVersionIndependentProgId() |
| 613 | { | 613 | { |
| 614 | var folder = TestData.Get(@"TestData\ProgId"); | 614 | var folder = TestData.Get(@"TestData\ProgId"); |
| @@ -639,11 +639,17 @@ namespace WixToolsetTest.CoreIntegration | |||
| 639 | var section = intermediate.Sections.Single(); | 639 | var section = intermediate.Sections.Single(); |
| 640 | 640 | ||
| 641 | var progids = section.Tuples.OfType<ProgIdTuple>().OrderBy(tuple => tuple.ProgId).ToList(); | 641 | var progids = section.Tuples.OfType<ProgIdTuple>().OrderBy(tuple => tuple.ProgId).ToList(); |
| 642 | Assert.Equal(2, progids.Count); | 642 | Assert.Equal(new[] |
| 643 | Assert.Equal("Foo.File.hol", progids[0].ProgId); | 643 | { |
| 644 | Assert.Equal("Foo.File.hol.15", progids[0].ParentProgIdRef); | 644 | "Foo.File.hol", |
| 645 | Assert.Equal("Foo.File.hol.15", progids[1].ProgId); | 645 | "Foo.File.hol.15" |
| 646 | Assert.Null(progids[1].ParentProgIdRef); | 646 | }, progids.Select(p => p.ProgId).ToArray()); |
| 647 | |||
| 648 | Assert.Equal(new[] | ||
| 649 | { | ||
| 650 | "Foo.File.hol.15", | ||
| 651 | null | ||
| 652 | }, progids.Select(p => p.ParentProgIdRef).ToArray()); | ||
| 647 | } | 653 | } |
| 648 | } | 654 | } |
| 649 | 655 | ||
diff --git a/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs b/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs index e2a672b7..d31c9ee8 100644 --- a/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/MsiQueryFixture.cs | |||
| @@ -181,7 +181,7 @@ namespace WixToolsetTest.CoreIntegration | |||
| 181 | } | 181 | } |
| 182 | } | 182 | } |
| 183 | 183 | ||
| 184 | [Fact(Skip = "Test demonstrates failure")] | 184 | [Fact] |
| 185 | public void PopulatesClassTablesWhenProgIdIsNestedUnderAdvertisedClass() | 185 | public void PopulatesClassTablesWhenProgIdIsNestedUnderAdvertisedClass() |
| 186 | { | 186 | { |
| 187 | var folder = TestData.Get(@"TestData"); | 187 | var folder = TestData.Get(@"TestData"); |
| @@ -396,7 +396,7 @@ namespace WixToolsetTest.CoreIntegration | |||
| 396 | } | 396 | } |
| 397 | } | 397 | } |
| 398 | 398 | ||
| 399 | [Fact(Skip = "Test demonstrates failure")] | 399 | [Fact] |
| 400 | public void PopulatesInstallExecuteSequenceTable() | 400 | public void PopulatesInstallExecuteSequenceTable() |
| 401 | { | 401 | { |
| 402 | var folder = TestData.Get(@"TestData"); | 402 | var folder = TestData.Get(@"TestData"); |
| @@ -516,7 +516,7 @@ namespace WixToolsetTest.CoreIntegration | |||
| 516 | } | 516 | } |
| 517 | } | 517 | } |
| 518 | 518 | ||
| 519 | [Fact(Skip = "Test demonstrates failure")] | 519 | [Fact] |
| 520 | public void PopulatesMsiShortcutPropertyTable() | 520 | public void PopulatesMsiShortcutPropertyTable() |
| 521 | { | 521 | { |
| 522 | var folder = TestData.Get(@"TestData"); | 522 | var folder = TestData.Get(@"TestData"); |
| @@ -549,7 +549,7 @@ namespace WixToolsetTest.CoreIntegration | |||
| 549 | } | 549 | } |
| 550 | } | 550 | } |
| 551 | 551 | ||
| 552 | [Fact(Skip = "Test demonstrates failure")] | 552 | [Fact] |
| 553 | public void PopulatesRegistryTableFromRegistryValue() | 553 | public void PopulatesRegistryTableFromRegistryValue() |
| 554 | { | 554 | { |
| 555 | var folder = TestData.Get(@"TestData"); | 555 | var folder = TestData.Get(@"TestData"); |
diff --git a/src/test/WixToolsetTest.CoreIntegration/WixlibQueryFixture.cs b/src/test/WixToolsetTest.CoreIntegration/WixlibQueryFixture.cs index 061eae07..517bddbf 100644 --- a/src/test/WixToolsetTest.CoreIntegration/WixlibQueryFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/WixlibQueryFixture.cs | |||
| @@ -12,8 +12,8 @@ namespace WixToolsetTest.CoreIntegration | |||
| 12 | 12 | ||
| 13 | public class WixlibQueryFixture | 13 | public class WixlibQueryFixture |
| 14 | { | 14 | { |
| 15 | [Fact(Skip = "Test demonstrates failure")] | 15 | [Fact] |
| 16 | public void DetectOnlyUpgradeProducesReferenceToRemoveExistingProducts() | 16 | public void UpgradeProducesReferenceToRemoveExistingProducts() |
| 17 | { | 17 | { |
| 18 | var folder = TestData.Get(@"TestData\Upgrade"); | 18 | var folder = TestData.Get(@"TestData\Upgrade"); |
| 19 | 19 | ||
