public void WriteResult(TestMethod test, TestResult result) { var gridItem = FindItem(_allTests, test); var playListItem = FindItem(_playList, test); if (gridItem == null) { var item = new TestExplorerItem(test, result); _allTests.Add(item); gridItem = FindItem(_allTests, test); } gridItem.SetResult(result); playListItem.SetResult(result); UpdateProgress(); testOutputGridView.Refresh(); }
public void WriteResult(TestMethod test, TestResult result) { var gridItem = FindItem(AllTests, test); var playListItem = FindItem(_playList, test); if (gridItem == null) { var item = new TestExplorerItem(test, result); AllTests.Add(item); gridItem = FindItem(AllTests, test); } gridItem.SetResult(result); playListItem.SetResult(result); UpdateProgress(); testOutputGridView.Refresh(); }
public SelectedTestEventArgs(TestExplorerItem item) : this(new[] { item }) { }