TestOutputEvent
TestOutputEvent holds information needed to call the TestOutput method.
using NUnit.Framework.Interfaces;
using System.Runtime.CompilerServices;
namespace NUnit.Framework.Internal.Execution
{
[NullableContext(1)]
[Nullable(0)]
public class TestOutputEvent : Event
{
private readonly TestOutput _output;
public TestOutputEvent(TestOutput output)
{
_output = output;
}
public override void Send(ITestListener listener)
{
listener.TestOutput(_output);
}
}
}