diff options
| author | Bob Arnson <bob@firegiant.com> | 2019-12-11 19:08:30 -0500 |
|---|---|---|
| committer | Bob Arnson <bob@firegiant.com> | 2019-12-11 19:14:06 -0500 |
| commit | 3add0e56ddc57ddcfeb92c3b4cbb7ad0eee7674f (patch) | |
| tree | b60f6109ecaea47ed6f65e2af4fc724e555ad066 /src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs | |
| parent | 13b2d56bf2ac116f29ca4b930a929bb26037b940 (diff) | |
| download | wix-3add0e56ddc57ddcfeb92c3b4cbb7ad0eee7674f.tar.gz wix-3add0e56ddc57ddcfeb92c3b4cbb7ad0eee7674f.tar.bz2 wix-3add0e56ddc57ddcfeb92c3b4cbb7ad0eee7674f.zip | |
Add unit tests written during discovery of errors elsewhere because why not keep 'em?
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs')
| -rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs b/src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs index 4d1e35f9..81289e5a 100644 --- a/src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs +++ b/src/test/WixToolsetTest.CoreIntegration/MsiFixture.cs | |||
| @@ -277,9 +277,9 @@ namespace WixToolsetTest.CoreIntegration | |||
| 277 | var intermediate = Intermediate.Load(Path.Combine(baseFolder, @"bin\test.wixpdb")); | 277 | var intermediate = Intermediate.Load(Path.Combine(baseFolder, @"bin\test.wixpdb")); |
| 278 | var section = intermediate.Sections.Single(); | 278 | var section = intermediate.Sections.Single(); |
| 279 | 279 | ||
| 280 | var error = section.Tuples.OfType<ErrorTuple>().Single(); | 280 | var errors = section.Tuples.OfType<ErrorTuple>().ToDictionary(t => t.Error); |
| 281 | Assert.Equal(1234, error.Error); | 281 | Assert.Equal("Category 55 Emergency Doomsday Crisis", errors[1234].Message.Trim()); |
| 282 | Assert.Equal("Category 55 Emergency Doomsday Crisis", error.Message.Trim()); | 282 | Assert.Equal(" ", errors[5678].Message); |
| 283 | } | 283 | } |
| 284 | } | 284 | } |
| 285 | 285 | ||
