Searched refs:keyword_cases (Results 1 – 2 of 2) sorted by relevance
/external/chromium/chrome/browser/autocomplete/ |
D | extension_app_provider_unittest.cc | 28 void RunTest(test_data* keyword_cases, 72 test_data* keyword_cases, in RunTest() argument 76 AutocompleteInput input(keyword_cases[i].input, string16(), true, in RunTest() 81 EXPECT_EQ(keyword_cases[i].num_results, matches.size()) in RunTest() 82 << ASCIIToUTF16("Input was: ") + keyword_cases[i].input; in RunTest() 83 if (matches.size() == keyword_cases[i].num_results) { in RunTest() 84 for (size_t j = 0; j < keyword_cases[i].num_results; ++j) in RunTest() 85 EXPECT_EQ(keyword_cases[i].output[j], matches[j].destination_url); in RunTest()
|
D | keyword_provider_unittest.cc | 32 void RunTest(test_data<ResultType>* keyword_cases, 64 test_data<ResultType>* keyword_cases, in RunTest() argument 69 AutocompleteInput input(keyword_cases[i].input, string16(), true, in RunTest() 74 EXPECT_EQ(keyword_cases[i].num_results, matches.size()) << in RunTest() 75 ASCIIToUTF16("Input was: ") + keyword_cases[i].input; in RunTest() 76 if (matches.size() == keyword_cases[i].num_results) { in RunTest() 77 for (size_t j = 0; j < keyword_cases[i].num_results; ++j) { in RunTest() 78 EXPECT_EQ(keyword_cases[i].output[j], matches[j].*member); in RunTest()
|