aboutsummaryrefslogtreecommitdiff
path: root/src/internal/WixInternal.TestSupport/MsbuildRunnerResult.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/WixInternal.TestSupport/MsbuildRunnerResult.cs')
-rw-r--r--src/internal/WixInternal.TestSupport/MsbuildRunnerResult.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/internal/WixInternal.TestSupport/MsbuildRunnerResult.cs b/src/internal/WixInternal.TestSupport/MsbuildRunnerResult.cs
new file mode 100644
index 00000000..b85acb16
--- /dev/null
+++ b/src/internal/WixInternal.TestSupport/MsbuildRunnerResult.cs
@@ -0,0 +1,19 @@
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
3namespace WixInternal.TestSupport
4{
5 using System;
6 using Xunit;
7
8 public class MsbuildRunnerResult
9 {
10 public int ExitCode { get; set; }
11
12 public string[] Output { get; set; }
13
14 public void AssertSuccess()
15 {
16 Assert.True(0 == this.ExitCode, $"MSBuild failed unexpectedly. Output:{Environment.NewLine}{String.Join(Environment.NewLine, this.Output)}");
17 }
18 }
19}