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 Review-Url: https://codereview.chromium.org/2341173002 Cr-Commit-Position: refs/heads/master@{#419013}
Showing
Please register or sign in to comment