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

Unified Diff: components/doodle/doodle_fetcher_impl_unittest.cc

Issue 2780453002: Remove deprecated Doodle search URLs (Closed)
Patch Set: Created 3 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 | « no previous file | components/doodle/doodle_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/doodle/doodle_fetcher_impl_unittest.cc
diff --git a/components/doodle/doodle_fetcher_impl_unittest.cc b/components/doodle/doodle_fetcher_impl_unittest.cc
index b9908d42237f5c4ada5598ca7010dcc95697f04a..6f0a7a2a294e2256ed03b315b86c38bd4ca4e49c 100644
--- a/components/doodle/doodle_fetcher_impl_unittest.cc
+++ b/components/doodle/doodle_fetcher_impl_unittest.cc
@@ -198,7 +198,6 @@ TEST_F(DoodleFetcherImplTest, ResponseContainsValidBaseInformation) {
"alt_text":"Mouseover Text",
"doodle_type":"SIMPLE",
"interactive_html":"\u003cstyle\u003e\u003c\/style\u003e",
- "search_url":"/search?q\u003dtest",
"target_url":"/search?q\u003dtest\u0026sa\u003dX\u0026ved\u003d0ahUKEw",
"time_to_live_ms":55000,
"large_image": {
@@ -210,9 +209,6 @@ TEST_F(DoodleFetcherImplTest, ResponseContainsValidBaseInformation) {
ASSERT_TRUE(response.has_value());
DoodleConfig config = response.value();
- EXPECT_TRUE(config.search_url.is_valid());
- EXPECT_THAT(config.search_url, Eq(Resolve("/search?q\u003dtest")));
- EXPECT_TRUE(config.fullpage_interactive_url.is_empty());
EXPECT_TRUE(config.target_url.is_valid());
EXPECT_THAT(config.target_url,
Eq(Resolve("/search?q\u003dtest\u0026sa\u003dX\u0026ved\u003d"
« no previous file with comments | « no previous file | components/doodle/doodle_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698