diff options
Diffstat (limited to 'src/wix/test/WixToolsetTest.Sdk/MsbuildFixture.cs')
-rw-r--r-- | src/wix/test/WixToolsetTest.Sdk/MsbuildFixture.cs | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/wix/test/WixToolsetTest.Sdk/MsbuildFixture.cs b/src/wix/test/WixToolsetTest.Sdk/MsbuildFixture.cs index 696c73ee..df1a74da 100644 --- a/src/wix/test/WixToolsetTest.Sdk/MsbuildFixture.cs +++ b/src/wix/test/WixToolsetTest.Sdk/MsbuildFixture.cs | |||
@@ -29,8 +29,8 @@ namespace WixToolsetTest.Sdk | |||
29 | var result = MsbuildUtilities.BuildProject(buildSystem, projectPath); | 29 | var result = MsbuildUtilities.BuildProject(buildSystem, projectPath); |
30 | result.AssertSuccess(); | 30 | result.AssertSuccess(); |
31 | 31 | ||
32 | var warnings = result.Output.Where(line => line.Contains(": warning")); | 32 | var warnings = result.Output.Where(line => line.Contains(": warning")).ToArray(); |
33 | Assert.Empty(warnings); | 33 | WixAssert.StringCollectionEmpty(warnings); |
34 | 34 | ||
35 | var paths = Directory.EnumerateFiles(binFolder, @"*.*", SearchOption.AllDirectories) | 35 | var paths = Directory.EnumerateFiles(binFolder, @"*.*", SearchOption.AllDirectories) |
36 | .Select(s => s.Substring(baseFolder.Length + 1)) | 36 | .Select(s => s.Substring(baseFolder.Length + 1)) |
@@ -62,8 +62,8 @@ namespace WixToolsetTest.Sdk | |||
62 | var result = MsbuildUtilities.BuildProject(buildSystem, projectPath); | 62 | var result = MsbuildUtilities.BuildProject(buildSystem, projectPath); |
63 | result.AssertSuccess(); | 63 | result.AssertSuccess(); |
64 | 64 | ||
65 | var warnings = result.Output.Where(line => line.Contains(": warning")); | 65 | var warnings = result.Output.Where(line => line.Contains(": warning")).ToArray(); |
66 | Assert.Empty(warnings); | 66 | WixAssert.StringCollectionEmpty(warnings); |
67 | 67 | ||
68 | var paths = Directory.EnumerateFiles(binFolder, @"*.*", SearchOption.AllDirectories) | 68 | var paths = Directory.EnumerateFiles(binFolder, @"*.*", SearchOption.AllDirectories) |
69 | .Select(s => s.Substring(baseFolder.Length + 1)) | 69 | .Select(s => s.Substring(baseFolder.Length + 1)) |
@@ -96,8 +96,8 @@ namespace WixToolsetTest.Sdk | |||
96 | var result = MsbuildUtilities.BuildProject(buildSystem, projectPath); | 96 | var result = MsbuildUtilities.BuildProject(buildSystem, projectPath); |
97 | result.AssertSuccess(); | 97 | result.AssertSuccess(); |
98 | 98 | ||
99 | var warnings = result.Output.Where(line => line.Contains(": warning")); | 99 | var warnings = result.Output.Where(line => line.Contains(": warning")).ToArray(); |
100 | Assert.Empty(warnings); | 100 | WixAssert.StringCollectionEmpty(warnings); |
101 | 101 | ||
102 | var paths = Directory.EnumerateFiles(binFolder, @"*.*", SearchOption.AllDirectories) | 102 | var paths = Directory.EnumerateFiles(binFolder, @"*.*", SearchOption.AllDirectories) |
103 | .Select(s => s.Substring(baseFolder.Length + 1)) | 103 | .Select(s => s.Substring(baseFolder.Length + 1)) |
@@ -166,8 +166,8 @@ namespace WixToolsetTest.Sdk | |||
166 | var result = MsbuildUtilities.BuildProject(buildSystem, projectPath); | 166 | var result = MsbuildUtilities.BuildProject(buildSystem, projectPath); |
167 | result.AssertSuccess(); | 167 | result.AssertSuccess(); |
168 | 168 | ||
169 | var warnings = result.Output.Where(line => line.Contains(": warning")); | 169 | var warnings = result.Output.Where(line => line.Contains(": warning")).ToArray(); |
170 | Assert.Empty(warnings); | 170 | WixAssert.StringCollectionEmpty(warnings); |
171 | 171 | ||
172 | var paths = Directory.EnumerateFiles(binFolder, @"*.*", SearchOption.AllDirectories) | 172 | var paths = Directory.EnumerateFiles(binFolder, @"*.*", SearchOption.AllDirectories) |
173 | .Select(s => s.Substring(baseFolder.Length + 1)) | 173 | .Select(s => s.Substring(baseFolder.Length + 1)) |
@@ -318,8 +318,8 @@ namespace WixToolsetTest.Sdk | |||
318 | }); | 318 | }); |
319 | result.AssertSuccess(); | 319 | result.AssertSuccess(); |
320 | 320 | ||
321 | var warnings = result.Output.Where(line => line.Contains(": warning")); | 321 | var warnings = result.Output.Where(line => line.Contains(": warning")).ToArray(); |
322 | Assert.Empty(warnings); | 322 | WixAssert.StringCollectionEmpty(warnings); |
323 | } | 323 | } |
324 | } | 324 | } |
325 | 325 | ||
@@ -409,7 +409,7 @@ namespace WixToolsetTest.Sdk | |||
409 | .Where(s => !allowedFiles.Contains(s)) | 409 | .Where(s => !allowedFiles.Contains(s)) |
410 | .OrderBy(s => s) | 410 | .OrderBy(s => s) |
411 | .ToArray(); | 411 | .ToArray(); |
412 | Assert.Empty(remainingPaths); | 412 | WixAssert.StringCollectionEmpty(remainingPaths); |
413 | } | 413 | } |
414 | } | 414 | } |
415 | 415 | ||