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

Unified Diff: chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc

Issue 22945004: InstantExtended: Add new_tab_url to TemplateURL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 7 years, 4 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
Index: chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc
diff --git a/chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc b/chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc
index a44b2ba362c719bd54822f5e4f13dc0b784a11a6..d2e4db4fc129c5931f76e28d2fed1ad688f600e6 100644
--- a/chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc
+++ b/chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc
@@ -233,6 +233,7 @@ TEST(TemplateURLPrepopulateDataTest, ClearProvidersFromPrefs) {
EXPECT_FALSE(t_urls[default_index]->suggestions_url().empty());
EXPECT_FALSE(t_urls[default_index]->instant_url().empty());
EXPECT_FALSE(t_urls[default_index]->image_url().empty());
+ EXPECT_FALSE(t_urls[default_index]->new_tab_url().empty());
EXPECT_FALSE(t_urls[default_index]->image_url_post_params().empty());
EXPECT_EQ(SEARCH_ENGINE_GOOGLE,
TemplateURLPrepopulateData::GetEngineType(*t_urls[default_index]));
@@ -265,6 +266,7 @@ TEST(TemplateURLPrepopulateDataTest, ProvidersFromPrepopulated) {
EXPECT_FALSE(t_urls[default_index]->suggestions_url().empty());
EXPECT_FALSE(t_urls[default_index]->instant_url().empty());
EXPECT_FALSE(t_urls[default_index]->image_url().empty());
+ EXPECT_FALSE(t_urls[default_index]->new_tab_url().empty());
EXPECT_FALSE(t_urls[default_index]->image_url_post_params().empty());
// Expect at least 2 alternate_urls.
// This caught a bug with static initialization of arrays, so leave this in.
« no previous file with comments | « chrome/browser/search_engines/template_url_prepopulate_data.cc ('k') | chrome/browser/search_engines/template_url_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698