2017-11-27 18:45:43 +00:00
|
|
|
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
|
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
|
|
|
|
|
|
using System;
|
|
|
|
using Microsoft.DotNet.Cli.Utils;
|
|
|
|
|
2017-12-04 22:13:24 +00:00
|
|
|
namespace Microsoft.DotNet.ShellShim.Tests
|
2017-11-27 18:45:43 +00:00
|
|
|
{
|
|
|
|
internal class FakeReporter : IReporter
|
|
|
|
{
|
|
|
|
public string Message { get; private set; } = "";
|
|
|
|
|
|
|
|
public void WriteLine(string message)
|
|
|
|
{
|
|
|
|
Message = message;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void WriteLine()
|
|
|
|
{
|
|
|
|
throw new NotImplementedException();
|
|
|
|
}
|
|
|
|
|
|
|
|
public void Write(string message)
|
|
|
|
{
|
|
|
|
throw new NotImplementedException();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|