OLD | NEW |
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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
483 | 483 |
484 def default_results_directory(self): | 484 def default_results_directory(self): |
485 return '/tmp/layout-test-results' | 485 return '/tmp/layout-test-results' |
486 | 486 |
487 def setup_test_run(self): | 487 def setup_test_run(self): |
488 pass | 488 pass |
489 | 489 |
490 def _driver_class(self): | 490 def _driver_class(self): |
491 return TestDriver | 491 return TestDriver |
492 | 492 |
493 def start_http_server(self, additional_dirs=None, number_of_drivers=None): | 493 def start_http_server(self, additional_dirs, number_of_drivers): |
494 pass | 494 pass |
495 | 495 |
496 def start_websocket_server(self): | 496 def start_websocket_server(self): |
497 pass | 497 pass |
498 | 498 |
499 def acquire_http_lock(self): | 499 def acquire_http_lock(self): |
500 pass | 500 pass |
501 | 501 |
502 def stop_http_server(self): | 502 def stop_http_server(self): |
503 pass | 503 pass |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
650 image = None | 650 image = None |
651 else: | 651 else: |
652 image = test.actual_image | 652 image = test.actual_image |
653 return DriverOutput(actual_text, image, test.actual_checksum, audio, | 653 return DriverOutput(actual_text, image, test.actual_checksum, audio, |
654 crash=(crash or web_process_crash), crashed_process_name=crashed_pro
cess_name, | 654 crash=(crash or web_process_crash), crashed_process_name=crashed_pro
cess_name, |
655 crashed_pid=crashed_pid, crash_log=crash_log, | 655 crashed_pid=crashed_pid, crash_log=crash_log, |
656 test_time=time.time() - start_time, timeout=test.timeout, error=test
.error, pid=self.pid) | 656 test_time=time.time() - start_time, timeout=test.timeout, error=test
.error, pid=self.pid) |
657 | 657 |
658 def stop(self): | 658 def stop(self): |
659 self.started = False | 659 self.started = False |
OLD | NEW |