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

Unified Diff: tests/CodexTest.cpp

Issue 1054673002: Ico test with embedded png (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Merge with latest Created 5 years, 9 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
« no previous file with comments | « resources/google_chrome.ico ('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 6c4fe68e27dd6d6b60df109b9e933715e4e106c1..825251854db333f66b879dcc12a80bd3506e6f2a 100644
--- a/tests/CodexTest.cpp
+++ b/tests/CodexTest.cpp
@@ -88,7 +88,11 @@ DEF_TEST(Codec, r) {
check(r, "randPixels.bmp", SkISize::Make(8, 8), false);
// ICO
+ // These two tests examine interestingly different behavior:
+ // Decodes an embedded BMP image
check(r, "color_wheel.ico", SkISize::Make(128, 128), false);
+ // Decodes an embedded PNG image
+ check(r, "google_chrome.ico", SkISize::Make(256, 256), false);
// PNG
check(r, "arrow.png", SkISize::Make(187, 312), true);
« no previous file with comments | « resources/google_chrome.ico ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698