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

Unified Diff: chrome/browser/history/scored_history_match_unittest.cc

Issue 11416285: Omnibiox: Tweak HQP New Scoring and Re-Enable Field Trial (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years 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 | « chrome/browser/history/scored_history_match.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/scored_history_match_unittest.cc
diff --git a/chrome/browser/history/scored_history_match_unittest.cc b/chrome/browser/history/scored_history_match_unittest.cc
index 4b24faac251762c1a02aeb52b983ff5014164fea..77def64cc65cbbfa09181787f28976c2e2b3909c 100644
--- a/chrome/browser/history/scored_history_match_unittest.cc
+++ b/chrome/browser/history/scored_history_match_unittest.cc
@@ -398,19 +398,15 @@ TEST_F(ScoredHistoryMatchTest, GetTopicalityScore) {
// various types of URL matches.
EXPECT_GT(title_score, arg_score);
EXPECT_GT(arg_score, title_mid_word_score);
- EXPECT_GT(title_mid_word_score, arg_mid_word_score);
// Finally, verify that protocol matches and top level domain name
// matches (.com, .net, etc.) score worse than everything (except
- // possibly mid-word matches in the ?arg section of the URL--I can
- // imagine scoring those pretty harshly as well).
+ // possibly mid-word matches in the ?arg section of the URL and
+ // mid-word title matches--I can imagine scoring those pretty
+ // harshly as well).
EXPECT_GT(path_mid_word_score, protocol_score);
EXPECT_GT(path_mid_word_score, protocol_mid_word_score);
- EXPECT_GT(title_mid_word_score, protocol_score);
- EXPECT_GT(title_mid_word_score, protocol_mid_word_score);
EXPECT_GT(path_mid_word_score, tld_score);
EXPECT_GT(path_mid_word_score, tld_mid_word_score);
- EXPECT_GT(title_mid_word_score, tld_score);
- EXPECT_GT(title_mid_word_score, tld_mid_word_score);
}
} // namespace history
« no previous file with comments | « chrome/browser/history/scored_history_match.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698