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

Unified Diff: chrome/browser/autocomplete/network_action_predictor_unittest.cc

Issue 8870006: Track confidence calculations better. Reduce minimum user text length. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update unit test expectations. Created 9 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/autocomplete/network_action_predictor.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/network_action_predictor_unittest.cc
diff --git a/chrome/browser/autocomplete/network_action_predictor_unittest.cc b/chrome/browser/autocomplete/network_action_predictor_unittest.cc
index 09a8b466e3c22c63213ea96b62cc8cda91446db0..ce5a7c2010e4eba9df23777802188dcfb98fb6e7 100644
--- a/chrome/browser/autocomplete/network_action_predictor_unittest.cc
+++ b/chrome/browser/autocomplete/network_action_predictor_unittest.cc
@@ -38,11 +38,11 @@ struct TestUrlInfo {
} test_url_db[] = {
{ GURL("http://www.testsite.com/a.html"),
ASCIIToUTF16("Test - site - just a test"), 1,
- ASCIIToUTF16("just"), 5, 0,
+ ASCIIToUTF16("j"), 5, 0,
NetworkActionPredictor::ACTION_PRERENDER },
{ GURL("http://www.testsite.com/b.html"),
ASCIIToUTF16("Test - site - just a test"), 1,
- ASCIIToUTF16("just"), 3, 0,
+ ASCIIToUTF16("ju"), 3, 0,
NetworkActionPredictor::ACTION_PRERENDER },
{ GURL("http://www.testsite.com/c.html"),
ASCIIToUTF16("Test - site - just a test"), 5,
@@ -62,7 +62,7 @@ struct TestUrlInfo {
NetworkActionPredictor::ACTION_PRERENDER },
{ GURL("http://www.testsite.com/g.html"),
ASCIIToUTF16("Test - site - just a test"), 12,
- ASCIIToUTF16("j"), 5, 0,
+ ASCIIToUTF16(""), 5, 0,
NetworkActionPredictor::ACTION_NONE },
{ GURL("http://www.testsite.com/h.html"),
ASCIIToUTF16("Test - site - just a test"), 21,
« no previous file with comments | « chrome/browser/autocomplete/network_action_predictor.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698