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

Issue 2138913002: Reformat example LayoutTestResults in rebaseline_unittest. (Closed)

Created:
4 years, 5 months ago by qyearsley
Modified:
4 years, 4 months ago
Reviewers:
Dirk Pranke, wkorman
CC:
blink-reviews, chromium-reviews, Dirk Pranke
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reformat 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
Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -177 lines) Patch
M third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py View 13 chunks +175 lines, -177 lines 2 comments Download

Messages

Total messages: 13 (4 generated)
qyearsley
4 years, 5 months ago (2016-07-11 17:20:57 UTC) #2
qyearsley
https://codereview.chromium.org/2138913002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py File third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py (left): https://codereview.chromium.org/2138913002/diff/1/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py#oldcode832 third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/rebaseline_unittest.py:832: print self.tool.executive.calls Print statement accidentally left in in http://crrev.com/2069743002 ...
4 years, 5 months ago (2016-07-11 17:25:22 UTC) #3
wkorman
lgtm I think there's a typo in your CL description, text 'Apply difference' not needed?
4 years, 5 months ago (2016-07-11 17:58:43 UTC) #4
qyearsley
On 2016/07/11 at 17:58:43, wkorman wrote: > lgtm > > I think there's a typo ...
4 years, 5 months ago (2016-07-11 18:05:44 UTC) #6
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/2138913002/1
4 years, 5 months ago (2016-07-11 18:06:22 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-11 20:17:30 UTC) #9
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-11 20:17:42 UTC) #10
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/249277aa25ed5556d9167724527219c66deecc1e Cr-Commit-Position: refs/heads/master@{#404720}
4 years, 5 months ago (2016-07-11 20:19:12 UTC) #12
Dirk Pranke
4 years, 4 months ago (2016-08-09 03:49:13 UTC) #13
Message was sent while issue was closed.
lgtm (very belatedly).

Powered by Google App Engine
This is Rietveld 408576698