AddCount() public method

public AddCount ( string cellStatus ) : void
cellStatus string
return void
Ejemplo n.º 1
0
 public static TestCounts MakeTestCounts() {
     var counts = new TestCounts();
     counts.AddCount(TestStatus.Right);
     counts.AddCount(TestStatus.Wrong);
     counts.AddCount(TestStatus.Wrong);
     counts.AddCount(TestStatus.Ignore);
     counts.AddCount(TestStatus.Ignore);
     counts.AddCount(TestStatus.Ignore);
     counts.AddCount(TestStatus.Exception);
     counts.AddCount(TestStatus.Exception);
     counts.AddCount(TestStatus.Exception);
     counts.AddCount(TestStatus.Exception);
     return counts;
 }
Ejemplo n.º 2
0
 public static TestCounts MakeTestCounts()
 {
     var counts = new TestCounts();
     counts.AddCount(CellAttributes.RightStatus);
     counts.AddCount(CellAttributes.WrongStatus);
     counts.AddCount(CellAttributes.WrongStatus);
     counts.AddCount(CellAttributes.IgnoreStatus);
     counts.AddCount(CellAttributes.IgnoreStatus);
     counts.AddCount(CellAttributes.IgnoreStatus);
     counts.AddCount(CellAttributes.ExceptionStatus);
     counts.AddCount(CellAttributes.ExceptionStatus);
     counts.AddCount(CellAttributes.ExceptionStatus);
     counts.AddCount(CellAttributes.ExceptionStatus);
     return counts;
 }