diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2021-12-31 18:20:50 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2022-01-01 10:24:08 -0600 |
| commit | 95b1be66d4c16b1b05b761c1771df229ac0e539c (patch) | |
| tree | 7ea6a46cd25ea83c41d0a7ba66df177925d95f44 /src/test | |
| parent | 5be795c6bcbc03bc37f7cf7c758298ccfaa884ca (diff) | |
| download | wix-95b1be66d4c16b1b05b761c1771df229ac0e539c.tar.gz wix-95b1be66d4c16b1b05b761c1771df229ac0e539c.tar.bz2 wix-95b1be66d4c16b1b05b761c1771df229ac0e539c.zip | |
Try to get more helpful test failure messages.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/burn/WixTestTools/BundleVerifier.cs | 3 | ||||
| -rw-r--r-- | src/test/burn/WixTestTools/TestTool.cs | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/test/burn/WixTestTools/BundleVerifier.cs b/src/test/burn/WixTestTools/BundleVerifier.cs index 984df169..54f90870 100644 --- a/src/test/burn/WixTestTools/BundleVerifier.cs +++ b/src/test/burn/WixTestTools/BundleVerifier.cs | |||
| @@ -7,6 +7,7 @@ namespace WixTestTools | |||
| 7 | using System.Linq; | 7 | using System.Linq; |
| 8 | using System.Text; | 8 | using System.Text; |
| 9 | using Microsoft.Win32; | 9 | using Microsoft.Win32; |
| 10 | using WixBuildTools.TestSupport; | ||
| 10 | using WixToolset.Data; | 11 | using WixToolset.Data; |
| 11 | using WixToolset.Data.Symbols; | 12 | using WixToolset.Data.Symbols; |
| 12 | using Xunit; | 13 | using Xunit; |
| @@ -93,7 +94,7 @@ namespace WixTestTools | |||
| 93 | Assert.True(File.Exists(registration.CachePath)); | 94 | Assert.True(File.Exists(registration.CachePath)); |
| 94 | 95 | ||
| 95 | var expectedCachePath = this.GetExpectedCachedBundlePath(); | 96 | var expectedCachePath = this.GetExpectedCachedBundlePath(); |
| 96 | Assert.Equal(expectedCachePath, registration.CachePath, StringComparer.OrdinalIgnoreCase); | 97 | WixAssert.StringEqual(expectedCachePath, registration.CachePath, true); |
| 97 | 98 | ||
| 98 | return registration.CachePath; | 99 | return registration.CachePath; |
| 99 | } | 100 | } |
diff --git a/src/test/burn/WixTestTools/TestTool.cs b/src/test/burn/WixTestTools/TestTool.cs index be5fde42..9c3a3ea6 100644 --- a/src/test/burn/WixTestTools/TestTool.cs +++ b/src/test/burn/WixTestTools/TestTool.cs | |||
| @@ -123,7 +123,7 @@ namespace WixTestTools | |||
| 123 | this.PrintErrors(); | 123 | this.PrintErrors(); |
| 124 | } | 124 | } |
| 125 | 125 | ||
| 126 | Assert.Empty(this.Errors); | 126 | WixAssert.StringCollectionEmpty(this.Errors); |
| 127 | } | 127 | } |
| 128 | 128 | ||
| 129 | return result; | 129 | return result; |
