Searched refs:SetReply (Results 1 – 3 of 3) sorted by relevance
/third_party/cares/test/ |
D | ares-test-mock.cc | 60 .WillByDefault(SetReply(&server_, &rsp1)); in TEST_P() 66 .WillByDefault(SetReply(&server_, &rsp2)); in TEST_P() 99 .WillOnce(SetReply(&server_, &rsptruncated)) in TEST_P() 100 .WillOnce(SetReply(&server_, &rspok)); in TEST_P() 124 .WillOnce(SetReply(&server_, &rsp)); in TEST_P() 169 .WillOnce(SetReply(&server_, &rsp)); in TEST_P() 219 .WillOnce(SetReply(&server_, &rsp)); in TEST_P() 233 .WillOnce(SetReply(&server_, &rsp)); in TEST_P() 248 .WillOnce(SetReply(&server_, &rsp)); in TEST_P() 263 .WillOnce(SetReply(&server_, &rsp)); in TEST_P() [all …]
|
D | ares-test-mock-ai.cc | 67 .WillByDefault(SetReply(&server_, &rsp1)); in TEST_P() 73 .WillByDefault(SetReply(&server_, &rsp2)); in TEST_P() 112 .WillOnce(SetReply(&server_, &rsptruncated)) in TEST_P() 113 .WillOnce(SetReply(&server_, &rspok)); in TEST_P() 149 .WillOnce(SetReply(&server_, &rsp)); in TEST_P() 167 .WillOnce(SetReply(&server_, &rsp)); in TEST_P() 186 .WillOnce(SetReply(&server_, &rsp)); in TEST_P() 205 .WillOnce(SetReply(&server_, &rsp)); in TEST_P() 224 .WillOnce(SetReply(&server_, &rsp)); in TEST_P() 267 .WillByDefault(SetReply(&server_, &rsp)); in TEST_P() [all …]
|
D | ares-test.h | 149 void SetReply(const DNSPacket* reply) { SetReplyData(reply->data()); } in SetReply() function 225 ACTION_P2(SetReply, mockserver, reply) { in ACTION_P2() argument 226 mockserver->SetReply(reply); in ACTION_P2()
|