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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_configuration.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/models/test_configuration.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_configuration.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_configuration.py
index 2c8955e665cd1bc7479cd14825aefb028ef947d0..f9bebf8da3389d20624ee727ab0130ebb9e34534 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_configuration.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_configuration.py
@@ -30,6 +30,7 @@ import copy
class TestConfiguration(object):
+
def __init__(self, version, architecture, build_type):
self.version = version
self.architecture = architecture
@@ -65,6 +66,7 @@ class TestConfiguration(object):
class SpecifierSorter(object):
+
def __init__(self, all_test_configurations=None, macros=None):
self._specifier_to_category = {}
@@ -109,6 +111,7 @@ class SpecifierSorter(object):
class TestConfigurationConverter(object):
+
def __init__(self, all_test_configurations, configuration_macros=None):
self._all_test_configurations = all_test_configurations
self._configuration_macros = configuration_macros or {}
@@ -282,7 +285,6 @@ class TestConfigurationConverter(object):
while try_abbreviating(self._collapsing_sets_by_size.values()):
pass
-
# 4) Substitute specifier subsets that match macros witin each set:
# (win7, win10, release) -> (win, release)
self.collapse_macros(self._configuration_macros, specifiers_list)

Powered by Google App Engine
This is Rietveld 408576698