Home
last modified time | relevance | path

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

/external/chromium/googleurl/src/
Durl_canon_unittest.cc283 ComponentCase scheme_cases[] = { in TEST() local
296 for (size_t i = 0; i < arraysize(scheme_cases); i++) { in TEST()
297 int url_len = static_cast<int>(strlen(scheme_cases[i].input)); in TEST()
303 bool success = url_canon::CanonicalizeScheme(scheme_cases[i].input, in TEST()
307 EXPECT_EQ(scheme_cases[i].expected_success, success); in TEST()
308 EXPECT_EQ(std::string(scheme_cases[i].expected), out_str); in TEST()
309 EXPECT_EQ(scheme_cases[i].expected_component.begin, out_comp.begin); in TEST()
310 EXPECT_EQ(scheme_cases[i].expected_component.len, out_comp.len); in TEST()
316 string16 wide_input(ConvertUTF8ToUTF16(scheme_cases[i].input)); in TEST()
322 EXPECT_EQ(scheme_cases[i].expected_success, success); in TEST()
[all …]