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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/print_layout_test_times_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/print_layout_test_times_unittest.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/print_layout_test_times_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/print_layout_test_times_unittest.py
index 97bdf08319369875e3f297df92b02f5e1a4b82a2..485130a212932d317097165276a27fde01281e96 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/print_layout_test_times_unittest.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/print_layout_test_times_unittest.py
@@ -58,36 +58,36 @@ class PrintLayoutTestTimesTest(unittest.TestCase):
def test_fastest_overall(self):
# This is the fastest 10% of the tests overall (ignoring dir structure, equivalent to -f 0).
self.check(['--fastest', '10'],
- "bar/bar1/fast5.html 10\n"
- "bar/bar1/fast6.html 10\n"
- "foo/foo1/fast1.html 10\n")
+ "bar/bar1/fast5.html 10\n"
+ "bar/bar1/fast6.html 10\n"
+ "foo/foo1/fast1.html 10\n")
def test_fastest_forward_1(self):
# Note that we don't get anything from foo/foo2, as foo/foo1 used up the budget for foo.
self.check(['-f', '1', '--fastest', '10'],
- "bar/bar1/fast5.html 10\n"
- "foo/foo1/fast1.html 10\n"
- "foo/foo1/fast2.html 10\n")
+ "bar/bar1/fast5.html 10\n"
+ "foo/foo1/fast1.html 10\n"
+ "foo/foo1/fast2.html 10\n")
def test_fastest_back_1(self):
# Here we get one test from each dir, showing that we are going properly breadth-first.
self.check(['-b', '1', '--fastest', '10'],
- "bar/bar1/fast5.html 10\n"
- "foo/foo1/fast1.html 10\n"
- "foo/foo2/fast3.html 10\n")
+ "bar/bar1/fast5.html 10\n"
+ "foo/foo1/fast1.html 10\n"
+ "foo/foo2/fast3.html 10\n")
def test_no_args(self):
# This should be every test, sorted lexicographically.
self.check([],
- "bar/bar1/fast5.html 10\n"
- "bar/bar1/fast6.html 10\n"
- "bar/bar1/slow3.html 80\n"
- "foo/foo1/fast1.html 10\n"
- "foo/foo1/fast2.html 10\n"
- "foo/foo1/slow1.html 80\n"
- "foo/foo2/fast3.html 10\n"
- "foo/foo2/fast4.html 10\n"
- "foo/foo2/slow2.html 80\n")
+ "bar/bar1/fast5.html 10\n"
+ "bar/bar1/fast6.html 10\n"
+ "bar/bar1/slow3.html 80\n"
+ "foo/foo1/fast1.html 10\n"
+ "foo/foo1/fast2.html 10\n"
+ "foo/foo1/slow1.html 80\n"
+ "foo/foo2/fast3.html 10\n"
+ "foo/foo2/fast4.html 10\n"
+ "foo/foo2/slow2.html 80\n")
def test_total(self):
self.check(['-f', '0'], "300\n")

Powered by Google App Engine
This is Rietveld 408576698