Lines Matching refs:r
147 auto r = transport.query(makeSlice(QUERY)).get(); in TEST_F() local
149 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
150 EXPECT_EQ(QUERY, r.response); in TEST_F()
185 DnsTlsTransport::Result r = f.get(); in TEST_F() local
186 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
190 EXPECT_EQ(0, (r.response[2] << 8) | r.response[3]); in TEST_F()
208 auto r = result.get(); in TEST_F() local
209 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
210 EXPECT_EQ(QUERY, r.response); in TEST_F()
274 auto r = result.get(); in TEST_F() local
275 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
276 EXPECT_EQ(QUERY, r.response); in TEST_F()
294 auto r = result.get(); in TEST_F() local
295 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
296 EXPECT_EQ(QUERY, r.response); in TEST_F()
314 auto r = results[i].get(); in TEST_F() local
315 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
316 EXPECT_EQ(queries[i], r.response); in TEST_F()
336 auto r = results[i].get(); in TEST_F() local
337 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
338 EXPECT_EQ(queries[i], r.response); in TEST_F()
359 auto r = transport.query(makeSlice(QUERY)).get(); in TEST_F() local
360 EXPECT_EQ(DnsTlsTransport::Response::internal_error, r.code); in TEST_F()
361 EXPECT_TRUE(r.response.empty()); in TEST_F()
386 auto r = results[i].get(); in TEST_F() local
387 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
388 EXPECT_EQ(queries[i], r.response); in TEST_F()
406 auto r = results[i].get(); in TEST_F() local
407 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
408 EXPECT_EQ(queries[i], r.response); in TEST_F()
429 auto r = transport.query(makeSlice(QUERY)).get(); in TEST_F() local
431 EXPECT_EQ(DnsTlsTransport::Response::network_error, r.code); in TEST_F()
432 EXPECT_TRUE(r.response.empty()); in TEST_F()
455 auto r = transport.query(makeSlice(QUERY)).get(); in TEST_F() local
457 EXPECT_EQ(DnsTlsTransport::Response::network_error, r.code); in TEST_F()
458 EXPECT_TRUE(r.response.empty()); in TEST_F()
550 auto r = result.get(); in TEST_F() local
551 EXPECT_EQ(DnsTlsTransport::Response::network_error, r.code); in TEST_F()
552 EXPECT_TRUE(r.response.empty()); in TEST_F()
577 auto r = results[i].get(); in TEST_F() local
578 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
579 EXPECT_EQ(queries[i], r.response); in TEST_F()
603 auto r = results[i].get(); in TEST_F() local
604 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
646 auto r = transport.query(makeSlice(QUERY)).get(); in TEST_F() local
648 EXPECT_EQ(DnsTlsTransport::Response::success, r.code); in TEST_F()
664 auto r = dispatcher.query(SERVER1, MARK, makeSlice(QUERY), makeSlice(ans), &resplen, in TEST_F() local
667 EXPECT_EQ(DnsTlsTransport::Response::success, r); in TEST_F()
674 r = dispatcher.query(SERVER1, MARK, makeSlice(QUERY), makeSlice(ans), &resplen, in TEST_F()
676 EXPECT_EQ(DnsTlsTransport::Response::success, r); in TEST_F()
687 auto r = dispatcher.query(SERVER1, MARK, makeSlice(QUERY), makeSlice(ans), &resplen, in TEST_F() local
690 EXPECT_EQ(DnsTlsTransport::Response::limit_error, r); in TEST_F()
739 auto r = dispatcher->query(server, mark, makeSlice(q), makeSlice(ans), &resplen, in TEST_F() local
741 EXPECT_EQ(DnsTlsTransport::Response::success, r); in TEST_F()