Searched refs:file_cases (Results 1 – 2 of 2) sorted by relevance
/external/chromium/googleurl/src/ |
D | url_parse_unittest.cc | 390 static URLParseCase file_cases[] = { variable 424 for (int i = 0; i < arraysize(file_cases); i++) { in TEST() 425 const char* url = file_cases[i].input; in TEST() 429 EXPECT_TRUE(ComponentMatches(url, file_cases[i].scheme, parsed.scheme)); in TEST() 430 EXPECT_TRUE(ComponentMatches(url, file_cases[i].username, parsed.username)); in TEST() 431 EXPECT_TRUE(ComponentMatches(url, file_cases[i].password, parsed.password)); in TEST() 432 EXPECT_TRUE(ComponentMatches(url, file_cases[i].host, parsed.host)); in TEST() 433 EXPECT_EQ(file_cases[i].port, port); in TEST() 434 EXPECT_TRUE(ComponentMatches(url, file_cases[i].path, parsed.path)); in TEST() 435 EXPECT_TRUE(ComponentMatches(url, file_cases[i].query, parsed.query)); in TEST() [all …]
|
/external/chromium/chrome/browser/net/ |
D | url_fixer_upper_unittest.cc | 339 fixup_case file_cases[] = { in TEST() local 378 fixup_case file_cases[] = { in TEST() local 399 for (size_t i = 0; i < arraysize(file_cases); i++) { in TEST() 400 EXPECT_EQ(file_cases[i].output, URLFixerUpper::FixupURL(file_cases[i].input, in TEST() 401 file_cases[i].desired_tld).possibly_invalid_spec()); in TEST()
|