blob: fb61122d00c69b7cbd28ae120a85cd14a47d37db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// 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.
namespace WixBuildTools.TestSupport
{
using System;
using Xunit;
public class MsbuildRunnerResult
{
public int ExitCode { get; set; }
public string[] Output { get; set; }
public void AssertSuccess()
{
Assert.True(0 == this.ExitCode, $"MSBuild failed unexpectedly. Output:{Environment.NewLine}{String.Join(Environment.NewLine, this.Output)}");
}
}
}
|