Chromium Code Reviews
DescriptionReformat example LayoutTestResults in rebaseline_unittest.
This CL just converts expressions of the form
LayoutTestResults.results_from_string("""ADD_RESULTS({
"tests": {...}
});"""
to expressions of the form:
data = LayoutTestResults({"tests": {...}})
The use of literal strings with ADD_RESULTS just makes the tests harder
to read without adding benefit.
This is related to http://crrev.com/2129323002, and the end purpose is
to make it easier to change the code and tests to enable
http://crrev.com/2118513002 to work.
Committed: https://crrev.com/249277aa25ed5556d9167724527219c66deecc1e
Cr-Commit-Position: refs/heads/master@{#404720}
Patch Set 1 #
Total comments: 2
Messages
Total messages: 13 (4 generated)
|
|||||||||||||||||||