Home
last modified time | relevance | path

Searched refs:keyword_cases (Results 1 – 2 of 2) sorted by relevance

/external/chromium/chrome/browser/autocomplete/
Dextension_app_provider_unittest.cc28 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()
Dkeyword_provider_unittest.cc32 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()