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

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

Issue 2578213005: Use underscores to separate words in filenames in webkitpy. (Closed)
Patch Set: Fix check for attribute in output_capture.py. Created 3 years, 12 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 (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 11 matching lines...) Expand all
22 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 28
29 import base64 29 import base64
30 import time 30 import time
31 31
32 from webkitpy.common.system.crashlogs import CrashLogs 32 from webkitpy.common.system.crash_logs import CrashLogs
33 from webkitpy.layout_tests.models import test_run_results 33 from webkitpy.layout_tests.models import test_run_results
34 from webkitpy.layout_tests.models.test_configuration import TestConfiguration 34 from webkitpy.layout_tests.models.test_configuration import TestConfiguration
35 from webkitpy.layout_tests.port.base import Port, VirtualTestSuite 35 from webkitpy.layout_tests.port.base import Port, VirtualTestSuite
36 from webkitpy.layout_tests.port.driver import DeviceFailure, Driver, DriverOutpu t 36 from webkitpy.layout_tests.port.driver import DeviceFailure, Driver, DriverOutpu t
37 37
38 38
39 # This sets basic expectations for a test. Each individual expectation 39 # This sets basic expectations for a test. Each individual expectation
40 # can be overridden by a keyword argument in TestList.add(). 40 # can be overridden by a keyword argument in TestList.add().
41 class TestInstance(object): 41 class TestInstance(object):
42 42
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
627 else: 627 else:
628 image = test.actual_image 628 image = test.actual_image
629 return DriverOutput(actual_text, image, test.actual_checksum, audio, 629 return DriverOutput(actual_text, image, test.actual_checksum, audio,
630 crash=(crash or web_process_crash), crashed_process_ name=crashed_process_name, 630 crash=(crash or web_process_crash), crashed_process_ name=crashed_process_name,
631 crashed_pid=crashed_pid, crash_log=crash_log, 631 crashed_pid=crashed_pid, crash_log=crash_log,
632 test_time=time.time() - start_time, timeout=test.tim eout, error=test.error, pid=self.pid, 632 test_time=time.time() - start_time, timeout=test.tim eout, error=test.error, pid=self.pid,
633 leak=test.leak) 633 leak=test.leak)
634 634
635 def stop(self): 635 def stop(self):
636 self.started = False 636 self.started = False
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698