Lines Matching refs:port_cases
850 } port_cases[] = { in TEST() local
861 for (size_t i = 0; i < ARRAYSIZE(port_cases); i++) { in TEST()
862 int url_len = static_cast<int>(strlen(port_cases[i].input)); in TEST()
867 bool success = url_canon::CanonicalizePort(port_cases[i].input, in_comp, in TEST()
868 port_cases[i].default_port, in TEST()
872 EXPECT_EQ(port_cases[i].expected_success, success); in TEST()
873 EXPECT_EQ(std::string(port_cases[i].expected), out_str); in TEST()
874 EXPECT_EQ(port_cases[i].expected_component.begin, out_comp.begin); in TEST()
875 EXPECT_EQ(port_cases[i].expected_component.len, out_comp.len); in TEST()
880 string16 wide_input(ConvertUTF8ToUTF16(port_cases[i].input)); in TEST()
882 port_cases[i].default_port, in TEST()
886 EXPECT_EQ(port_cases[i].expected_success, success); in TEST()
887 EXPECT_EQ(std::string(port_cases[i].expected), out_str); in TEST()
888 EXPECT_EQ(port_cases[i].expected_component.begin, out_comp.begin); in TEST()
889 EXPECT_EQ(port_cases[i].expected_component.len, out_comp.len); in TEST()