Home | History | Annotate | Download | only in src

Lines Matching refs:path_cases

948   DualComponentCase path_cases[] = {
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[i].input16) {
1037 string16 input16(WStringToUTF16(path_cases[i].input16));
1048 EXPECT_EQ(path_cases[i].expected_success, success);
1049 EXPECT_EQ(path_cases[i].expected_component.begin, out_comp.begin);
1050 EXPECT_EQ(path_cases[i].expected_component.len, out_comp.len);
1051 EXPECT_EQ(path_cases[i].expected, out_str);
1597 } path_cases[] = {
1603 for (size_t i = 0; i < ARRAYSIZE(path_cases); i++) {
1604 int url_len = static_cast<int>(strlen(path_cases[i].input));
1606 url_parse::ParsePathURL(path_cases[i].input, url_len, &parsed);
1611 bool success = url_canon::CanonicalizePathURL(path_cases[i].input, url_len,
1617 EXPECT_EQ(path_cases[i].expected, out_str);
1623 if (path_cases[i].input[url_len - 1] == ':') {