예제 #1
0
        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();
        }
예제 #2
0
        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();
        }
예제 #3
0
 public SelectedTestEventArgs(TestExplorerItem item)
     : this(new[] { item })
 {
 }
 public SelectedTestEventArgs(TestExplorerItem item)
     : this(new[] { item })
 { }