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

Side by Side Diff: Tools/Scripts/webkitpy/layout_tests/port/win.py

Issue 150573014: Rename various methods in webkitpy.layout_test.Port to be public (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove port.check_httpd stub call from port_testcase Created 6 years, 10 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (C) 2010 Google Inc. All rights reserved. 1 # Copyright (C) 2010 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 _log.error(' http://dev.chromium.org/developers/how-tos/build-ins tructions-windows') 137 _log.error(' http://dev.chromium.org/developers/how-tos/build-ins tructions-windows')
138 return result 138 return result
139 139
140 def operating_system(self): 140 def operating_system(self):
141 return 'win' 141 return 'win'
142 142
143 def relative_test_filename(self, filename): 143 def relative_test_filename(self, filename):
144 path = filename[len(self.layout_tests_dir()) + 1:] 144 path = filename[len(self.layout_tests_dir()) + 1:]
145 return path.replace('\\', '/') 145 return path.replace('\\', '/')
146 146
147 def uses_apache(self):
148 return False
149
150 def path_to_apache(self):
151 return self.path_from_chromium_base('third_party', 'cygwin', 'usr', 'sbi n', 'httpd')
152
153 def path_to_apache_config_file(self):
154 return self._filesystem.join(self.layout_tests_dir(), 'http', 'conf', 'c ygwin-httpd.conf')
155
156 def path_to_lighttpd(self):
157 return self._lighttpd_path('LightTPD.exe')
158
159 def path_to_lighttpd_modules(self):
160 return self._lighttpd_path('lib')
161
162 def path_to_lighttpd_php(self):
163 return self._lighttpd_path('php5', 'php-cgi.exe')
164
147 # 165 #
148 # PROTECTED ROUTINES 166 # PROTECTED ROUTINES
149 # 167 #
150 168
151 def _uses_apache(self):
152 return False
153
154 def _lighttpd_path(self, *comps): 169 def _lighttpd_path(self, *comps):
155 return self.path_from_chromium_base('third_party', 'lighttpd', 'win', *c omps) 170 return self.path_from_chromium_base('third_party', 'lighttpd', 'win', *c omps)
156 171
157 def _path_to_apache(self):
158 return self.path_from_chromium_base('third_party', 'cygwin', 'usr', 'sbi n', 'httpd')
159
160 def _path_to_apache_config_file(self):
161 return self._filesystem.join(self.layout_tests_dir(), 'http', 'conf', 'c ygwin-httpd.conf')
162
163 def _path_to_lighttpd(self):
164 return self._lighttpd_path('LightTPD.exe')
165
166 def _path_to_lighttpd_modules(self):
167 return self._lighttpd_path('lib')
168
169 def _path_to_lighttpd_php(self):
170 return self._lighttpd_path('php5', 'php-cgi.exe')
171
172 def _path_to_driver(self, configuration=None): 172 def _path_to_driver(self, configuration=None):
173 binary_name = '%s.exe' % self.driver_name() 173 binary_name = '%s.exe' % self.driver_name()
174 return self._build_path_with_configuration(configuration, binary_name) 174 return self._build_path_with_configuration(configuration, binary_name)
175 175
176 def _path_to_helper(self): 176 def _path_to_helper(self):
177 binary_name = 'layout_test_helper.exe' 177 binary_name = 'layout_test_helper.exe'
178 return self._build_path(binary_name) 178 return self._build_path(binary_name)
179 179
180 def _path_to_crash_service(self): 180 def _path_to_crash_service(self):
181 binary_name = 'content_shell_crash_service.exe' 181 binary_name = 'content_shell_crash_service.exe'
(...skipping 16 matching lines...) Expand all
198 return result 198 return result
199 199
200 def look_for_new_crash_logs(self, crashed_processes, start_time): 200 def look_for_new_crash_logs(self, crashed_processes, start_time):
201 if self.get_option('disable_breakpad'): 201 if self.get_option('disable_breakpad'):
202 return None 202 return None
203 return self._dump_reader.look_for_new_crash_logs(crashed_processes, star t_time) 203 return self._dump_reader.look_for_new_crash_logs(crashed_processes, star t_time)
204 204
205 def clobber_old_port_specific_results(self): 205 def clobber_old_port_specific_results(self):
206 if not self.get_option('disable_breakpad'): 206 if not self.get_option('disable_breakpad'):
207 self._dump_reader.clobber_old_results() 207 self._dump_reader.clobber_old_results()
OLDNEW
« no previous file with comments | « Tools/Scripts/webkitpy/layout_tests/port/test.py ('k') | Tools/Scripts/webkitpy/layout_tests/port/win_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698