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

Unified Diff: tests/CodexTest.cpp

Issue 1076923002: SkJpegCodec (Closed) Base URL: https://skia.googlesource.com/skia.git@gif-real
Patch Set: SkJpegCodec Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/codec/SkSwizzler.cpp ('K') | « src/codec/SkSwizzler.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/CodexTest.cpp
diff --git a/tests/CodexTest.cpp b/tests/CodexTest.cpp
index a771716a24dfef27ac42f28bad1a59fefb1625c1..cca06e709a99482d81ca87991a82eedd7a1d6ca6 100644
--- a/tests/CodexTest.cpp
+++ b/tests/CodexTest.cpp
@@ -104,6 +104,13 @@ DEF_TEST(Codec, r) {
check(r, "color_wheel.gif", SkISize::Make(128, 128), false);
check(r, "randPixels.gif", SkISize::Make(8, 8), false);
+ // JPG
+ check(r, "CMYK.jpg", SkISize::Make(642, 516), false);
+ check(r, "color_wheel.jpg", SkISize::Make(128, 128), false);
+ check(r, "grayscale.jpg", SkISize::Make(128, 128), false);
+ check(r, "mandrill_512_q075.jpg", SkISize::Make(512, 512), false);
+ check(r, "randPixels.jpg", SkISize::Make(8, 8), false);
+
// PNG
check(r, "arrow.png", SkISize::Make(187, 312), true);
check(r, "baby_tux.png", SkISize::Make(240, 246), true);
« src/codec/SkSwizzler.cpp ('K') | « src/codec/SkSwizzler.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698