Lines Matching refs:port
304 std::string port = GetPortFromURL("https://www.example.com?data_string");
305 EXPECT_STREQ(port.c_str(), "");
310 std::string port = GetPortFromURL("http://www.example.com?data_string");
311 EXPECT_STREQ(port.c_str(), "");
316 std::string port = GetPortFromURL("https://www.example.com:9984?data_string");
317 EXPECT_STREQ(port.c_str(), "9984");
322 std::string port = GetPortFromURL("www.example.com:9984?data_string");
323 EXPECT_STREQ(port.c_str(), "9984");
328 std::string port = GetPortFromURL("www.example.com?data_string");
329 EXPECT_STREQ(port.c_str(), "");
334 std::string port = GetPortFromURL("https://www.example.com?k_string=data_string:234");
335 EXPECT_STREQ(port.c_str(), "");
340 std::string port = GetPortFromURL("https://www.example.com/path:data_string:234");
341 EXPECT_STREQ(port.c_str(), "");
346 std::string port = GetPortFromURL("https://www.example.com:8989/path:path2?k_string=data_string:234");
347 EXPECT_STREQ(port.c_str(), "8989");
352 std::string port = GetPortFromURL("https://www.example.com/path:path2?k_string=data_string:234");
353 EXPECT_STREQ(port.c_str(), "");
358 std::string port = GetPortFromURL("https://www.example.com:");
359 EXPECT_STREQ(port.c_str(), "");
364 std::string port = GetPortFromURL("https://www.example.com:/path?k_string_data_string");
365 EXPECT_STREQ(port.c_str(), "");
370 std::string port = GetPortFromURL("https://www.example.com:?k_string_data_string:43:data_string");
371 EXPECT_STREQ(port.c_str(), "");