Home
last modified time | relevance | path

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

/external/grpc-grpc/test/cpp/naming/
Dresolver_component_test.cc83 DEFINE_string(expected_addrs, "",
117 vector<GrpcLBAddress> ParseExpectedAddrs(std::string expected_addrs) { in ParseExpectedAddrs() argument
119 while (expected_addrs.size() != 0) { in ParseExpectedAddrs()
121 size_t next_comma = expected_addrs.find(','); in ParseExpectedAddrs()
126 expected_addrs.c_str()); in ParseExpectedAddrs()
129 std::string next_addr = expected_addrs.substr(0, next_comma); in ParseExpectedAddrs()
130 expected_addrs = expected_addrs.substr(next_comma + 1, std::string::npos); in ParseExpectedAddrs()
132 size_t next_semicolon = expected_addrs.find(';'); in ParseExpectedAddrs()
134 gpr_is_true(expected_addrs.substr(0, next_semicolon).c_str()); in ParseExpectedAddrs()
139 expected_addrs = in ParseExpectedAddrs()
[all …]
Dgen_build_yaml.py30 def _build_expected_addrs_cmd_arg(expected_addrs): argument
32 for addr in expected_addrs:
Daddress_sorting_test.cc183 std::vector<std::string> expected_addrs) { in VerifyLbAddrOutputs() argument
184 EXPECT_EQ(lb_addrs->num_addresses, expected_addrs.size()); in VerifyLbAddrOutputs()
189 EXPECT_EQ(expected_addrs[i], ip_addr_str); in VerifyLbAddrOutputs()