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

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

Issue 135653016: Clean up run-blink-httpd, run-blink-websocketserver, add tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: merge forward changes 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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « Tools/Scripts/webkitpy/layout_tests/port/mock_drt.py ('k') | Tools/Scripts/webkitpy/layout_tests/servers/apache_http.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698