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

Issue 14670021: Write/compare against expectations in skimage tool. (Closed)

Created:
7 years, 7 months ago by scroggo
Modified:
7 years, 7 months ago
Reviewers:
epoger, djsollen
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Write/compare against expectations in skimage tool. skimage: Add two new modes: one to write expectations to a json file, and another to compare results against expectations. Use SkPATH_SEPARATOR instead of '/'. gm_expectations: Split into a static library so it can be used by skimage. Make functions non static and move function definitions into source file. Capitalize static member functions to follow the coding style guidelines. BUG=https://code.google.com/p/skia/issues/detail?id=1241 R=epoger@google.com Committed: https://code.google.com/p/skia/source/detail?r=9069

Patch Set 1 #

Total comments: 10

Patch Set 2 : respond to comments #

Patch Set 3 : rebase #

Patch Set 4 : Instead of appending a string of potentially infinite length, append a single character. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -40 lines) Patch
M gm/gm_expectations.h View 1 2 3 chunks +11 lines, -25 lines 0 comments Download
M gm/gm_expectations.cpp View 1 2 5 chunks +25 lines, -4 lines 0 comments Download
M gyp/gm.gyp View 3 chunks +25 lines, -1 line 0 comments Download
M gyp/tools.gyp View 1 chunk +8 lines, -1 line 0 comments Download
M tools/skimage_main.cpp View 1 2 3 10 chunks +130 lines, -9 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
scroggo
7 years, 7 months ago (2013-05-07 22:10:46 UTC) #1
epoger
LGTM, either with or without the suggestions below. I'll be curious to see the JSON ...
7 years, 7 months ago (2013-05-08 17:24:47 UTC) #2
scroggo
https://codereview.chromium.org/14670021/diff/1/tools/skimage_main.cpp File tools/skimage_main.cpp (right): https://codereview.chromium.org/14670021/diff/1/tools/skimage_main.cpp#newcode168 tools/skimage_main.cpp:168: // Stored expectations to be written to a file ...
7 years, 7 months ago (2013-05-08 18:46:33 UTC) #3
epoger
LGTM
7 years, 7 months ago (2013-05-08 18:48:36 UTC) #4
scroggo
7 years, 7 months ago (2013-05-08 19:14:27 UTC) #5
Message was sent while issue was closed.
Committed patchset #4 manually as r9069 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698