Searched refs:expected_addrs (Results 1 – 3 of 3) sorted by relevance
83 DEFINE_string(expected_addrs, "",117 vector<GrpcLBAddress> ParseExpectedAddrs(std::string expected_addrs) { in ParseExpectedAddrs() argument119 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 …]
30 def _build_expected_addrs_cmd_arg(expected_addrs): argument32 for addr in expected_addrs:
183 std::vector<std::string> expected_addrs) { in VerifyLbAddrOutputs() argument184 EXPECT_EQ(lb_addrs->num_addresses, expected_addrs.size()); in VerifyLbAddrOutputs()189 EXPECT_EQ(expected_addrs[i], ip_addr_str); in VerifyLbAddrOutputs()