File: TestUtilities\TestProcessOutputReporter.cs
Web Access
Project: ..\..\..\test\dotnet-watch.Tests\dotnet-watch.Tests.csproj (dotnet-watch.Tests)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace Microsoft.DotNet.Watch;
 
internal sealed class TestProcessOutputReporter : IProcessOutputReporter
{
    public readonly List<OutputLine> Output = [];
 
    public bool PrefixProcessOutput
        => false;
 
    public void ReportOutput(OutputLine line)
        => Output.Add(line);
}