diff options
Diffstat (limited to 'src/test/WixToolsetTest.WixCop/WixCopRunnerResult.cs')
-rw-r--r-- | src/test/WixToolsetTest.WixCop/WixCopRunnerResult.cs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/test/WixToolsetTest.WixCop/WixCopRunnerResult.cs b/src/test/WixToolsetTest.WixCop/WixCopRunnerResult.cs deleted file mode 100644 index 1b35e491..00000000 --- a/src/test/WixToolsetTest.WixCop/WixCopRunnerResult.cs +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
2 | |||
3 | namespace WixToolsetTest.WixCop | ||
4 | { | ||
5 | using System; | ||
6 | using System.Linq; | ||
7 | using WixToolset.Data; | ||
8 | using Xunit; | ||
9 | |||
10 | public class WixCopRunnerResult | ||
11 | { | ||
12 | public int ExitCode { get; set; } | ||
13 | |||
14 | public Message[] Messages { get; set; } | ||
15 | |||
16 | public WixCopRunnerResult AssertSuccess() | ||
17 | { | ||
18 | Assert.True(0 == this.ExitCode, $"WixCop failed unexpectedly. Output:\r\n{String.Join("\r\n", this.Messages.Select(m => m.ToString()).ToArray())}"); | ||
19 | return this; | ||
20 | } | ||
21 | } | ||
22 | } | ||