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

Issue 289063010: make render_pictures properly handle empty expectations file (Closed)

Created:
6 years, 7 months ago by epoger
Modified:
6 years, 7 months ago
Reviewers:
scroggo
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

make render_pictures properly handle empty expectations file note that this changes the parameters taken by ImageResultsAndExpectations::Parse() BUG=skia:1942 Committed: http://code.google.com/p/skia/source/detail?r=14779

Patch Set 1 #

Patch Set 2 : added some comments #

Total comments: 10

Patch Set 3 : extract some shared test code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -44 lines) Patch
M tools/image_expectations.h View 1 3 chunks +19 lines, -2 lines 0 comments Download
M tools/image_expectations.cpp View 3 chunks +36 lines, -7 lines 0 comments Download
M tools/tests/render_pictures_test.py View 1 2 2 chunks +52 lines, -35 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
epoger
Leon, PTAL at patchset 2. https://codereview.chromium.org/289063010/diff/20001/tools/image_expectations.cpp File tools/image_expectations.cpp (right): https://codereview.chromium.org/289063010/diff/20001/tools/image_expectations.cpp#newcode123 tools/image_expectations.cpp:123: if (strcmp(headerType.asCString(), kJsonValue_Header_Type)) { ...
6 years, 7 months ago (2014-05-16 21:02:31 UTC) #1
scroggo
lgtm https://codereview.chromium.org/289063010/diff/20001/tools/image_expectations.cpp File tools/image_expectations.cpp (right): https://codereview.chromium.org/289063010/diff/20001/tools/image_expectations.cpp#newcode123 tools/image_expectations.cpp:123: if (strcmp(headerType.asCString(), kJsonValue_Header_Type)) { On 2014/05/16 21:02:32, epoger ...
6 years, 7 months ago (2014-05-19 13:28:32 UTC) #2
epoger
Thanks, Leon. PTAL. https://codereview.chromium.org/289063010/diff/20001/tools/image_expectations.cpp File tools/image_expectations.cpp (right): https://codereview.chromium.org/289063010/diff/20001/tools/image_expectations.cpp#newcode123 tools/image_expectations.cpp:123: if (strcmp(headerType.asCString(), kJsonValue_Header_Type)) { On 2014/05/19 ...
6 years, 7 months ago (2014-05-19 14:52:00 UTC) #3
scroggo
LGTM https://codereview.chromium.org/289063010/diff/20001/tools/image_expectations.cpp File tools/image_expectations.cpp (right): https://codereview.chromium.org/289063010/diff/20001/tools/image_expectations.cpp#newcode217 tools/image_expectations.cpp:217: SkAutoDataUnref dataRef(SkData::NewFromFILE(filePtr)); On 2014/05/19 14:52:00, epoger wrote: > ...
6 years, 7 months ago (2014-05-19 15:07:37 UTC) #4
epoger
The CQ bit was checked by epoger@google.com
6 years, 7 months ago (2014-05-19 15:17:38 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/epoger@google.com/289063010/40001
6 years, 7 months ago (2014-05-19 15:17:46 UTC) #6
commit-bot: I haz the power
6 years, 7 months ago (2014-05-19 15:25:12 UTC) #7
Message was sent while issue was closed.
Change committed as 14779

Powered by Google App Engine
This is Rietveld 408576698