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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/w3c/wpt_expectations_updater.py

Issue 2652653011: Rename update_w3c_test_expectations and related files. (Closed)
Patch Set: Rebase, add back accidentally-removed "directory owner extractor" code Created 3 years, 11 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/w3c/wpt_expectations_updater.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/update_w3c_test_expectations.py b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/wpt_expectations_updater.py
similarity index 97%
rename from third_party/WebKit/Tools/Scripts/webkitpy/w3c/update_w3c_test_expectations.py
rename to third_party/WebKit/Tools/Scripts/webkitpy/w3c/wpt_expectations_updater.py
index f3ba461c8c2d31219692409476f582d44b8537dc..3444b17f1784cd3e91f549feda21f137533f1db8 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/w3c/update_w3c_test_expectations.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/w3c/wpt_expectations_updater.py
@@ -2,13 +2,11 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-"""A class for updating layout test expectations when updating w3c tests.
+"""Updates layout test expectations and baselines when updating w3c tests.
-Specifically, this class fetches results from try bots for the current CL, and:
- 1. Downloads new baseline files for any tests that can be rebaselined.
- 2. Updates the generic TestExpectations file for any other failing tests.
-
-This is used as part of the w3c test auto-import process.
+Specifically, this class fetches results from try bots for the current CL, then
+(1) downloads new baseline files for any tests that can be rebaselined, and
+(2) updates the generic TestExpectations file for any other failing tests.
"""
import argparse
@@ -26,7 +24,7 @@ _log = logging.getLogger(__name__)
MARKER_COMMENT = '# ====== New tests from w3c-test-autoroller added here ======'
-class W3CExpectationsLineAdder(object):
+class WPTExpectationsUpdater(object):
def __init__(self, host):
self.host = host

Powered by Google App Engine
This is Rietveld 408576698