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

Issue 2520753002: Pull up tests for WebP and GIF image decoders. (Closed)

Created:
4 years, 1 month ago by joostouwerling
Modified:
4 years ago
CC:
chromium-reviews, blink-reviews, jzern, skal, urvang
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pull up tests for WebP and GIF image decoders. Just a refactor. No change in behavior, no new tests. Pull up updateRequiredPreviousFrameAfterFirstDecode, resumePartialDecodingAfterClearFrameBufferCache, which are shared by GIFImagerDecoderTest and WEBPImageDecoderTest. Pull up testAlphaBlending from WEBPImageDecoderTest, so that it can be reused in APNG tests. Use ImageDecoderTestHelpers::testByteByByteDecode for GIF's parseAndDecodeByteByByte test. This tests for the same, and in addition checks if the baseline hashes are equivalent to the incremental hashes. Committed: https://crrev.com/40ce4579e49be92da9fc1569e25f539e44480c97 Cr-Commit-Position: refs/heads/master@{#434828}

Patch Set 1 #

Patch Set 2 : Make ImageDecoderTestHelpers::verifyFramesMatch const correct. #

Patch Set 3 : Use braces for multi-line loops, fix alphabetical sorting #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+200 lines, -208 lines) Patch
M third_party/WebKit/Source/platform/image-decoders/ImageDecoderTestHelpers.h View 1 2 3 chunks +21 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/image-decoders/ImageDecoderTestHelpers.cpp View 1 2 3 chunks +160 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoderTest.cpp View 3 chunks +7 lines, -87 lines 0 comments Download
M third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp View 4 chunks +12 lines, -120 lines 1 comment Download

Messages

Total messages: 14 (8 generated)
joostouwerling
4 years, 1 month ago (2016-11-20 20:00:31 UTC) #5
urvang
lgtm https://codereview.chromium.org/2520753002/diff/40001/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp File third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp (right): https://codereview.chromium.org/2520753002/diff/40001/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp#newcode401 third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoderTest.cpp:401: DISABLED_resumePartialDecodeAfterClearFrameBufferCache) { Unrelated to this patch, but can ...
4 years, 1 month ago (2016-11-21 20:16:15 UTC) #6
scroggo_chromium
lgtm
4 years ago (2016-11-28 16:10:30 UTC) #7
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/2520753002/40001
4 years ago (2016-11-29 00:35:40 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-29 02:05:45 UTC) #12
commit-bot: I haz the power
4 years ago (2016-11-29 02:08:20 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/40ce4579e49be92da9fc1569e25f539e44480c97
Cr-Commit-Position: refs/heads/master@{#434828}

Powered by Google App Engine
This is Rietveld 408576698