Home
last modified time | relevance | path

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

/third_party/cares/test/
Dares-test-ai.h13 : public MockChannelOptsTest,
16 MockChannelTestAI() : MockChannelOptsTest(1, GetParam().first, GetParam().second, nullptr, 0) {} in MockChannelTestAI()
20 : public MockChannelOptsTest,
23 MockUDPChannelTestAI() : MockChannelOptsTest(1, GetParam(), false, nullptr, 0) {} in MockUDPChannelTestAI()
27 : public MockChannelOptsTest,
30 MockTCPChannelTestAI() : MockChannelOptsTest(1, GetParam(), true, nullptr, 0) {} in MockTCPChannelTestAI()
Dares-test.h176 class MockChannelOptsTest : public LibraryTest {
178MockChannelOptsTest(int count, int family, bool force_tcp, struct ares_options* givenopts, int opt…
179 ~MockChannelOptsTest();
201 : public MockChannelOptsTest,
204 MockChannelTest() : MockChannelOptsTest(1, GetParam().first, GetParam().second, nullptr, 0) {} in MockChannelTest()
208 : public MockChannelOptsTest,
211 MockUDPChannelTest() : MockChannelOptsTest(1, GetParam(), false, nullptr, 0) {} in MockUDPChannelTest()
215 : public MockChannelOptsTest,
218 MockTCPChannelTest() : MockChannelOptsTest(1, GetParam(), true, nullptr, 0) {} in MockTCPChannelTest()
Dares-test.cc380 MockChannelOptsTest::NiceMockServers MockChannelOptsTest::BuildServers(int count, int family, int b… in BuildServers()
390 MockChannelOptsTest::MockChannelOptsTest(int count, in MockChannelOptsTest() function in ares::test::MockChannelOptsTest
475 MockChannelOptsTest::~MockChannelOptsTest() { in ~MockChannelOptsTest()
482 std::set<int> MockChannelOptsTest::fds() const { in fds()
491 void MockChannelOptsTest::ProcessFD(int fd) { in ProcessFD()
497 void MockChannelOptsTest::Process() { in Process()
500 std::bind(&MockChannelOptsTest::fds, this), in Process()
501 std::bind(&MockChannelOptsTest::ProcessFD, this, _1)); in Process()
Dares-test-mock-ai.cc237 : public MockChannelOptsTest,
241 : MockChannelOptsTest(1, GetParam().first, GetParam().second, in MockExtraOptsTestAI()
282 : public MockChannelOptsTest,
286 : MockChannelOptsTest(1, GetParam().first, GetParam().second, in MockFlagsChannelOptsTestAI()
549 : public MockChannelOptsTest,
553 …: MockChannelOptsTest(3, GetParam().first, GetParam().second, nullptr, rotate ? ARES_OPT_ROTATE : … in MockMultiServerChannelTestAI()
Dares-test-mock.cc287 : public MockChannelOptsTest,
291 : MockChannelOptsTest(1, GetParam().first, GetParam().second, in MockExtraOptsTest()
329 : public MockChannelOptsTest,
333 : MockChannelOptsTest(1, GetParam().first, GetParam().second, in MockFlagsChannelOptsTest()
1039 : public MockChannelOptsTest,
1043 …: MockChannelOptsTest(3, GetParam().first, GetParam().second, nullptr, rotate ? ARES_OPT_ROTATE : … in MockMultiServerChannelTest()