public QueuedTestItem(Test test, IExecutionQueue queue, IScreenConductor shell) : this() { linkText.Content = test.LocatorPath(); link.Click += (x, y) => shell.OpenScreen(test); stop.Click += (x, y) => queue.Cancel(test); }
public void CancelTest(Test test) { _queue.Cancel(test); }