Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(725)

Side by Side Diff: infra/bots/recipe_modules/flavor/api.py

Issue 2215443003: [recipes] Increase test coverage (Closed) Base URL: https://skia.googlesource.com/skia.git@merge_buildbot_spec
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 5
6 # pylint: disable=W0201 6 # pylint: disable=W0201
7 7
8 8
9 from recipe_engine import recipe_api 9 from recipe_engine import recipe_api
10 10
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 def copy_extra_build_products(self, swarming_out_dir): 95 def copy_extra_build_products(self, swarming_out_dir):
96 return self._f.copy_extra_build_products(swarming_out_dir) 96 return self._f.copy_extra_build_products(swarming_out_dir)
97 97
98 @property 98 @property
99 def out_dir(self): 99 def out_dir(self):
100 return self._f.out_dir 100 return self._f.out_dir
101 101
102 def device_path_join(self, *args): 102 def device_path_join(self, *args):
103 return self._f.device_path_join(*args) 103 return self._f.device_path_join(*args)
104 104
105 def device_path_exists(self, path):
106 return self._f.device_path_exists(path) # pragma: no cover
107
108 def copy_directory_contents_to_device(self, host_dir, device_dir): 105 def copy_directory_contents_to_device(self, host_dir, device_dir):
109 return self._f.copy_directory_contents_to_device(host_dir, device_dir) 106 return self._f.copy_directory_contents_to_device(host_dir, device_dir)
110 107
111 def copy_directory_contents_to_host(self, device_dir, host_dir): 108 def copy_directory_contents_to_host(self, device_dir, host_dir):
112 return self._f.copy_directory_contents_to_host(device_dir, host_dir) 109 return self._f.copy_directory_contents_to_host(device_dir, host_dir)
113 110
114 def copy_file_to_device(self, host_path, device_path): 111 def copy_file_to_device(self, host_path, device_path):
115 return self._f.copy_file_to_device(host_path, device_path) 112 return self._f.copy_file_to_device(host_path, device_path)
116 113
117 def create_clean_host_dir(self, path): 114 def create_clean_host_dir(self, path):
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 version, 204 version,
208 VERSION_FILE_SKP, 205 VERSION_FILE_SKP,
209 self.m.vars.tmp_dir, 206 self.m.vars.tmp_dir,
210 self.m.vars.local_skp_dir, 207 self.m.vars.local_skp_dir,
211 self.device_dirs.skp_dir, 208 self.device_dirs.skp_dir,
212 test_expected_version=self.m.properties.get( 209 test_expected_version=self.m.properties.get(
213 'test_downloaded_skp_version', TEST_EXPECTED_SKP_VERSION), 210 'test_downloaded_skp_version', TEST_EXPECTED_SKP_VERSION),
214 test_actual_version=self.m.properties.get( 211 test_actual_version=self.m.properties.get(
215 'test_downloaded_skp_version', TEST_EXPECTED_SKP_VERSION)) 212 'test_downloaded_skp_version', TEST_EXPECTED_SKP_VERSION))
216 return version 213 return version
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698