Home | History | Annotate | Download | only in src

Lines Matching refs:cases

156   // The tricky cases for relative URL resolving are tested in the
196 } cases[] = {
204 for (size_t i = 0; i < ARRAYSIZE(cases); i++) {
205 GURL url(cases[i].input);
207 EXPECT_EQ(cases[i].expected, origin.spec());
215 } cases[] = {
221 for (size_t i = 0; i < ARRAYSIZE(cases); i++) {
222 GURL url(cases[i].input);
224 EXPECT_EQ(cases[i].expected, empty_path.spec());
274 } cases[] = {
282 for (size_t i = 0; i < ARRAYSIZE(cases); i++) {
283 GURL url(cases[i].input);
285 EXPECT_EQ(cases[i].expected, path_request);
355 } cases[] = {
369 for (size_t i = 0; i < ARRAYSIZE(cases); i++) {
370 GURL url(cases[i].input);
371 EXPECT_EQ(cases[i].expected_host, url.host());
372 EXPECT_EQ(cases[i].expected_plainhost, url.HostNoBrackets());