Searched refs:path_cases (Results 1 - 2 of 2) sorted by relevance

/external/chromium/googleurl/src/
H A Durl_canon_unittest.cc948 DualComponentCase path_cases[] = { local
1019 for (size_t i = 0; i < arraysize(path_cases); i++) {
1020 if (path_cases[i].input8) {
1021 int len = static_cast<int>(strlen(path_cases[i].input8));
1026 bool success = url_canon::CanonicalizePath(path_cases[i].input8, in_comp,
1030 EXPECT_EQ(path_cases[i].expected_success, success);
1031 EXPECT_EQ(path_cases[i].expected_component.begin, out_comp.begin);
1032 EXPECT_EQ(path_cases[i].expected_component.len, out_comp.len);
1033 EXPECT_EQ(path_cases[i].expected, out_str);
1036 if (path_cases[
1597 } path_cases[] = { local
[all...]
H A Durl_parse_unittest.cc352 static PathURLParseCase path_cases[] = { variable
368 for (size_t i = 0; i < arraysize(path_cases); i++) {
369 const char* url = path_cases[i].input;
372 EXPECT_TRUE(ComponentMatches(url, path_cases[i].scheme, parsed.scheme));
373 EXPECT_TRUE(ComponentMatches(url, path_cases[i].path, parsed.path));

Completed in 145 milliseconds