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

/external/chromium_org/url/
H A Durl_parse_unittest.cc341 static PathURLParseCase path_cases[] = { member in namespace:url::__anon16444
357 for (size_t i = 0; i < arraysize(path_cases); i++) {
358 const char* url = path_cases[i].input;
361 EXPECT_TRUE(ComponentMatches(url, path_cases[i].scheme, parsed.scheme))
363 EXPECT_TRUE(ComponentMatches(url, path_cases[i].path, parsed.GetContent()))
H A Durl_canon_unittest.cc1008 DualComponentCase path_cases[] = { local
1079 for (size_t i = 0; i < arraysize(path_cases); i++) {
1080 if (path_cases[i].input8) {
1081 int len = static_cast<int>(strlen(path_cases[i].input8));
1087 CanonicalizePath(path_cases[i].input8, in_comp, &output, &out_comp);
1090 EXPECT_EQ(path_cases[i].expected_success, success);
1091 EXPECT_EQ(path_cases[i].expected_component.begin, out_comp.begin);
1092 EXPECT_EQ(path_cases[i].expected_component.len, out_comp.len);
1093 EXPECT_EQ(path_cases[i].expected, out_str);
1096 if (path_cases[
1723 } path_cases[] = { local
[all...]

Completed in 77 milliseconds