Lines Matching refs:cases
73 // Used for regular URL parse cases.
235 static URLParseCase cases[] = {
318 // Partially-complete IPv6 literals, and related cases.
330 // Declared outside for loop to try to catch cases in init() where we forget
333 for (size_t i = 0; i < arraysize(cases); i++) {
334 const char* url = cases[i].input;
338 EXPECT_TRUE(ComponentMatches(url, cases[i].scheme, parsed.scheme));
339 EXPECT_TRUE(ComponentMatches(url, cases[i].username, parsed.username));
340 EXPECT_TRUE(ComponentMatches(url, cases[i].password, parsed.password));
341 EXPECT_TRUE(ComponentMatches(url, cases[i].host, parsed.host));
342 EXPECT_EQ(cases[i].port, port);
343 EXPECT_TRUE(ComponentMatches(url, cases[i].path, parsed.path));
344 EXPECT_TRUE(ComponentMatches(url, cases[i].query, parsed.query));
345 EXPECT_TRUE(ComponentMatches(url, cases[i].ref, parsed.ref));
365 // Declared outside for loop to try to catch cases in init() where we forget
421 // Declared outside for loop to try to catch cases in init() where we forget
564 // Declared outside for loop to try to catch cases in init() where we forget