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

Issue 2341173002: Move tokenize_line method from TestExpectationParser to TestExpectationLine. (Closed)

Created:
4 years, 3 months ago by qyearsley
Modified:
4 years, 3 months ago
Reviewers:
Dirk Pranke
CC:
blink-reviews, bokan, chromium-reviews, jeffcarp
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move tokenize_line method from TestExpectationParser to TestExpectationLine. In this CL: - Move tokenize_line class method to TestExpectationLine, as suggested by FIXME. - Make tokenize_line non-protected, since it's used in another class, and would be useful in other modules, e.g. update_w3c_test_expectations. - Move class attributes that tokenize_line depends on. - Other changes suggested by linter (e.g. shorten long variable name). This is a preliminary refactoring CL which is intended to make it easier to re-use tokenize_line in update_w3c_test_expectations.py, in order to make it easier to fix http://crbug.com/647395. BUG=647395 Committed: https://crrev.com/5ad02862242995ad53cf3e473aed5aa7b919153e Cr-Commit-Position: refs/heads/master@{#419013}

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -80 lines) Patch
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py View 8 chunks +66 lines, -72 lines 3 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/views/buildbot_results.py View 3 chunks +3 lines, -6 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
qyearsley
4 years, 3 months ago (2016-09-15 20:44:41 UTC) #3
Dirk Pranke
lgtm
4 years, 3 months ago (2016-09-15 20:55:41 UTC) #4
qyearsley
https://codereview.chromium.org/2341173002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py File third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py (left): https://codereview.chromium.org/2341173002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py#oldcode393 third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py:393: return [part.strip() for part in space_separated_string.strip().split(' ')] Note: This ...
4 years, 3 months ago (2016-09-15 21:02:31 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2341173002/1
4 years, 3 months ago (2016-09-15 22:16:31 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-15 22:22:33 UTC) #12
commit-bot: I haz the power
4 years, 3 months ago (2016-09-15 22:24:35 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/5ad02862242995ad53cf3e473aed5aa7b919153e
Cr-Commit-Position: refs/heads/master@{#419013}

Powered by Google App Engine
This is Rietveld 408576698