示例#1
0
 def _RunTests(mock_runner, tests):
     results = []
     tests = shard._TestCollection([shard._Test(t) for t in tests])
     shard._RunTestsFromQueue(mock_runner, tests, results,
                              watchdog_timer.WatchdogTimer(None), 2)
     run_results = base_test_result.TestRunResults()
     for r in results:
         run_results.AddTestRunResults(r)
     return run_results
示例#2
0
 def _RunTests(mock_runner, tests):
   results = []
   tests = shard._TestCollection([shard._Test(t) for t in tests])
   shard._RunTestsFromQueue(mock_runner, tests, results,
                            watchdog_timer.WatchdogTimer(None))
   run_results = base_test_result.TestRunResults()
   for r in results:
     run_results.AddTestRunResults(r)
   return run_results
示例#3
0
 def _RunTests(mock_runner, tests):
     results = []
     tests = shard._TestCollection([shard._Test(t) for t in tests])
     shard._RunTestsFromQueue(mock_runner, tests, results)
     return test_result.TestResults.FromTestResults(results)
示例#4
0
 def _RunTests(mock_runner, tests):
   results = []
   tests = shard._TestCollection([shard._Test(t) for t in tests])
   shard._RunTestsFromQueue(mock_runner, tests, results)
   return test_result.TestResults.FromTestResults(results)