| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 from recipe_engine.types import freeze | 5 from recipe_engine.types import freeze |
| 6 from recipe_engine import recipe_api | 6 from recipe_engine import recipe_api |
| 7 from . import builders | 7 from . import builders |
| 8 from . import steps | 8 from . import steps |
| 9 | 9 |
| 10 | 10 |
| 11 class WebRTCApi(recipe_api.RecipeApi): | 11 class WebRTCApi(recipe_api.RecipeApi): |
| 12 def __init__(self, **kwargs): | 12 def __init__(self, **kwargs): |
| 13 super(WebRTCApi, self).__init__(**kwargs) | 13 super(WebRTCApi, self).__init__(**kwargs) |
| 14 self._env = {} | 14 self._env = {} |
| 15 | 15 |
| 16 BUILDERS = builders.BUILDERS | 16 BUILDERS = builders.BUILDERS |
| 17 RECIPE_CONFIGS = builders.RECIPE_CONFIGS | 17 RECIPE_CONFIGS = builders.RECIPE_CONFIGS |
| 18 | 18 |
| 19 NORMAL_TESTS = ( | 19 NORMAL_TESTS = ( |
| 20 'audio_decoder_unittests', | 20 'audio_decoder_unittests', |
| 21 'common_audio_unittests', | 21 'common_audio_unittests', |
| 22 'common_video_unittests', | 22 'common_video_unittests', |
| 23 'libjingle_p2p_unittest', | |
| 24 'modules_tests', | 23 'modules_tests', |
| 25 'modules_unittests', | 24 'modules_unittests', |
| 26 'peerconnection_unittests', | 25 'peerconnection_unittests', |
| 27 'rtc_media_unittests', | 26 'rtc_media_unittests', |
| 27 'rtc_pc_unittests', |
| 28 'rtc_unittests', | 28 'rtc_unittests', |
| 29 'system_wrappers_unittests', | 29 'system_wrappers_unittests', |
| 30 'test_support_unittests', | 30 'test_support_unittests', |
| 31 'tools_unittests', | 31 'tools_unittests', |
| 32 'video_engine_tests', | 32 'video_engine_tests', |
| 33 'voice_engine_unittests', | 33 'voice_engine_unittests', |
| 34 ) | 34 ) |
| 35 | 35 |
| 36 # Android APK tests. | 36 # Android APK tests. |
| 37 ANDROID_APK_TESTS = ( | 37 ANDROID_APK_TESTS = ( |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 def clean_test_output(self): | 287 def clean_test_output(self): |
| 288 """Remove all test output in out/, since we have tests leaking files.""" | 288 """Remove all test output in out/, since we have tests leaking files.""" |
| 289 out_dir = self.m.path['checkout'].join('out') | 289 out_dir = self.m.path['checkout'].join('out') |
| 290 self.m.python('clean test output files', | 290 self.m.python('clean test output files', |
| 291 script=self.resource('cleanup_files.py'), | 291 script=self.resource('cleanup_files.py'), |
| 292 args=[out_dir], | 292 args=[out_dir], |
| 293 infra_step=True) | 293 infra_step=True) |
| 294 | 294 |
| 295 def virtual_webcam_check(self): | 295 def virtual_webcam_check(self): |
| 296 self.m.python('webcam_check', self.resource('ensure_webcam_is_running.py')) | 296 self.m.python('webcam_check', self.resource('ensure_webcam_is_running.py')) |
| OLD | NEW |