Searched refs:path_cases (Results 1 - 4 of 4) 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));
/external/chromium_org/url/
H A Durl_canon_unittest.cc1079 DualComponentCase path_cases[] = { local
1150 for (size_t i = 0; i < arraysize(path_cases); i++) {
1151 if (path_cases[i].input8) {
1152 int len = static_cast<int>(strlen(path_cases[i].input8));
1157 bool success = url_canon::CanonicalizePath(path_cases[i].input8, in_comp,
1161 EXPECT_EQ(path_cases[i].expected_success, success);
1162 EXPECT_EQ(path_cases[i].expected_component.begin, out_comp.begin);
1163 EXPECT_EQ(path_cases[i].expected_component.len, out_comp.len);
1164 EXPECT_EQ(path_cases[i].expected, out_str);
1167 if (path_cases[
1824 } path_cases[] = { local
[all...]
H A Durl_parse_unittest.cc341 static PathURLParseCase path_cases[] = { member in namespace:url_parse::__anon15534
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()))

Completed in 302 milliseconds