Exemplo n.º 1
0
 private static void WarmUpPerformanceTest(IPerformanceTest performanceTest, string testCase,
                                           RegistrationKind registrationKind)
 {
     performanceTest.RunTest(1, testCase, registrationKind);
 }
Exemplo n.º 2
0
 private static TestResult RunPerformanceTests(IPerformanceTest performanceTest, int count, string testCase,
                                               RegistrationKind registrationKind)
 {
     WarmUpPerformanceTest(performanceTest, testCase, registrationKind);
     return(performanceTest.RunTest(count, testCase, registrationKind));
 }