public OutcomeGrouping(GroupDisplayStrategy display) : base(display)
 {
     // Predefine all TestGroups and TreeNodes
     Groups.Add(new TestGroup("Failed", TestTreeView.FailureIndex));
     Groups.Add(new TestGroup("Passed", TestTreeView.SuccessIndex));
     Groups.Add(new TestGroup("Ignored", TestTreeView.WarningIndex));
     Groups.Add(new TestGroup("Inconclusive", TestTreeView.InconclusiveIndex));
     Groups.Add(new TestGroup("Skipped", TestTreeView.SkippedIndex));
     Groups.Add(new TestGroup("Not Run", TestTreeView.InitIndex));
 }
Example #2
0
 public CategoryGrouping(GroupDisplayStrategy display) : base(display)
 {
 }
 public DurationGrouping(GroupDisplayStrategy displayStrategy) : base(displayStrategy)
 {
 }
 public CategoryGrouping(GroupDisplayStrategy display, bool includeAncestors) : base(display)
 {
     _includeAncestors = includeAncestors;
 }
 /// <summary>
 /// Construct a TestGrouping for a given GroupDisplayStrategy
 /// </summary>
 /// <param name="displayStrategy"></param>
 public TestGrouping(GroupDisplayStrategy displayStrategy)
 {
     _displayStrategy = displayStrategy;
     Groups           = new List <TestGroup>();
 }