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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/browser_test.py

Issue 1783073002: Run auto-formatter on files in webkitpy/layout_tests/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/browser_test.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/browser_test.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/browser_test.py
index 306309779bb297f097a8e50c1e4aed2529a16d09..c95a770c847b50de83345fb595d6bddbad70dcbd 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/browser_test.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/browser_test.py
@@ -47,6 +47,7 @@ class BrowserTestPortOverrides(object):
"""Set of overrides that every browser test platform port should have. This
class should not be instantiated as certain functions depend on base. Port
to work."""
+
def _driver_class(self):
return browser_test_driver.BrowserTestDriver
@@ -80,6 +81,7 @@ class BrowserTestLinuxPort(BrowserTestPortOverrides, linux.LinuxPort):
class BrowserTestMacPort(BrowserTestPortOverrides, mac.MacPort):
+
def _path_to_driver(self, target=None):
return self._build_path_with_target(target, self.driver_name())
@@ -92,6 +94,7 @@ class BrowserTestMacPort(BrowserTestPortOverrides, mac.MacPort):
class BrowserTestWinPort(BrowserTestPortOverrides, win.WinPort):
+
def default_timeout_ms(self):
timeout_ms = 20 * 1000
if self.get_option('configuration') == 'Debug': # pylint: disable=E1101

Powered by Google App Engine
This is Rietveld 408576698