diff options
author | justincohen <justincohen@chromium.org> | 2015-04-03 09:36:03 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-03 16:36:29 +0000 |
commit | e30018a1830440f1dca72e11605a69592c472883 (patch) | |
tree | f043febc91848af5a1f324e9bf0ea61dc09b182c /components/search_provider_logos/logo_cache_unittest.cc | |
parent | 8828ed3647a456dd46827282c31c451d194c7ca0 (diff) | |
download | chromium_src-e30018a1830440f1dca72e11605a69592c472883.zip chromium_src-e30018a1830440f1dca72e11605a69592c472883.tar.gz chromium_src-e30018a1830440f1dca72e11605a69592c472883.tar.bz2 |
Add animated url to LogoTracker.
BUG=414528
Review URL: https://codereview.chromium.org/1054123002
Cr-Commit-Position: refs/heads/master@{#323754}
Diffstat (limited to 'components/search_provider_logos/logo_cache_unittest.cc')
-rw-r--r-- | components/search_provider_logos/logo_cache_unittest.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/search_provider_logos/logo_cache_unittest.cc b/components/search_provider_logos/logo_cache_unittest.cc index a483c98..7ed3447 100644 --- a/components/search_provider_logos/logo_cache_unittest.cc +++ b/components/search_provider_logos/logo_cache_unittest.cc @@ -24,6 +24,7 @@ LogoMetadata GetExampleMetadata() { &metadata.expiration_time)); metadata.can_show_after_expiration = true; metadata.on_click_url = "https://www.google.com/search?q=chicken"; + metadata.animated_url = "http://www.google.com/logos/doodle.png"; metadata.alt_text = "A logo about chickens"; metadata.mime_type = "image/jpeg"; return metadata; @@ -73,6 +74,7 @@ void ExpectMetadataEqual(const LogoMetadata& expected_metadata, actual_metadata.can_show_after_expiration); EXPECT_EQ(expected_metadata.expiration_time, actual_metadata.expiration_time); EXPECT_EQ(expected_metadata.on_click_url, actual_metadata.on_click_url); + EXPECT_EQ(expected_metadata.animated_url, actual_metadata.animated_url); EXPECT_EQ(expected_metadata.alt_text, actual_metadata.alt_text); EXPECT_EQ(expected_metadata.mime_type, actual_metadata.mime_type); } |