NUnit.Framework.Internal.Execution.TestWorker
A TestWorker pulls work items from a queue
and executes them.
namespace NUnit.Framework.Internal.Execution
{
public class TestWorker
{
[System.Runtime.CompilerServices.NullableContext(0)]
public delegate void TestWorkerEventHandler (TestWorker worker, WorkItem work);
public WorkItemQueue WorkQueue { get; }
public string Name { get; }
public bool IsAlive { get; }
public event TestWorkerEventHandler Busy;
public event TestWorkerEventHandler Idle;
public TestWorker(WorkItemQueue queue, string name);
public void Start();
public void Cancel(bool force);
}
}