Classes | Namespaces | Functions | Variables
ares-test-mock.cc File Reference
#include "ares-test.h"
#include "dns-proto.h"
#include <sstream>
#include <vector>
Include dependency graph for ares-test-mock.cc:

Go to the source code of this file.

Classes

class  ares::test::MockEDNSChannelTest
 
class  ares::test::MockExtraOptsTest
 
class  ares::test::MockFlagsChannelOptsTest
 
class  ares::test::MockMultiServerChannelTest
 
class  ares::test::MockNoCheckRespChannelTest
 
class  ares::test::NoRotateMultiMockTest
 
class  ares::test::RotateMultiMockTest
 

Namespaces

 ares
 
 ares::test
 

Functions

 ares::test::INSTANTIATE_TEST_CASE_P (AddressFamilies, MockChannelTest, ::testing::ValuesIn(ares::test::families_modes))
 
 ares::test::INSTANTIATE_TEST_CASE_P (AddressFamilies, MockEDNSChannelTest, ::testing::ValuesIn(ares::test::families_modes))
 
 ares::test::INSTANTIATE_TEST_CASE_P (AddressFamilies, MockExtraOptsTest, ::testing::ValuesIn(ares::test::families_modes))
 
 ares::test::INSTANTIATE_TEST_CASE_P (AddressFamilies, MockNoCheckRespChannelTest, ::testing::ValuesIn(ares::test::families_modes))
 
 ares::test::INSTANTIATE_TEST_CASE_P (AddressFamilies, MockTCPChannelTest, ::testing::ValuesIn(ares::test::families))
 
 ares::test::INSTANTIATE_TEST_CASE_P (AddressFamilies, MockUDPChannelTest, ::testing::ValuesIn(ares::test::families))
 
 ares::test::INSTANTIATE_TEST_CASE_P (TransportModes, NoRotateMultiMockTest, ::testing::ValuesIn(ares::test::families_modes))
 
 ares::test::INSTANTIATE_TEST_CASE_P (TransportModes, RotateMultiMockTest, ::testing::ValuesIn(ares::test::families_modes))
 
static int ares::test::SocketConfigureCallback (ares_socket_t fd, int type, void *data)
 
static int ares::test::SocketConnectCallback (ares_socket_t fd, int type, void *data)
 
 ares::test::TEST_P (MockChannelTest, Basic)
 
 ares::test::TEST_P (MockChannelTest, CancelImmediate)
 
 ares::test::TEST_P (MockChannelTest, CancelImmediateGetHostByAddr)
 
 ares::test::TEST_P (MockChannelTest, ExplicitIP)
 
 ares::test::TEST_P (MockChannelTest, ExplicitIPAllocFail)
 
 ares::test::TEST_P (MockChannelTest, GetHostByAddrDestroy)
 
 ares::test::TEST_P (MockChannelTest, GetHostByNameCNAMENoData)
 
 ares::test::TEST_P (MockChannelTest, GetHostByNameDestroyAbsolute)
 
 ares::test::TEST_P (MockChannelTest, GetHostByNameDestroyRelative)
 
 ares::test::TEST_P (MockChannelTest, HostAlias)
 
 ares::test::TEST_P (MockChannelTest, HostAliasMissing)
 
 ares::test::TEST_P (MockChannelTest, HostAliasMissingFile)
 
 ares::test::TEST_P (MockChannelTest, HostAliasUnreadable)
 
 ares::test::TEST_P (MockChannelTest, SearchAllocFailure)
 
 ares::test::TEST_P (MockChannelTest, SearchDomains)
 
 ares::test::TEST_P (MockChannelTest, SearchDomainsBare)
 
 ares::test::TEST_P (MockChannelTest, SearchHighNdots)
 
 ares::test::TEST_P (MockChannelTest, SearchNoDataThenFail)
 
 ares::test::TEST_P (MockChannelTest, SearchNoDataThenNoDataBare)
 
 ares::test::TEST_P (MockChannelTest, SearchNoDataThenSuccess)
 
 ares::test::TEST_P (MockChannelTest, SockCallback)
 
 ares::test::TEST_P (MockChannelTest, SockConfigureCallback)
 
 ares::test::TEST_P (MockChannelTest, SockConfigureFailCallback)
 
 ares::test::TEST_P (MockChannelTest, SockFailCallback)
 
 ares::test::TEST_P (MockChannelTest, SortListV4)
 
 ares::test::TEST_P (MockChannelTest, SortListV6)
 
 ares::test::TEST_P (MockChannelTest, UnspecifiedFamilyCname6A4)
 
 ares::test::TEST_P (MockChannelTest, UnspecifiedFamilyNoData)
 
 ares::test::TEST_P (MockChannelTest, UnspecifiedFamilyV4)
 
 ares::test::TEST_P (MockChannelTest, UnspecifiedFamilyV6)
 
 ares::test::TEST_P (MockEDNSChannelTest, RetryWithoutEDNS)
 
 ares::test::TEST_P (MockExtraOptsTest, SimpleQuery)
 
 ares::test::TEST_P (MockNoCheckRespChannelTest, NotImplResponse)
 
 ares::test::TEST_P (MockNoCheckRespChannelTest, RefusedResponse)
 
 ares::test::TEST_P (MockNoCheckRespChannelTest, ServFailResponse)
 
 ares::test::TEST_P (MockTCPChannelTest, FormErrResponse)
 
 ares::test::TEST_P (MockTCPChannelTest, MalformedResponse)
 
 ares::test::TEST_P (MockTCPChannelTest, NotImplResponse)
 
 ares::test::TEST_P (MockTCPChannelTest, RefusedResponse)
 
 ares::test::TEST_P (MockTCPChannelTest, ServFailResponse)
 
 ares::test::TEST_P (MockTCPChannelTest, YXDomainResponse)
 
 ares::test::TEST_P (MockUDPChannelTest, CancelLater)
 
 ares::test::TEST_P (MockUDPChannelTest, GetHostByNameParallelLookups)
 
 ares::test::TEST_P (MockUDPChannelTest, Resend)
 
 ares::test::TEST_P (MockUDPChannelTest, SearchDomainsAllocFail)
 
 ares::test::TEST_P (MockUDPChannelTest, SearchDomainsWithResentReply)
 
 ares::test::TEST_P (MockUDPChannelTest, TruncationRetry)
 
 ares::test::TEST_P (NoRotateMultiMockTest, ThirdServer)
 
 ares::test::TEST_P (RotateMultiMockTest, ThirdServer)
 

Variables

static int ares::test::sock_cb_count = 0
 
static int ares::test::sock_config_cb_count = 0
 


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:02