HomeSort by relevance Sort by last modified time
    Searched refs:ac_matches_ (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/chrome/browser/autocomplete/
history_quick_provider_unittest.cc 164 ACMatches ac_matches_; // The resulting matches after running RunTest. member in class:HistoryQuickProviderTest
271 ac_matches_ = provider_->matches();
274 EXPECT_LE(ac_matches_.size(), AutocompleteProvider::kMaxMatches);
278 EXPECT_EQ(expected_urls.size(), ac_matches_.size());
284 SetShouldContain(ac_matches_)).LeftOvers();
293 int best_score = ac_matches_.begin()->relevance + 1;
296 for (ACMatches::const_iterator actual = ac_matches_.begin();
297 actual != ac_matches_.end() && expected != expected_urls.end();
308 EXPECT_EQ(can_inline_top_result, ac_matches_[0].allowed_to_be_default_match);
310 EXPECT_EQ(expected_autocompletion, ac_matches_[0].inline_autocompletion)
    [all...]
shortcuts_provider_unittest.cc 294 ACMatches ac_matches_; // The resulting matches after running RunTest. member in class:ShortcutsProviderTest
369 ac_matches_ = provider_->matches();
372 EXPECT_LE(ac_matches_.size(), AutocompleteProvider::kMaxMatches);
376 EXPECT_EQ(expected_urls.size(), ac_matches_.size());
382 SetShouldContain(ac_matches_)).Leftovers();
386 if (!ac_matches_.empty()) {
387 std::partial_sort(ac_matches_.begin(), ac_matches_.begin() + 1,
388 ac_matches_.end(), AutocompleteMatch::MoreRelevant);
389 EXPECT_EQ(expected_top_result, ac_matches_[0].destination_url.spec())
    [all...]

Completed in 69 milliseconds