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/WixToolsetTest.CoreIntegration/MsiFixture.cs | |
| parent | 9ca5e0a95d0858a177fe1efdc15a962e5f7c1d84 (diff) | |
| download | wix-7d699fdbbe8a15c72b69f633ac9799fb757e2acc.tar.gz wix-7d699fdbbe8a15c72b69f633ac9799fb757e2acc.tar.bz2 wix-7d699fdbbe8a15c72b69f633ac9799fb757e2acc.zip | |
Several fixes
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs')
| -rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs | 18 |
1 files changed, 12 insertions, 6 deletions
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 | ||
