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

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: 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 d1f69fdad4dbc93f153534bea5c88488a00f2029..26e677ade120ca5de70a62fff96c61e326ac7063 100644
--- a/chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc
+++ b/chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc
@@ -226,6 +226,7 @@ TEST(TemplateURLPrepopulateDataTest, ClearProvidersFromPrefs) {
EXPECT_FALSE(t_urls[default_index]->instant_url().empty());
EXPECT_FALSE(t_urls[default_index]->image_url().empty());
EXPECT_FALSE(t_urls[default_index]->image_url_post_params().empty());
+ EXPECT_FALSE(t_urls[default_index]->new_tab_url().empty());
EXPECT_EQ(
SEARCH_ENGINE_GOOGLE,
TemplateURLPrepopulateData::GetEngineType(t_urls[default_index]->url()));
@@ -259,6 +260,7 @@ TEST(TemplateURLPrepopulateDataTest, ProvidersFromPrepopulated) {
EXPECT_FALSE(t_urls[default_index]->instant_url().empty());
EXPECT_FALSE(t_urls[default_index]->image_url().empty());
EXPECT_FALSE(t_urls[default_index]->image_url_post_params().empty());
+ EXPECT_FALSE(t_urls[default_index]->new_tab_url().empty());
// Expect at least 2 alternate_urls.
// This caught a bug with static initialization of arrays, so leave this in.
EXPECT_GT(t_urls[default_index]->alternate_urls().size(), 1u);

Powered by Google App Engine
This is Rietveld 408576698