| OLD | NEW |
| 1 # Copyright (c) 2012 Google Inc. All rights reserved. | 1 # Copyright (c) 2012 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 cmd_line = original_cmd_line(pixel_tests, per_test_args) | 97 cmd_line = original_cmd_line(pixel_tests, per_test_args) |
| 98 index = cmd_line.index(driver_path) | 98 index = cmd_line.index(driver_path) |
| 99 cmd_line[index:index + 1] = [python_exe, this_file, '--platform', po
rt_name] | 99 cmd_line[index:index + 1] = [python_exe, this_file, '--platform', po
rt_name] |
| 100 return cmd_line | 100 return cmd_line |
| 101 | 101 |
| 102 return new_cmd_line | 102 return new_cmd_line |
| 103 | 103 |
| 104 def start_helper(self): | 104 def start_helper(self): |
| 105 pass | 105 pass |
| 106 | 106 |
| 107 def start_http_server(self, number_of_servers): | 107 def start_http_server(self, additional_dirs, number_of_servers): |
| 108 pass | 108 pass |
| 109 | 109 |
| 110 def start_websocket_server(self): | 110 def start_websocket_server(self): |
| 111 pass | 111 pass |
| 112 | 112 |
| 113 def acquire_http_lock(self): | 113 def acquire_http_lock(self): |
| 114 pass | 114 pass |
| 115 | 115 |
| 116 def stop_helper(self): | 116 def stop_helper(self): |
| 117 pass | 117 pass |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 self._stdout.write('#EOF\n') | 277 self._stdout.write('#EOF\n') |
| 278 self._stdout.flush() | 278 self._stdout.flush() |
| 279 self._stderr.write('#EOF\n') | 279 self._stderr.write('#EOF\n') |
| 280 self._stderr.flush() | 280 self._stderr.flush() |
| 281 | 281 |
| 282 | 282 |
| 283 if __name__ == '__main__': | 283 if __name__ == '__main__': |
| 284 # Note that the Mock in MockDRT refers to the fact that it is emulating a | 284 # Note that the Mock in MockDRT refers to the fact that it is emulating a |
| 285 # real DRT, and as such, it needs access to a real SystemHost, not a MockSys
temHost. | 285 # real DRT, and as such, it needs access to a real SystemHost, not a MockSys
temHost. |
| 286 sys.exit(main(sys.argv[1:], SystemHost(), sys.stdin, sys.stdout, sys.stderr)
) | 286 sys.exit(main(sys.argv[1:], SystemHost(), sys.stdin, sys.stdout, sys.stderr)
) |
| OLD | NEW |