Example #1
0
 public DurationGrouping(GroupDisplayStrategy displayStrategy) : base(displayStrategy)
 {
     // Predefine all TestGroups and TreeNodes
     Groups.Add(new TestGroup("Slow > 1 sec"));
     Groups.Add(new TestGroup("Medium > 100 ms"));
     Groups.Add(new TestGroup("Fast < 100 ms"));
     Groups.Add(new TestGroup("Not Run"));
 }
Example #2
0
 public DurationGrouping(GroupDisplayStrategy displayStrategy) : base(displayStrategy)
 {
     // Predefine all TestGroups and TreeNodes
     Groups.Add(new TestGroup("Slow > 1 sec"));
     Groups.Add(new TestGroup("Medium > 100 ms"));
     Groups.Add(new TestGroup("Fast < 100 ms"));
     Groups.Add(new TestGroup("Not Run"));
 }
Example #3
0
 public OutcomeGrouping(GroupDisplayStrategy display) : base(display)
 {
     // Predefine all TestGroups and TreeNodes
     Groups.Add(new TestGroup("Failed", TreeViewPresenter.FailureIndex));
     Groups.Add(new TestGroup("Passed", TreeViewPresenter.SuccessIndex));
     Groups.Add(new TestGroup("Ignored", TreeViewPresenter.IgnoredIndex));
     Groups.Add(new TestGroup("Inconclusive", TreeViewPresenter.InconclusiveIndex));
     Groups.Add(new TestGroup("Skipped", TreeViewPresenter.SkippedIndex));
     Groups.Add(new TestGroup("Not Run", TreeViewPresenter.InitIndex));
 }
Example #4
0
 public OutcomeGrouping(GroupDisplayStrategy display) : base(display)
 {
     // Predefine all TestGroups and TreeNodes
     Groups.Add(new TestGroup("Failed", TreeViewPresenter.FailureIndex));
     Groups.Add(new TestGroup("Passed", TreeViewPresenter.SuccessIndex));
     Groups.Add(new TestGroup("Ignored", TreeViewPresenter.IgnoredIndex));
     Groups.Add(new TestGroup("Inconclusive", TreeViewPresenter.InconclusiveIndex));
     Groups.Add(new TestGroup("Skipped", TreeViewPresenter.SkippedIndex));
     Groups.Add(new TestGroup("Not Run", TreeViewPresenter.InitIndex));
 }
Example #5
0
 /// <summary>
 /// Construct a TestGrouping for a given GroupDisplayStrategy
 /// </summary>
 /// <param name="displayStrategy"></param>
 public TestGrouping(GroupDisplayStrategy displayStrategy)
 {
     _displayStrategy = displayStrategy;
     Groups = new List<TestGroup>();
 }
Example #6
0
 /// <summary>
 /// Construct a TestGrouping for a given GroupDisplayStrategy
 /// </summary>
 /// <param name="displayStrategy"></param>
 public TestGrouping(GroupDisplayStrategy displayStrategy)
 {
     _displayStrategy = displayStrategy;
     Groups           = new List <TestGroup>();
 }
 public CategoryGrouping(GroupDisplayStrategy display) : base(display)
 {
 }
Example #8
0
 public CategoryGrouping(GroupDisplayStrategy display) : base(display)
 {
 }
 public DurationGrouping(GroupDisplayStrategy displayStrategy) : base(displayStrategy)
 {
 }
Example #10
0
 public CategoryGrouping(GroupDisplayStrategy display) : base(display)
 {
     Groups.Add(new TestGroup("None"));
     // Additional groups are added dynamically
 }
Example #11
0
 public DurationGrouping(GroupDisplayStrategy displayStrategy) : base(displayStrategy)
 {
 }
Example #12
0
 public CategoryGrouping(GroupDisplayStrategy display) : base(display)
 {
     Groups.Add(new TestGroup("None"));
     // Additional groups are added dynamically
 }