TestFinishedEvent
TestFinishedEvent holds information needed to call the TestFinished method.
using NUnit.Framework.Interfaces;
namespace NUnit.Framework.Internal.Execution
{
public class TestFinishedEvent : Event
{
private readonly ITestResult _result;
public TestFinishedEvent(ITestResult result)
{
_result = result;
}
public override void Send(ITestListener listener)
{
listener.TestFinished(_result);
}
}
}