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

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

Issue 268643002: Use the DefaultSearchManager as the exclusive authority on DSE, ignoring Web Data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Last test fix? Created 6 years, 7 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_service_util_unittest.cc
diff --git a/chrome/browser/search_engines/template_url_service_util_unittest.cc b/chrome/browser/search_engines/template_url_service_util_unittest.cc
index b08ca289fbddef8574c0f96c5a5e248cfe8e4007..031da3bd87b1db3fb2ab1cd3497f02c23af44191 100644
--- a/chrome/browser/search_engines/template_url_service_util_unittest.cc
+++ b/chrome/browser/search_engines/template_url_service_util_unittest.cc
@@ -86,8 +86,8 @@ TEST(TemplateURLServiceUtilTest, RemoveDuplicatePrepopulateIDs) {
local_turls.push_back(
CreatePrepopulateTemplateURL(3, "loser6", 15).release());
- RemoveDuplicatePrepopulateIDs(NULL, prepopulated_turls, default_turl,
- &local_turls, NULL);
+ RemoveDuplicatePrepopulateIDs(
+ NULL, prepopulated_turls, default_turl, &local_turls, NULL);
// Verify that the expected local TURLs survived the process.
EXPECT_EQ(local_turls.size(),
@@ -95,6 +95,7 @@ TEST(TemplateURLServiceUtilTest, RemoveDuplicatePrepopulateIDs) {
for (TemplateURLService::TemplateURLVector::const_iterator itr =
local_turls.begin(); itr != local_turls.end(); ++itr) {
EXPECT_TRUE(
- StartsWith((*itr)->keyword(), base::ASCIIToUTF16("winner"), true));
+ StartsWith((*itr)->keyword(), base::ASCIIToUTF16("winner"), true))
+ << "Expected '" << (*itr)->keyword() << "' to start with 'winner'.";
}
}

Powered by Google App Engine
This is Rietveld 408576698