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

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

Issue 1286093006: Launch HQP & HUP score changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/autocomplete/history_url_provider_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/history_quick_provider_unittest.cc
diff --git a/chrome/browser/autocomplete/history_quick_provider_unittest.cc b/chrome/browser/autocomplete/history_quick_provider_unittest.cc
index 21aec0fb1d3360f22a38e2d06b2ba0c5c0d4f17a..b88f0768b2967bf68862305e6ac32e49ae3bcedb 100644
--- a/chrome/browser/autocomplete/history_quick_provider_unittest.cc
+++ b/chrome/browser/autocomplete/history_quick_provider_unittest.cc
@@ -404,13 +404,6 @@ TEST_F(HistoryQuickProviderTest, SingleMatchWithCursor) {
expected_urls, false,
ASCIIToUTF16("slashdot.org/favorite_page.html"),
base::string16());
- // If the cursor is in the middle of a valid URL suggestion, it should be
- // allowed to be the default match. The inline completion will be empty
- // though as no completion is necessary.
- RunTestWithCursor(ASCIIToUTF16("slashdot.org/favorite_page.html"), 5, false,
- expected_urls, true,
- ASCIIToUTF16("slashdot.org/favorite_page.html"),
- base::string16());
}
TEST_F(HistoryQuickProviderTest, WordBoundariesWithPunctuationMatch) {
@@ -749,7 +742,6 @@ TEST_F(HistoryQuickProviderTest, CullSearchResults) {
// A search results page should not be returned when typing a query.
std::vector<std::string> expected_urls;
- expected_urls.push_back("http://anotherengine.com/?q=thequery");
RunTest(ASCIIToUTF16("thequery"), false, expected_urls, false,
ASCIIToUTF16("anotherengine.com/?q=thequery"), base::string16());
« no previous file with comments | « no previous file | chrome/browser/autocomplete/history_url_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698