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

Issue 23598004: Test decoders when hasLength returns false. (Closed)

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

Description

Test decoders when hasLength returns false. Compare the result of a decode of a stream without a length to the result of the same stream with a length. Ensures that our decoders work regardless of whether hasLength returns true (since the decode potentially follows two paths). R=epoger@google.com Committed: https://code.google.com/p/skia/source/detail?r=10984

Patch Set 1 #

Total comments: 7

Patch Set 2 : Respond to comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -7 lines) Patch
M tools/skimage_main.cpp View 1 7 chunks +78 lines, -7 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
scroggo
https://codereview.chromium.org/23598004/diff/1/tools/skimage_main.cpp File tools/skimage_main.cpp (right): https://codereview.chromium.org/23598004/diff/1/tools/skimage_main.cpp#newcode470 tools/skimage_main.cpp:470: if (compare_to_expectations_if_necessary(subsetWithDigest.fDigest, I could have left this as bitmapFromDecodeSubset, ...
7 years, 3 months ago (2013-08-27 22:13:11 UTC) #1
epoger
LGTM with or without the following suggestions... https://codereview.chromium.org/23598004/diff/1/tools/skimage_main.cpp File tools/skimage_main.cpp (right): https://codereview.chromium.org/23598004/diff/1/tools/skimage_main.cpp#newcode309 tools/skimage_main.cpp:309: // getLength. ...
7 years, 3 months ago (2013-08-28 14:47:56 UTC) #2
scroggo
New patch. https://codereview.chromium.org/23598004/diff/1/tools/skimage_main.cpp File tools/skimage_main.cpp (right): https://codereview.chromium.org/23598004/diff/1/tools/skimage_main.cpp#newcode309 tools/skimage_main.cpp:309: // getLength. On 2013/08/28 14:47:56, epoger wrote: ...
7 years, 3 months ago (2013-08-28 17:54:38 UTC) #3
epoger
lgtm
7 years, 3 months ago (2013-08-28 18:24:04 UTC) #4
scroggo
7 years, 3 months ago (2013-08-28 18:33:39 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r10984 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698