Home
last modified time | relevance | path

Searched refs:split_host_port_expect (Results 1 – 1 of 1) sorted by relevance

/aosp_15_r20/external/grpc-grpc/test/core/gprpp/
H A Dhost_port_test.cc45 static void split_host_port_expect(const char* name, const char* host, in split_host_port_expect() function
57 split_host_port_expect("", "", nullptr, true); in TEST()
58 split_host_port_expect("[a:b]", "a:b", nullptr, true); in TEST()
59 split_host_port_expect("1.2.3.4", "1.2.3.4", nullptr, true); in TEST()
60 split_host_port_expect("0.0.0.0:", "0.0.0.0", "", true); in TEST()
61 split_host_port_expect("a:b:c::", "a:b:c::", nullptr, true); in TEST()
62 split_host_port_expect("[a:b:c::]:", "a:b:c::", "", true); in TEST()
63 split_host_port_expect("[a:b]:30", "a:b", "30", true); in TEST()
64 split_host_port_expect("1.2.3.4:30", "1.2.3.4", "30", true); in TEST()
65 split_host_port_expect(":30", "", "30", true); in TEST()
[all …]