예제 #1
0
 public void AddTest(PerformanceTime entry)
 {
     if (!tests.ContainsKey(entry.Test))
     {
         tests[entry.Test] = new List <PerformanceTime>();
     }
     tests[entry.Test].Add(entry);
 }
예제 #2
0
 public void AddTest(PerformanceTime entry)
 {
     if (!tests.ContainsKey(entry.Test))
     {
         tests[entry.Test] = new List<PerformanceTime>();
     }
     tests[entry.Test].Add(entry);
 }
예제 #3
0
 private static void PerformTest(ref PerformanceTable table, IEnumerable tests, TestType type)
 {
     foreach (Test test in tests)
     {
         test.PerformTest();
         PerformanceTime currentTest = new PerformanceTime(test.TypeToTest, test.TimeResult, type);
         table.AddTest(currentTest);
     }
 }
예제 #4
0
 private static void PerformTest(ref PerformanceTable table, IEnumerable tests, TestType type)
 {
     foreach (Test test in tests)
     {
         test.PerformTest();
         PerformanceTime currentTest = new PerformanceTime(test.TypeToTest, test.TimeResult, type);
         table.AddTest(currentTest);
     }
 }