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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/lint_test_expectations_unittest.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/lint_test_expectations_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/lint_test_expectations_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/lint_test_expectations_unittest.py
index d3c8a5136e630fe8a933785af0b22a87b5a04bf2..dd8fa4a9f9cc1cfab0b14e533df852e370532831 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/lint_test_expectations_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/lint_test_expectations_unittest.py
@@ -35,6 +35,7 @@ from webkitpy.layout_tests import lint_test_expectations
class FakePort(object):
+
def __init__(self, host, name, path):
self.host = host
self.name = name
@@ -65,7 +66,9 @@ class FakePort(object):
def path_to_generic_test_expectations_file(self):
return ''
+
class FakeFactory(object):
+
def __init__(self, host, ports):
self.host = host
self.ports = {}
@@ -80,6 +83,7 @@ class FakeFactory(object):
class LintTest(unittest.TestCase):
+
def test_all_configurations(self):
host = MockHost()
host.ports_parsed = []
@@ -113,7 +117,6 @@ class LintTest(unittest.TestCase):
finally:
lint_test_expectations.tear_down_logging(logger, handler)
-
def test_lint_test_files__errors(self):
options = optparse.Values({'platform': 'test', 'debug_rwt_logging': False})
host = MockHost()
@@ -138,6 +141,7 @@ class LintTest(unittest.TestCase):
class CheckVirtualSuiteTest(unittest.TestCase):
+
def test_check_virtual_test_suites(self):
host = MockHost()
options = optparse.Values({'platform': 'test', 'debug_rwt_logging': False})

Powered by Google App Engine
This is Rietveld 408576698