DescriptionMove 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
Messages
Total messages: 14 (8 generated)
|