Classes | Typedefs | Functions | Variables
ares::test Namespace Reference

Classes

struct  AddrInfoDeleter
 
struct  AddrInfoResult
 
class  DefaultChannelModeTest
 
class  DefaultChannelTest
 
class  DefaultChannelTestAI
 
struct  DNSMalformedCnameRR
 
class  EnvValue
 
struct  HostEnt
 
struct  HostResult
 
class  LibraryTest
 
class  MockChannelOptsTest
 
class  MockChannelTest
 
class  MockChannelTestAI
 
class  MockEDNSChannelTest
 
class  MockEDNSChannelTestAI
 
class  MockExtraOptsNDots5TestAI
 
class  MockExtraOptsNDotsTestAI
 
class  MockExtraOptsTest
 
class  MockExtraOptsTestAI
 
class  MockFlagsChannelOptsTest
 
class  MockFlagsChannelOptsTestAI
 
class  MockMultiServerChannelTest
 
class  MockMultiServerChannelTestAI
 
class  MockNoCheckRespChannelTest
 
class  MockNoCheckRespChannelTestAI
 
class  MockServer
 
class  MockTCPChannelTest
 
class  MockTCPChannelTestAI
 
class  MockUDPChannelTest
 
class  MockUDPChannelTestAI
 
struct  NameInfoResult
 
class  NoRotateMultiMockTest
 
class  NoRotateMultiMockTestAI
 
class  RotateMultiMockTest
 
class  RotateMultiMockTestAI
 
struct  SearchResult
 
class  TempFile
 
class  TransientDir
 
class  TransientFile
 
class  VirtualizeIO
 

Typedefs

using AddrInfo = std::unique_ptr< ares_addrinfo, AddrInfoDeleter >
 

Functions

 ACTION_P2 (CancelChannel, mockserver, channel)
 
 ACTION_P2 (SetReply, mockserver, reply)
 
 ACTION_P2 (SetReplyData, mockserver, data)
 
 ACTION_P2 (SetReplyQID, mockserver, qid)
 
void AddrInfoCallback (void *data, int status, int timeouts, struct ares_addrinfo *ai)
 
void CheckPtoN4 (int size, unsigned int value, const char *input)
 
static int configure_socket (ares_socket_t s)
 
std::string ExpandName (const std::vector< byte > &data, int offset, long *enclen)
 
std::vector< std::string > GetNameServers (ares_channel channel)
 
void HostCallback (void *data, int status, int timeouts, struct hostent *hostent)
 
 INSTANTIATE_TEST_CASE_P (AddressFamilies, MockChannelTest, ::testing::ValuesIn(ares::test::families_modes))
 
 INSTANTIATE_TEST_CASE_P (AddressFamilies, MockEDNSChannelTest, ::testing::ValuesIn(ares::test::families_modes))
 
 INSTANTIATE_TEST_CASE_P (AddressFamilies, MockExtraOptsTest, ::testing::ValuesIn(ares::test::families_modes))
 
 INSTANTIATE_TEST_CASE_P (AddressFamilies, MockNoCheckRespChannelTest, ::testing::ValuesIn(ares::test::families_modes))
 
 INSTANTIATE_TEST_CASE_P (AddressFamilies, MockTCPChannelTest, ::testing::ValuesIn(ares::test::families))
 
 INSTANTIATE_TEST_CASE_P (AddressFamilies, MockUDPChannelTest, ::testing::ValuesIn(ares::test::families))
 
 INSTANTIATE_TEST_CASE_P (AddressFamiliesAI, MockChannelTestAI, ::testing::Values(std::make_pair< int, bool >(AF_INET, false)))
 
 INSTANTIATE_TEST_CASE_P (AddressFamiliesAI, MockEDNSChannelTestAI, ::testing::ValuesIn(ares::test::families_modes))
 
 INSTANTIATE_TEST_CASE_P (AddressFamiliesAI, MockExtraOptsNDots5TestAI, ::testing::ValuesIn(ares::test::families_modes))
 
 INSTANTIATE_TEST_CASE_P (AddressFamiliesAI, MockExtraOptsTestAI, ::testing::ValuesIn(ares::test::families_modes))
 
 INSTANTIATE_TEST_CASE_P (AddressFamiliesAI, MockNoCheckRespChannelTestAI, ::testing::ValuesIn(ares::test::families_modes))
 
 INSTANTIATE_TEST_CASE_P (AddressFamiliesAI, MockTCPChannelTestAI, ::testing::ValuesIn(ares::test::families))
 
 INSTANTIATE_TEST_CASE_P (AddressFamiliesAI, MockUDPChannelTestAI, ::testing::ValuesIn(ares::test::families))
 
 INSTANTIATE_TEST_CASE_P (Modes, DefaultChannelModeTest, ::testing::Values("f", "b", "fb", "bf"))
 
 INSTANTIATE_TEST_CASE_P (TransportModes, NoRotateMultiMockTest, ::testing::ValuesIn(ares::test::families_modes))
 
 INSTANTIATE_TEST_CASE_P (TransportModes, RotateMultiMockTest, ::testing::ValuesIn(ares::test::families_modes))
 
 INSTANTIATE_TEST_CASE_P (TransportModesAI, NoRotateMultiMockTestAI, ::testing::ValuesIn(ares::test::families_modes))
 
 INSTANTIATE_TEST_CASE_P (TransportModesAI, RotateMultiMockTestAI, ::testing::ValuesIn(ares::test::families_modes))
 
 MATCHER_P (IncludesAddrType, addrtype, "")
 
 MATCHER_P (IncludesAtLeastNumAddresses, n, "")
 
 MATCHER_P (IncludesNumAddresses, n, "")
 
 MATCHER_P (IncludesV4Address, address, "")
 
 MATCHER_P (IncludesV6Address, address, "")
 
 MATCHER_P (OnlyIncludesAddrType, addrtype, "")
 
void NameInfoCallback (void *data, int status, int timeouts, char *node, char *service)
 
std::set< intNoExtraFDs ()
 
std::ostream & operator<< (std::ostream &os, const AddrInfo &ai)
 
std::ostream & operator<< (std::ostream &os, const AddrInfoResult &result)
 
std::ostream & operator<< (std::ostream &os, const HostEnt &host)
 
std::ostream & operator<< (std::ostream &os, const HostResult &result)
 
std::ostream & operator<< (std::ostream &os, const NameInfoResult &result)
 
std::ostream & operator<< (std::ostream &os, const SearchResult &result)
 
void ProcessWork (ares_channel channel, std::function< std::set< int >()> get_extrafds, std::function< void(int)> process_extra)
 
void SearchCallback (void *data, int status, int timeouts, unsigned char *abuf, int alen)
 
static int SocketConfigureCallback (ares_socket_t fd, int type, void *data)
 
static int SocketConnectCallback (ares_socket_t fd, int type, void *data)
 
std::string TempNam (const char *dir, const char *prefix)
 
 TEST (DNSProto, EncodeAddressAnswers)
 
 TEST (DNSProto, EncodeQuestions)
 
 TEST (DNSProto, EncodeSingleNameAnswers)
 
 TEST (LibraryInit, Basic)
 
 TEST (LibraryInit, BasicChannelInit)
 
 TEST (LibraryInit, DISABLED_InvalidParam)
 
 TEST (LibraryInit, Nested)
 
 TEST (LibraryInit, StrdupFailures)
 
 TEST (LibraryInit, UnexpectedCleanup)
 
 TEST (Misc, Bitncmp)
 
 TEST (Misc, GetHostent)
 
 TEST (Misc, OnionDomain)
 
 TEST_F (DefaultChannelTest, GetAddrInfoHostsByALias)
 
 TEST_F (DefaultChannelTest, GetAddrInfoHostsIPV6)
 
 TEST_F (DefaultChannelTest, GetAddrInfoHostsPositive)
 
 TEST_F (DefaultChannelTest, GetAddrInfoHostsSpaces)
 
 TEST_F (DefaultChannelTest, GetAddrinfoOnionDomain)
 
 TEST_F (DefaultChannelTest, GetServers)
 
 TEST_F (DefaultChannelTest, GetServersFailures)
 
 TEST_F (DefaultChannelTest, HostByNameFileOnionDomain)
 
 TEST_F (DefaultChannelTest, HostByNameOnionDomain)
 
 TEST_F (DefaultChannelTest, LiveSetServers)
 
 TEST_F (DefaultChannelTest, LiveSetServersCSV)
 
 TEST_F (DefaultChannelTest, LiveSetServersPorts)
 
 TEST_F (DefaultChannelTest, SaveInvalidChannel)
 
 TEST_F (DefaultChannelTest, SearchOnionDomain)
 
 TEST_F (DefaultChannelTest, SendFailure)
 
 TEST_F (DefaultChannelTest, SetAddresses)
 
 TEST_F (DefaultChannelTest, SetServers)
 
 TEST_F (DefaultChannelTest, SetServersCSV)
 
 TEST_F (DefaultChannelTest, SetServersPorts)
 
 TEST_F (DefaultChannelTest, SetSortlistAllocFail)
 
 TEST_F (DefaultChannelTest, SetSortlistFailures)
 
 TEST_F (DefaultChannelTest, SetSortlistVariants)
 
 TEST_F (DefaultChannelTest, TimeoutValue)
 
 TEST_F (DefaultChannelTest, VerifySocketFunctionCallback)
 
 TEST_F (LibraryTest, Casts)
 
 TEST_F (LibraryTest, ChannelAllocFail)
 
 TEST_F (LibraryTest, CreateEDNSQuery)
 
 TEST_F (LibraryTest, CreateQuery)
 
 TEST_F (LibraryTest, CreateQueryFailures)
 
 TEST_F (LibraryTest, CreateQueryNameTooLong)
 
 TEST_F (LibraryTest, CreateQueryOnionDomain)
 
 TEST_F (LibraryTest, CreateQueryTrailingEscapedDot)
 
 TEST_F (LibraryTest, CreateRootQuery)
 
 TEST_F (LibraryTest, DISABLED_ParseAReplyVariantCnameLast)
 
 TEST_F (LibraryTest, EnvInit)
 
 TEST_F (LibraryTest, EnvInitAllocFail)
 
 TEST_F (LibraryTest, ExpandName)
 
 TEST_F (LibraryTest, ExpandNameFailure)
 
 TEST_F (LibraryTest, ExpandString)
 
 TEST_F (LibraryTest, FailChannelInit)
 
 TEST_F (LibraryTest, FreeCorruptData)
 
 TEST_F (LibraryTest, FreeLongChain)
 
 TEST_F (LibraryTest, GetAddrInfoAllocFail)
 
 TEST_F (LibraryTest, GetHostentAllocFail)
 
 TEST_F (LibraryTest, GetTCPSock)
 
 TEST_F (LibraryTest, InetNtoP)
 
 TEST_F (LibraryTest, InetPtoN)
 
 TEST_F (LibraryTest, MallocDataFail)
 
 TEST_F (LibraryTest, Mkquery)
 
 TEST_F (LibraryTest, OptionsChannelAllocFail)
 
 TEST_F (LibraryTest, OptionsChannelInit)
 
 TEST_F (LibraryTest, ParseAaaaReplyAllocFail)
 
 TEST_F (LibraryTest, ParseAaaaReplyCname)
 
 TEST_F (LibraryTest, ParseAaaaReplyErrors)
 
 TEST_F (LibraryTest, ParseAaaaReplyNoData)
 
 TEST_F (LibraryTest, ParseAaaaReplyOK)
 
 TEST_F (LibraryTest, ParseAReplyAllocFail)
 
 TEST_F (LibraryTest, ParseAReplyErrors)
 
 TEST_F (LibraryTest, ParseAReplyJustCname)
 
 TEST_F (LibraryTest, ParseAReplyNoData)
 
 TEST_F (LibraryTest, ParseAReplyOK)
 
 TEST_F (LibraryTest, ParseAReplyVariantA)
 
 TEST_F (LibraryTest, ParseAReplyVariantCname)
 
 TEST_F (LibraryTest, ParseAReplyVariantCnameChain)
 
 TEST_F (LibraryTest, ParseCaaBogusReply1)
 
 TEST_F (LibraryTest, ParseCaaBogusReply2)
 
 TEST_F (LibraryTest, ParseCaaBogusReply3)
 
 TEST_F (LibraryTest, ParseCaaEmptyReply)
 
 TEST_F (LibraryTest, ParseCaaReplyMultipleOK)
 
 TEST_F (LibraryTest, ParseCaaReplySingleOK)
 
 TEST_F (LibraryTest, ParseFullyCompressedName)
 
 TEST_F (LibraryTest, ParseFullyCompressedName2)
 
 TEST_F (LibraryTest, ParseIndirectRootName)
 
 TEST_F (LibraryTest, ParseMalformedAReply)
 
 TEST_F (LibraryTest, ParseManyPtrReply)
 
 TEST_F (LibraryTest, ParseMxReplyAllocFail)
 
 TEST_F (LibraryTest, ParseMxReplyErrors)
 
 TEST_F (LibraryTest, ParseMxReplyMalformed)
 
 TEST_F (LibraryTest, ParseMxReplyOK)
 
 TEST_F (LibraryTest, ParseNaptrReplyAllocFail)
 
 TEST_F (LibraryTest, ParseNaptrReplyErrors)
 
 TEST_F (LibraryTest, ParseNaptrReplyOK)
 
 TEST_F (LibraryTest, ParseNaptrReplyTooShort)
 
 TEST_F (LibraryTest, ParseNsReplyAllocFail)
 
 TEST_F (LibraryTest, ParseNsReplyErrors)
 
 TEST_F (LibraryTest, ParseNsReplyMultiple)
 
 TEST_F (LibraryTest, ParseNsReplyOK)
 
 TEST_F (LibraryTest, ParsePartialCompressedName)
 
 TEST_F (LibraryTest, ParsePtrReplyAdditional)
 
 TEST_F (LibraryTest, ParsePtrReplyAllocFailMany)
 
 TEST_F (LibraryTest, ParsePtrReplyAllocFailSome)
 
 TEST_F (LibraryTest, ParsePtrReplyCname)
 
 TEST_F (LibraryTest, ParsePtrReplyErrors)
 
 TEST_F (LibraryTest, ParsePtrReplyMalformedCname)
 
 TEST_F (LibraryTest, ParsePtrReplyOK)
 
 TEST_F (LibraryTest, ParseRootName)
 
 TEST_F (LibraryTest, ParseSoaAnyReplyAllocFail)
 
 TEST_F (LibraryTest, ParseSoaAnyReplyErrors)
 
 TEST_F (LibraryTest, ParseSoaAnyReplyOK)
 
 TEST_F (LibraryTest, ParseSoaReplyAllocFail)
 
 TEST_F (LibraryTest, ParseSoaReplyErrors)
 
 TEST_F (LibraryTest, ParseSoaReplyOK)
 
 TEST_F (LibraryTest, ParseSrvReplyAllocFail)
 
 TEST_F (LibraryTest, ParseSrvReplyCname)
 
 TEST_F (LibraryTest, ParseSrvReplyCnameMultiple)
 
 TEST_F (LibraryTest, ParseSrvReplyErrors)
 
 TEST_F (LibraryTest, ParseSrvReplyMalformed)
 
 TEST_F (LibraryTest, ParseSrvReplyMultiple)
 
 TEST_F (LibraryTest, ParseSrvReplyOK)
 
 TEST_F (LibraryTest, ParseSrvReplySingle)
 
 TEST_F (LibraryTest, ParseTxtExtReplyOK)
 
 TEST_F (LibraryTest, ParseTxtMalformedReply1)
 
 TEST_F (LibraryTest, ParseTxtMalformedReply2)
 
 TEST_F (LibraryTest, ParseTxtMalformedReply3)
 
 TEST_F (LibraryTest, ParseTxtMalformedReply4)
 
 TEST_F (LibraryTest, ParseTxtReplyAllocFail)
 
 TEST_F (LibraryTest, ParseTxtReplyErrors)
 
 TEST_F (LibraryTest, ParseTxtReplyOK)
 
 TEST_F (LibraryTest, ReadLine)
 
 TEST_F (LibraryTest, ReadLineNoBuf)
 
 TEST_F (LibraryTest, StrdupFailures)
 
 TEST_F (LibraryTest, Strerror)
 
 TEST_F (LibraryTest, Version)
 
 TEST_P (DefaultChannelModeTest, LiveGetHostByAddrFailAddrSize)
 
 TEST_P (DefaultChannelModeTest, LiveGetHostByAddrFailAlloc)
 
 TEST_P (DefaultChannelModeTest, LiveGetHostByAddrFailFamily)
 
 TEST_P (DefaultChannelModeTest, LiveGetLocalhostByAddrV4)
 
 TEST_P (DefaultChannelModeTest, LiveGetLocalhostByAddrV6)
 
 TEST_P (DefaultChannelModeTest, LiveGetLocalhostByNameIPV4)
 
 TEST_P (DefaultChannelModeTest, LiveGetLocalhostByNameIPV6)
 
 TEST_P (DefaultChannelModeTest, LiveGetLocalhostByNameV4)
 
 TEST_P (DefaultChannelModeTest, LiveGetLocalhostByNameV6)
 
 TEST_P (DefaultChannelModeTest, LiveGetLocalhostFailFamily)
 
 TEST_P (MockChannelTest, Basic)
 
 TEST_P (MockChannelTest, CancelImmediate)
 
 TEST_P (MockChannelTest, CancelImmediateGetHostByAddr)
 
 TEST_P (MockChannelTest, ExplicitIP)
 
 TEST_P (MockChannelTest, ExplicitIPAllocFail)
 
 TEST_P (MockChannelTest, GetHostByAddrDestroy)
 
 TEST_P (MockChannelTest, GetHostByNameCNAMENoData)
 
 TEST_P (MockChannelTest, GetHostByNameDestroyAbsolute)
 
 TEST_P (MockChannelTest, GetHostByNameDestroyRelative)
 
 TEST_P (MockChannelTest, HostAlias)
 
 TEST_P (MockChannelTest, HostAliasMissing)
 
 TEST_P (MockChannelTest, HostAliasMissingFile)
 
 TEST_P (MockChannelTest, HostAliasUnreadable)
 
 TEST_P (MockChannelTest, SearchAllocFailure)
 
 TEST_P (MockChannelTest, SearchDomains)
 
 TEST_P (MockChannelTest, SearchDomainsBare)
 
 TEST_P (MockChannelTest, SearchHighNdots)
 
 TEST_P (MockChannelTest, SearchNoDataThenFail)
 
 TEST_P (MockChannelTest, SearchNoDataThenNoDataBare)
 
 TEST_P (MockChannelTest, SearchNoDataThenSuccess)
 
 TEST_P (MockChannelTest, SockCallback)
 
 TEST_P (MockChannelTest, SockConfigureCallback)
 
 TEST_P (MockChannelTest, SockConfigureFailCallback)
 
 TEST_P (MockChannelTest, SockFailCallback)
 
 TEST_P (MockChannelTest, SortListV4)
 
 TEST_P (MockChannelTest, SortListV6)
 
 TEST_P (MockChannelTest, UnspecifiedFamilyCname6A4)
 
 TEST_P (MockChannelTest, UnspecifiedFamilyNoData)
 
 TEST_P (MockChannelTest, UnspecifiedFamilyV4)
 
 TEST_P (MockChannelTest, UnspecifiedFamilyV6)
 
 TEST_P (MockChannelTestAI, FamilyUnspecified)
 
 TEST_P (MockChannelTestAI, FamilyV4)
 
 TEST_P (MockChannelTestAI, FamilyV4_MultipleAddresses)
 
 TEST_P (MockChannelTestAI, FamilyV4ServiceName)
 
 TEST_P (MockChannelTestAI, FamilyV6)
 
 TEST_P (MockChannelTestAI, SearchDomains)
 
 TEST_P (MockChannelTestAI, SearchDomainsServFailOnAAAA)
 
 TEST_P (MockEDNSChannelTest, RetryWithoutEDNS)
 
 TEST_P (MockEDNSChannelTestAI, RetryWithoutEDNS)
 
 TEST_P (MockExtraOptsNDots5TestAI, SimpleQuery)
 
 TEST_P (MockExtraOptsTest, SimpleQuery)
 
 TEST_P (MockExtraOptsTestAI, SimpleQuery)
 
 TEST_P (MockNoCheckRespChannelTest, NotImplResponse)
 
 TEST_P (MockNoCheckRespChannelTest, RefusedResponse)
 
 TEST_P (MockNoCheckRespChannelTest, ServFailResponse)
 
 TEST_P (MockNoCheckRespChannelTestAI, NotImplResponse)
 
 TEST_P (MockNoCheckRespChannelTestAI, RefusedResponse)
 
 TEST_P (MockNoCheckRespChannelTestAI, ServFailResponse)
 
 TEST_P (MockTCPChannelTest, FormErrResponse)
 
 TEST_P (MockTCPChannelTest, MalformedResponse)
 
 TEST_P (MockTCPChannelTest, NotImplResponse)
 
 TEST_P (MockTCPChannelTest, RefusedResponse)
 
 TEST_P (MockTCPChannelTest, ServFailResponse)
 
 TEST_P (MockTCPChannelTest, YXDomainResponse)
 
 TEST_P (MockTCPChannelTestAI, FormErrResponse)
 
 TEST_P (MockTCPChannelTestAI, MalformedResponse)
 
 TEST_P (MockTCPChannelTestAI, NotImplResponse)
 
 TEST_P (MockTCPChannelTestAI, RefusedResponse)
 
 TEST_P (MockTCPChannelTestAI, ServFailResponse)
 
 TEST_P (MockTCPChannelTestAI, YXDomainResponse)
 
 TEST_P (MockUDPChannelTest, CancelLater)
 
 TEST_P (MockUDPChannelTest, GetHostByNameParallelLookups)
 
 TEST_P (MockUDPChannelTest, Resend)
 
 TEST_P (MockUDPChannelTest, SearchDomainsAllocFail)
 
 TEST_P (MockUDPChannelTest, SearchDomainsWithResentReply)
 
 TEST_P (MockUDPChannelTest, TruncationRetry)
 
 TEST_P (MockUDPChannelTestAI, GetAddrInfoParallelLookups)
 
 TEST_P (MockUDPChannelTestAI, TruncationRetry)
 
 TEST_P (NoRotateMultiMockTest, ThirdServer)
 
 TEST_P (NoRotateMultiMockTestAI, ThirdServer)
 
 TEST_P (RotateMultiMockTest, ThirdServer)
 
 TEST_P (RotateMultiMockTestAI, ThirdServer)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, GetSock)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetHostByAddrV4)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetHostByAddrV6)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetHostByNameFile)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetHostByNameV4)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetHostByNameV6)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInfoAllocFail)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInfoV4)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInfoV4NoPort)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInfoV4NotFound)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInfoV4NotFoundFail)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInfoV4Numeric)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInfoV4UnassignedPort)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInfoV6Both)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInfoV6LinkLocal)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInfoV6Neither)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInfoV6NotFound)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInfoV6Numeric)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInvalidFamily)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetNameInvalidFlags)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetServiceInfo)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveGetServiceInfoNumeric)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveSearchA)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveSearchANY)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveSearchEmptyA)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveSearchMX)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveSearchNS)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveSearchSOA)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveSearchSRV)
 
 VIRT_NONVIRT_TEST_F (DefaultChannelTest, LiveSearchTXT)
 

Variables

const std::vector< intboth_families = {AF_INET, AF_INET6}
 
const std::vector< std::pair< int, bool > > both_families_both_modes
 
static constexpr int dynamic_port = 0
 
std::vector< intfamilies = both_families
 
std::vector< std::pair< int, bool > > families_modes = both_families_both_modes
 
unsigned char gdns_addr4 [4] = {0x08, 0x08, 0x08, 0x08}
 
unsigned char gdns_addr6 [16]
 
const std::vector< intipv4_family = {AF_INET}
 
const std::vector< std::pair< int, bool > > ipv4_family_both_modes
 
const std::vector< intipv6_family = {AF_INET6}
 
const std::vector< std::pair< int, bool > > ipv6_family_both_modes
 
int mock_port = dynamic_port
 
static int sock_cb_count = 0
 
static int sock_config_cb_count = 0
 
bool verbose = false
 

Typedef Documentation

◆ AddrInfo

using ares::test::AddrInfo = typedef std::unique_ptr<ares_addrinfo, AddrInfoDeleter>

Definition at line 289 of file ares-test.h.

Function Documentation

◆ ACTION_P2() [1/4]

ares::test::ACTION_P2 ( CancelChannel  ,
mockserver  ,
channel   
)

Definition at line 232 of file ares-test.h.

◆ ACTION_P2() [2/4]

ares::test::ACTION_P2 ( SetReply  ,
mockserver  ,
reply   
)

Definition at line 225 of file ares-test.h.

◆ ACTION_P2() [3/4]

ares::test::ACTION_P2 ( SetReplyData  ,
mockserver  ,
data   
)

Definition at line 222 of file ares-test.h.

◆ ACTION_P2() [4/4]

ares::test::ACTION_P2 ( SetReplyQID  ,
mockserver  ,
qid   
)

Definition at line 228 of file ares-test.h.

◆ AddrInfoCallback()

void ares::test::AddrInfoCallback ( void *  data,
int  status,
int  timeouts,
struct ares_addrinfo ai 
)

Definition at line 664 of file ares-test.cc.

◆ CheckPtoN4()

void ares::test::CheckPtoN4 ( int  size,
unsigned int  value,
const char *  input 
)

Definition at line 40 of file ares-test-internal.cc.

◆ configure_socket()

static int ares::test::configure_socket ( ares_socket_t  s)
static

Definition at line 519 of file ares-test-internal.cc.

◆ ExpandName()

std::string ares::test::ExpandName ( const std::vector< byte > &  data,
int  offset,
long enclen 
)

Definition at line 308 of file ares-test-misc.cc.

◆ GetNameServers()

std::vector< std::string > ares::test::GetNameServers ( ares_channel  channel)

Definition at line 720 of file ares-test.cc.

◆ HostCallback()

void ares::test::HostCallback ( void *  data,
int  status,
int  timeouts,
struct hostent *  hostent 
)

Definition at line 591 of file ares-test.cc.

◆ INSTANTIATE_TEST_CASE_P() [1/18]

ares::test::INSTANTIATE_TEST_CASE_P ( AddressFamilies  ,
MockChannelTest  ,
::testing::ValuesIn(ares::test::families_modes  
)

◆ INSTANTIATE_TEST_CASE_P() [2/18]

ares::test::INSTANTIATE_TEST_CASE_P ( AddressFamilies  ,
MockEDNSChannelTest  ,
::testing::ValuesIn(ares::test::families_modes  
)

◆ INSTANTIATE_TEST_CASE_P() [3/18]

ares::test::INSTANTIATE_TEST_CASE_P ( AddressFamilies  ,
MockExtraOptsTest  ,
::testing::ValuesIn(ares::test::families_modes  
)

◆ INSTANTIATE_TEST_CASE_P() [4/18]

ares::test::INSTANTIATE_TEST_CASE_P ( AddressFamilies  ,
MockNoCheckRespChannelTest  ,
::testing::ValuesIn(ares::test::families_modes  
)

◆ INSTANTIATE_TEST_CASE_P() [5/18]

ares::test::INSTANTIATE_TEST_CASE_P ( AddressFamilies  ,
MockTCPChannelTest  ,
::testing::ValuesIn(ares::test::families  
)

◆ INSTANTIATE_TEST_CASE_P() [6/18]

ares::test::INSTANTIATE_TEST_CASE_P ( AddressFamilies  ,
MockUDPChannelTest  ,
::testing::ValuesIn(ares::test::families  
)

◆ INSTANTIATE_TEST_CASE_P() [7/18]

ares::test::INSTANTIATE_TEST_CASE_P ( AddressFamiliesAI  ,
MockChannelTestAI  ,
::testing::Values(std::make_pair< int, bool >(AF_INET, false))   
)

◆ INSTANTIATE_TEST_CASE_P() [8/18]

ares::test::INSTANTIATE_TEST_CASE_P ( AddressFamiliesAI  ,
MockEDNSChannelTestAI  ,
::testing::ValuesIn(ares::test::families_modes  
)

◆ INSTANTIATE_TEST_CASE_P() [9/18]

ares::test::INSTANTIATE_TEST_CASE_P ( AddressFamiliesAI  ,
MockExtraOptsNDots5TestAI  ,
::testing::ValuesIn(ares::test::families_modes  
)

◆ INSTANTIATE_TEST_CASE_P() [10/18]

ares::test::INSTANTIATE_TEST_CASE_P ( AddressFamiliesAI  ,
MockExtraOptsTestAI  ,
::testing::ValuesIn(ares::test::families_modes  
)

◆ INSTANTIATE_TEST_CASE_P() [11/18]

ares::test::INSTANTIATE_TEST_CASE_P ( AddressFamiliesAI  ,
MockNoCheckRespChannelTestAI  ,
::testing::ValuesIn(ares::test::families_modes  
)

◆ INSTANTIATE_TEST_CASE_P() [12/18]

ares::test::INSTANTIATE_TEST_CASE_P ( AddressFamiliesAI  ,
MockTCPChannelTestAI  ,
::testing::ValuesIn(ares::test::families  
)

◆ INSTANTIATE_TEST_CASE_P() [13/18]

ares::test::INSTANTIATE_TEST_CASE_P ( AddressFamiliesAI  ,
MockUDPChannelTestAI  ,
::testing::ValuesIn(ares::test::families  
)

◆ INSTANTIATE_TEST_CASE_P() [14/18]

ares::test::INSTANTIATE_TEST_CASE_P ( Modes  ,
DefaultChannelModeTest  ,
::testing::Values("f", "b", "fb", "bf")   
)

◆ INSTANTIATE_TEST_CASE_P() [15/18]

ares::test::INSTANTIATE_TEST_CASE_P ( TransportModes  ,
NoRotateMultiMockTest  ,
::testing::ValuesIn(ares::test::families_modes  
)

◆ INSTANTIATE_TEST_CASE_P() [16/18]

ares::test::INSTANTIATE_TEST_CASE_P ( TransportModes  ,
RotateMultiMockTest  ,
::testing::ValuesIn(ares::test::families_modes  
)

◆ INSTANTIATE_TEST_CASE_P() [17/18]

ares::test::INSTANTIATE_TEST_CASE_P ( TransportModesAI  ,
NoRotateMultiMockTestAI  ,
::testing::ValuesIn(ares::test::families_modes  
)

◆ INSTANTIATE_TEST_CASE_P() [18/18]

ares::test::INSTANTIATE_TEST_CASE_P ( TransportModesAI  ,
RotateMultiMockTestAI  ,
::testing::ValuesIn(ares::test::families_modes  
)

◆ MATCHER_P() [1/6]

ares::test::MATCHER_P ( IncludesAddrType  ,
addrtype  ,
""   
)

Definition at line 39 of file ares-test-live.cc.

◆ MATCHER_P() [2/6]

ares::test::MATCHER_P ( IncludesAtLeastNumAddresses  ,
,
""   
)

Definition at line 21 of file ares-test-live.cc.

◆ MATCHER_P() [3/6]

ares::test::MATCHER_P ( IncludesNumAddresses  ,
,
""   
)

Definition at line 17 of file ares-test-mock-ai.cc.

◆ MATCHER_P() [4/6]

ares::test::MATCHER_P ( IncludesV4Address  ,
address  ,
""   
)

Definition at line 26 of file ares-test-mock-ai.cc.

◆ MATCHER_P() [5/6]

ares::test::MATCHER_P ( IncludesV6Address  ,
address  ,
""   
)

Definition at line 42 of file ares-test-mock-ai.cc.

◆ MATCHER_P() [6/6]

ares::test::MATCHER_P ( OnlyIncludesAddrType  ,
addrtype  ,
""   
)

Definition at line 30 of file ares-test-live.cc.

◆ NameInfoCallback()

void ares::test::NameInfoCallback ( void *  data,
int  status,
int  timeouts,
char *  node,
char *  service 
)

Definition at line 708 of file ares-test.cc.

◆ NoExtraFDs()

std::set< int > ares::test::NoExtraFDs ( )

Definition at line 163 of file ares-test.cc.

◆ operator<<() [1/6]

std::ostream & ares::test::operator<< ( std::ostream &  os,
const AddrInfo ai 
)

Definition at line 613 of file ares-test.cc.

◆ operator<<() [2/6]

std::ostream & ares::test::operator<< ( std::ostream &  os,
const AddrInfoResult result 
)

Definition at line 602 of file ares-test.cc.

◆ operator<<() [3/6]

std::ostream & ares::test::operator<< ( std::ostream &  os,
const HostEnt host 
)

Definition at line 572 of file ares-test.cc.

◆ operator<<() [4/6]

std::ostream & ares::test::operator<< ( std::ostream &  os,
const HostResult result 
)

Definition at line 538 of file ares-test.cc.

◆ operator<<() [5/6]

std::ostream & ares::test::operator<< ( std::ostream &  os,
const NameInfoResult result 
)

Definition at line 697 of file ares-test.cc.

◆ operator<<() [6/6]

std::ostream & ares::test::operator<< ( std::ostream &  os,
const SearchResult result 
)

Definition at line 675 of file ares-test.cc.

◆ ProcessWork()

void ares::test::ProcessWork ( ares_channel  channel,
std::function< std::set< int >()>  get_extrafds,
std::function< void(int)>  process_extra 
)

Definition at line 64 of file ares-test.cc.

◆ SearchCallback()

void ares::test::SearchCallback ( void *  data,
int  status,
int  timeouts,
unsigned char *  abuf,
int  alen 
)

Definition at line 686 of file ares-test.cc.

◆ SocketConfigureCallback()

static int ares::test::SocketConfigureCallback ( ares_socket_t  fd,
int  type,
void *  data 
)
static

Definition at line 156 of file ares-test-mock.cc.

◆ SocketConnectCallback()

static int ares::test::SocketConnectCallback ( ares_socket_t  fd,
int  type,
void *  data 
)
static

Definition at line 111 of file ares-test-mock.cc.

◆ TempNam()

std::string ares::test::TempNam ( const char *  dir,
const char *  prefix 
)

Definition at line 783 of file ares-test.cc.

◆ TEST() [1/12]

ares::test::TEST ( DNSProto  ,
EncodeAddressAnswers   
)

Definition at line 85 of file dns-proto-test.cc.

◆ TEST() [2/12]

ares::test::TEST ( DNSProto  ,
EncodeQuestions   
)

Definition at line 9 of file dns-proto-test.cc.

◆ TEST() [3/12]

ares::test::TEST ( DNSProto  ,
EncodeSingleNameAnswers   
)

Definition at line 40 of file dns-proto-test.cc.

◆ TEST() [4/12]

ares::test::TEST ( LibraryInit  ,
Basic   
)

Definition at line 13 of file ares-test-init.cc.

◆ TEST() [5/12]

ares::test::TEST ( LibraryInit  ,
BasicChannelInit   
)

Definition at line 46 of file ares-test-init.cc.

◆ TEST() [6/12]

ares::test::TEST ( LibraryInit  ,
DISABLED_InvalidParam   
)

Definition at line 27 of file ares-test-init.cc.

◆ TEST() [7/12]

ares::test::TEST ( LibraryInit  ,
Nested   
)

Definition at line 34 of file ares-test-init.cc.

◆ TEST() [8/12]

ares::test::TEST ( LibraryInit  ,
StrdupFailures   
)

Definition at line 200 of file ares-test-internal.cc.

◆ TEST() [9/12]

ares::test::TEST ( LibraryInit  ,
UnexpectedCleanup   
)

Definition at line 21 of file ares-test-init.cc.

◆ TEST() [10/12]

ares::test::TEST ( Misc  ,
Bitncmp   
)

Definition at line 220 of file ares-test-internal.cc.

◆ TEST() [11/12]

ares::test::TEST ( Misc  ,
GetHostent   
)

Definition at line 300 of file ares-test-internal.cc.

◆ TEST() [12/12]

ares::test::TEST ( Misc  ,
OnionDomain   
)

Definition at line 460 of file ares-test-internal.cc.

◆ TEST_F() [1/123]

ares::test::TEST_F ( DefaultChannelTest  ,
GetAddrInfoHostsByALias   
)

Definition at line 399 of file ares-test-internal.cc.

◆ TEST_F() [2/123]

ares::test::TEST_F ( DefaultChannelTest  ,
GetAddrInfoHostsIPV6   
)

Definition at line 419 of file ares-test-internal.cc.

◆ TEST_F() [3/123]

ares::test::TEST_F ( DefaultChannelTest  ,
GetAddrInfoHostsPositive   
)

Definition at line 359 of file ares-test-internal.cc.

◆ TEST_F() [4/123]

ares::test::TEST_F ( DefaultChannelTest  ,
GetAddrInfoHostsSpaces   
)

Definition at line 379 of file ares-test-internal.cc.

◆ TEST_F() [5/123]

ares::test::TEST_F ( DefaultChannelTest  ,
GetAddrinfoOnionDomain   
)

Definition at line 280 of file ares-test-misc.cc.

◆ TEST_F() [6/123]

ares::test::TEST_F ( DefaultChannelTest  ,
GetServers   
)

Definition at line 10 of file ares-test-misc.cc.

◆ TEST_F() [7/123]

ares::test::TEST_F ( DefaultChannelTest  ,
GetServersFailures   
)

Definition at line 19 of file ares-test-misc.cc.

◆ TEST_F() [8/123]

ares::test::TEST_F ( DefaultChannelTest  ,
HostByNameFileOnionDomain   
)

Definition at line 274 of file ares-test-misc.cc.

◆ TEST_F() [9/123]

ares::test::TEST_F ( DefaultChannelTest  ,
HostByNameOnionDomain   
)

Definition at line 267 of file ares-test-misc.cc.

◆ TEST_F() [10/123]

ares::test::TEST_F ( DefaultChannelTest  ,
LiveSetServers   
)

Definition at line 699 of file ares-test-live.cc.

◆ TEST_F() [11/123]

ares::test::TEST_F ( DefaultChannelTest  ,
LiveSetServersCSV   
)

Definition at line 738 of file ares-test-live.cc.

◆ TEST_F() [12/123]

ares::test::TEST_F ( DefaultChannelTest  ,
LiveSetServersPorts   
)

Definition at line 716 of file ares-test-live.cc.

◆ TEST_F() [13/123]

ares::test::TEST_F ( DefaultChannelTest  ,
SaveInvalidChannel   
)

Definition at line 508 of file ares-test-internal.cc.

◆ TEST_F() [14/123]

ares::test::TEST_F ( DefaultChannelTest  ,
SearchOnionDomain   
)

Definition at line 292 of file ares-test-misc.cc.

◆ TEST_F() [15/123]

ares::test::TEST_F ( DefaultChannelTest  ,
SendFailure   
)

Definition at line 300 of file ares-test-misc.cc.

◆ TEST_F() [16/123]

ares::test::TEST_F ( DefaultChannelTest  ,
SetAddresses   
)

Definition at line 263 of file ares-test-init.cc.

◆ TEST_F() [17/123]

ares::test::TEST_F ( DefaultChannelTest  ,
SetServers   
)

Definition at line 30 of file ares-test-misc.cc.

◆ TEST_F() [18/123]

ares::test::TEST_F ( DefaultChannelTest  ,
SetServersCSV   
)

Definition at line 74 of file ares-test-misc.cc.

◆ TEST_F() [19/123]

ares::test::TEST_F ( DefaultChannelTest  ,
SetServersPorts   
)

Definition at line 50 of file ares-test-misc.cc.

◆ TEST_F() [20/123]

ares::test::TEST_F ( DefaultChannelTest  ,
SetSortlistAllocFail   
)

Definition at line 286 of file ares-test-init.cc.

◆ TEST_F() [21/123]

ares::test::TEST_F ( DefaultChannelTest  ,
SetSortlistFailures   
)

Definition at line 271 of file ares-test-init.cc.

◆ TEST_F() [22/123]

ares::test::TEST_F ( DefaultChannelTest  ,
SetSortlistVariants   
)

Definition at line 277 of file ares-test-init.cc.

◆ TEST_F() [23/123]

ares::test::TEST_F ( DefaultChannelTest  ,
TimeoutValue   
)

Definition at line 121 of file ares-test-misc.cc.

◆ TEST_F() [24/123]

ares::test::TEST_F ( DefaultChannelTest  ,
VerifySocketFunctionCallback   
)

Definition at line 661 of file ares-test-live.cc.

◆ TEST_F() [25/123]

ares::test::TEST_F ( LibraryTest  ,
Casts   
)

Definition at line 243 of file ares-test-internal.cc.

◆ TEST_F() [26/123]

ares::test::TEST_F ( LibraryTest  ,
ChannelAllocFail   
)

Definition at line 125 of file ares-test-init.cc.

◆ TEST_F() [27/123]

ares::test::TEST_F ( LibraryTest  ,
CreateEDNSQuery   
)

Definition at line 453 of file ares-test-misc.cc.

◆ TEST_F() [28/123]

ares::test::TEST_F ( LibraryTest  ,
CreateQuery   
)

Definition at line 180 of file ares-test-misc.cc.

◆ TEST_F() [29/123]

ares::test::TEST_F ( LibraryTest  ,
CreateQueryFailures   
)

Definition at line 221 of file ares-test-misc.cc.

◆ TEST_F() [30/123]

ares::test::TEST_F ( LibraryTest  ,
CreateQueryNameTooLong   
)

Definition at line 209 of file ares-test-misc.cc.

◆ TEST_F() [31/123]

ares::test::TEST_F ( LibraryTest  ,
CreateQueryOnionDomain   
)

Definition at line 259 of file ares-test-misc.cc.

◆ TEST_F() [32/123]

ares::test::TEST_F ( LibraryTest  ,
CreateQueryTrailingEscapedDot   
)

Definition at line 196 of file ares-test-misc.cc.

◆ TEST_F() [33/123]

ares::test::TEST_F ( LibraryTest  ,
CreateRootQuery   
)

Definition at line 470 of file ares-test-misc.cc.

◆ TEST_F() [34/123]

ares::test::TEST_F ( LibraryTest  ,
DISABLED_ParseAReplyVariantCnameLast   
)

Definition at line 243 of file ares-test-parse-a.cc.

◆ TEST_F() [35/123]

ares::test::TEST_F ( LibraryTest  ,
EnvInit   
)

Definition at line 237 of file ares-test-init.cc.

◆ TEST_F() [36/123]

ares::test::TEST_F ( LibraryTest  ,
EnvInitAllocFail   
)

Definition at line 245 of file ares-test-init.cc.

◆ TEST_F() [37/123]

ares::test::TEST_F ( LibraryTest  ,
ExpandName   
)

Definition at line 324 of file ares-test-misc.cc.

◆ TEST_F() [38/123]

ares::test::TEST_F ( LibraryTest  ,
ExpandNameFailure   
)

Definition at line 371 of file ares-test-misc.cc.

◆ TEST_F() [39/123]

ares::test::TEST_F ( LibraryTest  ,
ExpandString   
)

Definition at line 502 of file ares-test-misc.cc.

◆ TEST_F() [40/123]

ares::test::TEST_F ( LibraryTest  ,
FailChannelInit   
)

Definition at line 223 of file ares-test-init.cc.

◆ TEST_F() [41/123]

ares::test::TEST_F ( LibraryTest  ,
FreeCorruptData   
)

Definition at line 166 of file ares-test-internal.cc.

◆ TEST_F() [42/123]

ares::test::TEST_F ( LibraryTest  ,
FreeLongChain   
)

Definition at line 189 of file ares-test-internal.cc.

◆ TEST_F() [43/123]

ares::test::TEST_F ( LibraryTest  ,
GetAddrInfoAllocFail   
)

Definition at line 439 of file ares-test-internal.cc.

◆ TEST_F() [44/123]

ares::test::TEST_F ( LibraryTest  ,
GetHostentAllocFail   
)

Definition at line 343 of file ares-test-internal.cc.

◆ TEST_F() [45/123]

ares::test::TEST_F ( LibraryTest  ,
GetTCPSock   
)

Definition at line 633 of file ares-test-live.cc.

◆ TEST_F() [46/123]

ares::test::TEST_F ( LibraryTest  ,
InetNtoP   
)

Definition at line 158 of file ares-test-misc.cc.

◆ TEST_F() [47/123]

ares::test::TEST_F ( LibraryTest  ,
InetPtoN   
)

Definition at line 50 of file ares-test-internal.cc.

◆ TEST_F() [48/123]

ares::test::TEST_F ( LibraryTest  ,
MallocDataFail   
)

Definition at line 214 of file ares-test-internal.cc.

◆ TEST_F() [49/123]

ares::test::TEST_F ( LibraryTest  ,
Mkquery   
)

Definition at line 166 of file ares-test-misc.cc.

◆ TEST_F() [50/123]

ares::test::TEST_F ( LibraryTest  ,
OptionsChannelAllocFail   
)

Definition at line 141 of file ares-test-init.cc.

◆ TEST_F() [51/123]

ares::test::TEST_F ( LibraryTest  ,
OptionsChannelInit   
)

Definition at line 55 of file ares-test-init.cc.

◆ TEST_F() [52/123]

ares::test::TEST_F ( LibraryTest  ,
ParseAaaaReplyAllocFail   
)

Definition at line 169 of file ares-test-parse-aaaa.cc.

◆ TEST_F() [53/123]

ares::test::TEST_F ( LibraryTest  ,
ParseAaaaReplyCname   
)

Definition at line 40 of file ares-test-parse-aaaa.cc.

◆ TEST_F() [54/123]

ares::test::TEST_F ( LibraryTest  ,
ParseAaaaReplyErrors   
)

Definition at line 96 of file ares-test-parse-aaaa.cc.

◆ TEST_F() [55/123]

ares::test::TEST_F ( LibraryTest  ,
ParseAaaaReplyNoData   
)

Definition at line 75 of file ares-test-parse-aaaa.cc.

◆ TEST_F() [56/123]

ares::test::TEST_F ( LibraryTest  ,
ParseAaaaReplyOK   
)

Definition at line 10 of file ares-test-parse-aaaa.cc.

◆ TEST_F() [57/123]

ares::test::TEST_F ( LibraryTest  ,
ParseAReplyAllocFail   
)

Definition at line 356 of file ares-test-parse-a.cc.

◆ TEST_F() [58/123]

ares::test::TEST_F ( LibraryTest  ,
ParseAReplyErrors   
)

Definition at line 271 of file ares-test-parse-a.cc.

◆ TEST_F() [59/123]

ares::test::TEST_F ( LibraryTest  ,
ParseAReplyJustCname   
)

Definition at line 167 of file ares-test-parse-a.cc.

◆ TEST_F() [60/123]

ares::test::TEST_F ( LibraryTest  ,
ParseAReplyNoData   
)

Definition at line 119 of file ares-test-parse-a.cc.

◆ TEST_F() [61/123]

ares::test::TEST_F ( LibraryTest  ,
ParseAReplyOK   
)

Definition at line 10 of file ares-test-parse-a.cc.

◆ TEST_F() [62/123]

ares::test::TEST_F ( LibraryTest  ,
ParseAReplyVariantA   
)

Definition at line 146 of file ares-test-parse-a.cc.

◆ TEST_F() [63/123]

ares::test::TEST_F ( LibraryTest  ,
ParseAReplyVariantCname   
)

Definition at line 186 of file ares-test-parse-a.cc.

◆ TEST_F() [64/123]

ares::test::TEST_F ( LibraryTest  ,
ParseAReplyVariantCnameChain   
)

Definition at line 218 of file ares-test-parse-a.cc.

◆ TEST_F() [65/123]

ares::test::TEST_F ( LibraryTest  ,
ParseCaaBogusReply1   
)

Definition at line 57 of file ares-test-parse-caa.cc.

◆ TEST_F() [66/123]

ares::test::TEST_F ( LibraryTest  ,
ParseCaaBogusReply2   
)

Definition at line 70 of file ares-test-parse-caa.cc.

◆ TEST_F() [67/123]

ares::test::TEST_F ( LibraryTest  ,
ParseCaaBogusReply3   
)

Definition at line 83 of file ares-test-parse-caa.cc.

◆ TEST_F() [68/123]

ares::test::TEST_F ( LibraryTest  ,
ParseCaaEmptyReply   
)

Definition at line 96 of file ares-test-parse-caa.cc.

◆ TEST_F() [69/123]

ares::test::TEST_F ( LibraryTest  ,
ParseCaaReplyMultipleOK   
)

Definition at line 10 of file ares-test-parse-caa.cc.

◆ TEST_F() [70/123]

ares::test::TEST_F ( LibraryTest  ,
ParseCaaReplySingleOK   
)

Definition at line 36 of file ares-test-parse-caa.cc.

◆ TEST_F() [71/123]

ares::test::TEST_F ( LibraryTest  ,
ParseFullyCompressedName   
)

Definition at line 149 of file ares-test-parse.cc.

◆ TEST_F() [72/123]

ares::test::TEST_F ( LibraryTest  ,
ParseFullyCompressedName2   
)

Definition at line 185 of file ares-test-parse.cc.

◆ TEST_F() [73/123]

ares::test::TEST_F ( LibraryTest  ,
ParseIndirectRootName   
)

Definition at line 29 of file ares-test-parse.cc.

◆ TEST_F() [74/123]

ares::test::TEST_F ( LibraryTest  ,
ParseMalformedAReply   
)

Definition at line 75 of file ares-test-parse-a.cc.

◆ TEST_F() [75/123]

ares::test::TEST_F ( LibraryTest  ,
ParseManyPtrReply   
)

Definition at line 77 of file ares-test-parse-ptr.cc.

◆ TEST_F() [76/123]

ares::test::TEST_F ( LibraryTest  ,
ParseMxReplyAllocFail   
)

Definition at line 124 of file ares-test-parse-mx.cc.

◆ TEST_F() [77/123]

ares::test::TEST_F ( LibraryTest  ,
ParseMxReplyErrors   
)

Definition at line 65 of file ares-test-parse-mx.cc.

◆ TEST_F() [78/123]

ares::test::TEST_F ( LibraryTest  ,
ParseMxReplyMalformed   
)

Definition at line 33 of file ares-test-parse-mx.cc.

◆ TEST_F() [79/123]

ares::test::TEST_F ( LibraryTest  ,
ParseMxReplyOK   
)

Definition at line 10 of file ares-test-parse-mx.cc.

◆ TEST_F() [80/123]

ares::test::TEST_F ( LibraryTest  ,
ParseNaptrReplyAllocFail   
)

Definition at line 129 of file ares-test-parse-naptr.cc.

◆ TEST_F() [81/123]

ares::test::TEST_F ( LibraryTest  ,
ParseNaptrReplyErrors   
)

Definition at line 43 of file ares-test-parse-naptr.cc.

◆ TEST_F() [82/123]

ares::test::TEST_F ( LibraryTest  ,
ParseNaptrReplyOK   
)

Definition at line 10 of file ares-test-parse-naptr.cc.

◆ TEST_F() [83/123]

ares::test::TEST_F ( LibraryTest  ,
ParseNaptrReplyTooShort   
)

Definition at line 100 of file ares-test-parse-naptr.cc.

◆ TEST_F() [84/123]

ares::test::TEST_F ( LibraryTest  ,
ParseNsReplyAllocFail   
)

Definition at line 101 of file ares-test-parse-ns.cc.

◆ TEST_F() [85/123]

ares::test::TEST_F ( LibraryTest  ,
ParseNsReplyErrors   
)

Definition at line 49 of file ares-test-parse-ns.cc.

◆ TEST_F() [86/123]

ares::test::TEST_F ( LibraryTest  ,
ParseNsReplyMultiple   
)

Definition at line 26 of file ares-test-parse-ns.cc.

◆ TEST_F() [87/123]

ares::test::TEST_F ( LibraryTest  ,
ParseNsReplyOK   
)

Definition at line 10 of file ares-test-parse-ns.cc.

◆ TEST_F() [88/123]

ares::test::TEST_F ( LibraryTest  ,
ParsePartialCompressedName   
)

Definition at line 112 of file ares-test-parse.cc.

◆ TEST_F() [89/123]

ares::test::TEST_F ( LibraryTest  ,
ParsePtrReplyAdditional   
)

Definition at line 101 of file ares-test-parse-ptr.cc.

◆ TEST_F() [90/123]

ares::test::TEST_F ( LibraryTest  ,
ParsePtrReplyAllocFailMany   
)

Definition at line 216 of file ares-test-parse-ptr.cc.

◆ TEST_F() [91/123]

ares::test::TEST_F ( LibraryTest  ,
ParsePtrReplyAllocFailSome   
)

Definition at line 196 of file ares-test-parse-ptr.cc.

◆ TEST_F() [92/123]

ares::test::TEST_F ( LibraryTest  ,
ParsePtrReplyCname   
)

Definition at line 28 of file ares-test-parse-ptr.cc.

◆ TEST_F() [93/123]

ares::test::TEST_F ( LibraryTest  ,
ParsePtrReplyErrors   
)

Definition at line 125 of file ares-test-parse-ptr.cc.

◆ TEST_F() [94/123]

ares::test::TEST_F ( LibraryTest  ,
ParsePtrReplyMalformedCname   
)

Definition at line 62 of file ares-test-parse-ptr.cc.

◆ TEST_F() [95/123]

ares::test::TEST_F ( LibraryTest  ,
ParsePtrReplyOK   
)

Definition at line 10 of file ares-test-parse-ptr.cc.

◆ TEST_F() [96/123]

ares::test::TEST_F ( LibraryTest  ,
ParseRootName   
)

Definition at line 10 of file ares-test-parse.cc.

◆ TEST_F() [97/123]

ares::test::TEST_F ( LibraryTest  ,
ParseSoaAnyReplyAllocFail   
)

Definition at line 93 of file ares-test-parse-soa-any.cc.

◆ TEST_F() [98/123]

ares::test::TEST_F ( LibraryTest  ,
ParseSoaAnyReplyErrors   
)

Definition at line 35 of file ares-test-parse-soa-any.cc.

◆ TEST_F() [99/123]

ares::test::TEST_F ( LibraryTest  ,
ParseSoaAnyReplyOK   
)

Definition at line 10 of file ares-test-parse-soa-any.cc.

◆ TEST_F() [100/123]

ares::test::TEST_F ( LibraryTest  ,
ParseSoaReplyAllocFail   
)

Definition at line 90 of file ares-test-parse-soa.cc.

◆ TEST_F() [101/123]

ares::test::TEST_F ( LibraryTest  ,
ParseSoaReplyErrors   
)

Definition at line 32 of file ares-test-parse-soa.cc.

◆ TEST_F() [102/123]

ares::test::TEST_F ( LibraryTest  ,
ParseSoaReplyOK   
)

Definition at line 10 of file ares-test-parse-soa.cc.

◆ TEST_F() [103/123]

ares::test::TEST_F ( LibraryTest  ,
ParseSrvReplyAllocFail   
)

Definition at line 271 of file ares-test-parse-srv.cc.

◆ TEST_F() [104/123]

ares::test::TEST_F ( LibraryTest  ,
ParseSrvReplyCname   
)

Definition at line 142 of file ares-test-parse-srv.cc.

◆ TEST_F() [105/123]

ares::test::TEST_F ( LibraryTest  ,
ParseSrvReplyCnameMultiple   
)

Definition at line 170 of file ares-test-parse-srv.cc.

◆ TEST_F() [106/123]

ares::test::TEST_F ( LibraryTest  ,
ParseSrvReplyErrors   
)

Definition at line 217 of file ares-test-parse-srv.cc.

◆ TEST_F() [107/123]

ares::test::TEST_F ( LibraryTest  ,
ParseSrvReplyMalformed   
)

Definition at line 65 of file ares-test-parse-srv.cc.

◆ TEST_F() [108/123]

ares::test::TEST_F ( LibraryTest  ,
ParseSrvReplyMultiple   
)

Definition at line 96 of file ares-test-parse-srv.cc.

◆ TEST_F() [109/123]

ares::test::TEST_F ( LibraryTest  ,
ParseSrvReplyOK   
)

Definition at line 10 of file ares-test-parse-srv.cc.

◆ TEST_F() [110/123]

ares::test::TEST_F ( LibraryTest  ,
ParseSrvReplySingle   
)

Definition at line 38 of file ares-test-parse-srv.cc.

◆ TEST_F() [111/123]

ares::test::TEST_F ( LibraryTest  ,
ParseTxtExtReplyOK   
)

Definition at line 41 of file ares-test-parse-txt.cc.

◆ TEST_F() [112/123]

ares::test::TEST_F ( LibraryTest  ,
ParseTxtMalformedReply1   
)

Definition at line 75 of file ares-test-parse-txt.cc.

◆ TEST_F() [113/123]

ares::test::TEST_F ( LibraryTest  ,
ParseTxtMalformedReply2   
)

Definition at line 106 of file ares-test-parse-txt.cc.

◆ TEST_F() [114/123]

ares::test::TEST_F ( LibraryTest  ,
ParseTxtMalformedReply3   
)

Definition at line 134 of file ares-test-parse-txt.cc.

◆ TEST_F() [115/123]

ares::test::TEST_F ( LibraryTest  ,
ParseTxtMalformedReply4   
)

Definition at line 165 of file ares-test-parse-txt.cc.

◆ TEST_F() [116/123]

ares::test::TEST_F ( LibraryTest  ,
ParseTxtReplyAllocFail   
)

Definition at line 243 of file ares-test-parse-txt.cc.

◆ TEST_F() [117/123]

ares::test::TEST_F ( LibraryTest  ,
ParseTxtReplyErrors   
)

Definition at line 187 of file ares-test-parse-txt.cc.

◆ TEST_F() [118/123]

ares::test::TEST_F ( LibraryTest  ,
ParseTxtReplyOK   
)

Definition at line 10 of file ares-test-parse-txt.cc.

◆ TEST_F() [119/123]

ares::test::TEST_F ( LibraryTest  ,
ReadLine   
)

Definition at line 258 of file ares-test-internal.cc.

◆ TEST_F() [120/123]

ares::test::TEST_F ( LibraryTest  ,
ReadLineNoBuf   
)

Definition at line 278 of file ares-test-internal.cc.

◆ TEST_F() [121/123]

ares::test::TEST_F ( LibraryTest  ,
StrdupFailures   
)

Definition at line 208 of file ares-test-internal.cc.

◆ TEST_F() [122/123]

ares::test::TEST_F ( LibraryTest  ,
Strerror   
)

Definition at line 493 of file ares-test-misc.cc.

◆ TEST_F() [123/123]

ares::test::TEST_F ( LibraryTest  ,
Version   
)

Definition at line 484 of file ares-test-misc.cc.

◆ TEST_P() [1/82]

ares::test::TEST_P ( DefaultChannelModeTest  ,
LiveGetHostByAddrFailAddrSize   
)

Definition at line 252 of file ares-test-live.cc.

◆ TEST_P() [2/82]

ares::test::TEST_P ( DefaultChannelModeTest  ,
LiveGetHostByAddrFailAlloc   
)

Definition at line 261 of file ares-test-live.cc.

◆ TEST_P() [3/82]

ares::test::TEST_P ( DefaultChannelModeTest  ,
LiveGetHostByAddrFailFamily   
)

Definition at line 243 of file ares-test-live.cc.

◆ TEST_P() [4/82]

ares::test::TEST_P ( DefaultChannelModeTest  ,
LiveGetLocalhostByAddrV4   
)

Definition at line 206 of file ares-test-live.cc.

◆ TEST_P() [5/82]

ares::test::TEST_P ( DefaultChannelModeTest  ,
LiveGetLocalhostByAddrV6   
)

Definition at line 225 of file ares-test-live.cc.

◆ TEST_P() [6/82]

ares::test::TEST_P ( DefaultChannelModeTest  ,
LiveGetLocalhostByNameIPV4   
)

Definition at line 170 of file ares-test-live.cc.

◆ TEST_P() [7/82]

ares::test::TEST_P ( DefaultChannelModeTest  ,
LiveGetLocalhostByNameIPV6   
)

Definition at line 183 of file ares-test-live.cc.

◆ TEST_P() [8/82]

ares::test::TEST_P ( DefaultChannelModeTest  ,
LiveGetLocalhostByNameV4   
)

Definition at line 143 of file ares-test-live.cc.

◆ TEST_P() [9/82]

ares::test::TEST_P ( DefaultChannelModeTest  ,
LiveGetLocalhostByNameV6   
)

Definition at line 156 of file ares-test-live.cc.

◆ TEST_P() [10/82]

ares::test::TEST_P ( DefaultChannelModeTest  ,
LiveGetLocalhostFailFamily   
)

Definition at line 198 of file ares-test-live.cc.

◆ TEST_P() [11/82]

ares::test::TEST_P ( MockChannelTest  ,
Basic   
)

Definition at line 13 of file ares-test-mock.cc.

◆ TEST_P() [12/82]

ares::test::TEST_P ( MockChannelTest  ,
CancelImmediate   
)

Definition at line 877 of file ares-test-mock.cc.

◆ TEST_P() [13/82]

ares::test::TEST_P ( MockChannelTest  ,
CancelImmediateGetHostByAddr   
)

Definition at line 886 of file ares-test-mock.cc.

◆ TEST_P() [14/82]

ares::test::TEST_P ( MockChannelTest  ,
ExplicitIP   
)

Definition at line 716 of file ares-test-mock.cc.

◆ TEST_P() [15/82]

ares::test::TEST_P ( MockChannelTest  ,
ExplicitIPAllocFail   
)

Definition at line 726 of file ares-test-mock.cc.

◆ TEST_P() [16/82]

ares::test::TEST_P ( MockChannelTest  ,
GetHostByAddrDestroy   
)

Definition at line 954 of file ares-test-mock.cc.

◆ TEST_P() [17/82]

ares::test::TEST_P ( MockChannelTest  ,
GetHostByNameCNAMENoData   
)

Definition at line 939 of file ares-test-mock.cc.

◆ TEST_P() [18/82]

ares::test::TEST_P ( MockChannelTest  ,
GetHostByNameDestroyAbsolute   
)

Definition at line 915 of file ares-test-mock.cc.

◆ TEST_P() [19/82]

ares::test::TEST_P ( MockChannelTest  ,
GetHostByNameDestroyRelative   
)

Definition at line 927 of file ares-test-mock.cc.

◆ TEST_P() [20/82]

ares::test::TEST_P ( MockChannelTest  ,
HostAlias   
)

Definition at line 968 of file ares-test-mock.cc.

◆ TEST_P() [21/82]

ares::test::TEST_P ( MockChannelTest  ,
HostAliasMissing   
)

Definition at line 988 of file ares-test-mock.cc.

◆ TEST_P() [22/82]

ares::test::TEST_P ( MockChannelTest  ,
HostAliasMissingFile   
)

Definition at line 1007 of file ares-test-mock.cc.

◆ TEST_P() [23/82]

ares::test::TEST_P ( MockChannelTest  ,
HostAliasUnreadable   
)

Definition at line 1025 of file ares-test-mock.cc.

◆ TEST_P() [24/82]

ares::test::TEST_P ( MockChannelTest  ,
SearchAllocFailure   
)

Definition at line 595 of file ares-test-mock.cc.

◆ TEST_P() [25/82]

ares::test::TEST_P ( MockChannelTest  ,
SearchDomains   
)

Definition at line 416 of file ares-test-mock.cc.

◆ TEST_P() [26/82]

ares::test::TEST_P ( MockChannelTest  ,
SearchDomainsBare   
)

Definition at line 475 of file ares-test-mock.cc.

◆ TEST_P() [27/82]

ares::test::TEST_P ( MockChannelTest  ,
SearchHighNdots   
)

Definition at line 604 of file ares-test-mock.cc.

◆ TEST_P() [28/82]

ares::test::TEST_P ( MockChannelTest  ,
SearchNoDataThenFail   
)

Definition at line 565 of file ares-test-mock.cc.

◆ TEST_P() [29/82]

ares::test::TEST_P ( MockChannelTest  ,
SearchNoDataThenNoDataBare   
)

Definition at line 535 of file ares-test-mock.cc.

◆ TEST_P() [30/82]

ares::test::TEST_P ( MockChannelTest  ,
SearchNoDataThenSuccess   
)

Definition at line 507 of file ares-test-mock.cc.

◆ TEST_P() [31/82]

ares::test::TEST_P ( MockChannelTest  ,
SockCallback   
)

Definition at line 118 of file ares-test-mock.cc.

◆ TEST_P() [32/82]

ares::test::TEST_P ( MockChannelTest  ,
SockConfigureCallback   
)

Definition at line 163 of file ares-test-mock.cc.

◆ TEST_P() [33/82]

ares::test::TEST_P ( MockChannelTest  ,
SockConfigureFailCallback   
)

Definition at line 186 of file ares-test-mock.cc.

◆ TEST_P() [34/82]

ares::test::TEST_P ( MockChannelTest  ,
SockFailCallback   
)

Definition at line 141 of file ares-test-mock.cc.

◆ TEST_P() [35/82]

ares::test::TEST_P ( MockChannelTest  ,
SortListV4   
)

Definition at line 734 of file ares-test-mock.cc.

◆ TEST_P() [36/82]

ares::test::TEST_P ( MockChannelTest  ,
SortListV6   
)

Definition at line 772 of file ares-test-mock.cc.

◆ TEST_P() [37/82]

ares::test::TEST_P ( MockChannelTest  ,
UnspecifiedFamilyCname6A4   
)

Definition at line 693 of file ares-test-mock.cc.

◆ TEST_P() [38/82]

ares::test::TEST_P ( MockChannelTest  ,
UnspecifiedFamilyNoData   
)

Definition at line 671 of file ares-test-mock.cc.

◆ TEST_P() [39/82]

ares::test::TEST_P ( MockChannelTest  ,
UnspecifiedFamilyV4   
)

Definition at line 649 of file ares-test-mock.cc.

◆ TEST_P() [40/82]

ares::test::TEST_P ( MockChannelTest  ,
UnspecifiedFamilyV6   
)

Definition at line 629 of file ares-test-mock.cc.

◆ TEST_P() [41/82]

ares::test::TEST_P ( MockChannelTestAI  ,
FamilyUnspecified   
)

Definition at line 468 of file ares-test-mock-ai.cc.

◆ TEST_P() [42/82]

ares::test::TEST_P ( MockChannelTestAI  ,
FamilyV4   
)

Definition at line 428 of file ares-test-mock-ai.cc.

◆ TEST_P() [43/82]

ares::test::TEST_P ( MockChannelTestAI  ,
FamilyV4_MultipleAddresses   
)

Definition at line 447 of file ares-test-mock-ai.cc.

◆ TEST_P() [44/82]

ares::test::TEST_P ( MockChannelTestAI  ,
FamilyV4ServiceName   
)

Definition at line 720 of file ares-test-mock-ai.cc.

◆ TEST_P() [45/82]

ares::test::TEST_P ( MockChannelTestAI  ,
FamilyV6   
)

Definition at line 407 of file ares-test-mock-ai.cc.

◆ TEST_P() [46/82]

ares::test::TEST_P ( MockChannelTestAI  ,
SearchDomains   
)

Definition at line 524 of file ares-test-mock-ai.cc.

◆ TEST_P() [47/82]

ares::test::TEST_P ( MockChannelTestAI  ,
SearchDomainsServFailOnAAAA   
)

Definition at line 553 of file ares-test-mock-ai.cc.

◆ TEST_P() [48/82]

ares::test::TEST_P ( MockEDNSChannelTest  ,
RetryWithoutEDNS   
)

Definition at line 396 of file ares-test-mock.cc.

◆ TEST_P() [49/82]

ares::test::TEST_P ( MockEDNSChannelTestAI  ,
RetryWithoutEDNS   
)

Definition at line 501 of file ares-test-mock-ai.cc.

◆ TEST_P() [50/82]

ares::test::TEST_P ( MockExtraOptsNDots5TestAI  ,
SimpleQuery   
)

Definition at line 306 of file ares-test-mock-ai.cc.

◆ TEST_P() [51/82]

ares::test::TEST_P ( MockExtraOptsTest  ,
SimpleQuery   
)

Definition at line 305 of file ares-test-mock.cc.

◆ TEST_P() [52/82]

ares::test::TEST_P ( MockExtraOptsTestAI  ,
SimpleQuery   
)

Definition at line 255 of file ares-test-mock-ai.cc.

◆ TEST_P() [53/82]

ares::test::TEST_P ( MockNoCheckRespChannelTest  ,
NotImplResponse   
)

Definition at line 363 of file ares-test-mock.cc.

◆ TEST_P() [54/82]

ares::test::TEST_P ( MockNoCheckRespChannelTest  ,
RefusedResponse   
)

Definition at line 377 of file ares-test-mock.cc.

◆ TEST_P() [55/82]

ares::test::TEST_P ( MockNoCheckRespChannelTest  ,
ServFailResponse   
)

Definition at line 349 of file ares-test-mock.cc.

◆ TEST_P() [56/82]

ares::test::TEST_P ( MockNoCheckRespChannelTestAI  ,
NotImplResponse   
)

Definition at line 371 of file ares-test-mock-ai.cc.

◆ TEST_P() [57/82]

ares::test::TEST_P ( MockNoCheckRespChannelTestAI  ,
RefusedResponse   
)

Definition at line 389 of file ares-test-mock-ai.cc.

◆ TEST_P() [58/82]

ares::test::TEST_P ( MockNoCheckRespChannelTestAI  ,
ServFailResponse   
)

Definition at line 353 of file ares-test-mock-ai.cc.

◆ TEST_P() [59/82]

ares::test::TEST_P ( MockTCPChannelTest  ,
FormErrResponse   
)

Definition at line 213 of file ares-test-mock.cc.

◆ TEST_P() [60/82]

ares::test::TEST_P ( MockTCPChannelTest  ,
MalformedResponse   
)

Definition at line 201 of file ares-test-mock.cc.

◆ TEST_P() [61/82]

ares::test::TEST_P ( MockTCPChannelTest  ,
NotImplResponse   
)

Definition at line 242 of file ares-test-mock.cc.

◆ TEST_P() [62/82]

ares::test::TEST_P ( MockTCPChannelTest  ,
RefusedResponse   
)

Definition at line 257 of file ares-test-mock.cc.

◆ TEST_P() [63/82]

ares::test::TEST_P ( MockTCPChannelTest  ,
ServFailResponse   
)

Definition at line 227 of file ares-test-mock.cc.

◆ TEST_P() [64/82]

ares::test::TEST_P ( MockTCPChannelTest  ,
YXDomainResponse   
)

Definition at line 272 of file ares-test-mock.cc.

◆ TEST_P() [65/82]

ares::test::TEST_P ( MockTCPChannelTestAI  ,
FormErrResponse   
)

Definition at line 143 of file ares-test-mock-ai.cc.

◆ TEST_P() [66/82]

ares::test::TEST_P ( MockTCPChannelTestAI  ,
MalformedResponse   
)

Definition at line 128 of file ares-test-mock-ai.cc.

◆ TEST_P() [67/82]

ares::test::TEST_P ( MockTCPChannelTestAI  ,
NotImplResponse   
)

Definition at line 180 of file ares-test-mock-ai.cc.

◆ TEST_P() [68/82]

ares::test::TEST_P ( MockTCPChannelTestAI  ,
RefusedResponse   
)

Definition at line 199 of file ares-test-mock-ai.cc.

◆ TEST_P() [69/82]

ares::test::TEST_P ( MockTCPChannelTestAI  ,
ServFailResponse   
)

Definition at line 161 of file ares-test-mock-ai.cc.

◆ TEST_P() [70/82]

ares::test::TEST_P ( MockTCPChannelTestAI  ,
YXDomainResponse   
)

Definition at line 218 of file ares-test-mock-ai.cc.

◆ TEST_P() [71/82]

ares::test::TEST_P ( MockUDPChannelTest  ,
CancelLater   
)

Definition at line 899 of file ares-test-mock.cc.

◆ TEST_P() [72/82]

ares::test::TEST_P ( MockUDPChannelTest  ,
GetHostByNameParallelLookups   
)

Definition at line 54 of file ares-test-mock.cc.

◆ TEST_P() [73/82]

ares::test::TEST_P ( MockUDPChannelTest  ,
Resend   
)

Definition at line 855 of file ares-test-mock.cc.

◆ TEST_P() [74/82]

ares::test::TEST_P ( MockUDPChannelTest  ,
SearchDomainsAllocFail   
)

Definition at line 810 of file ares-test-mock.cc.

◆ TEST_P() [75/82]

ares::test::TEST_P ( MockUDPChannelTest  ,
SearchDomainsWithResentReply   
)

Definition at line 444 of file ares-test-mock.cc.

◆ TEST_P() [76/82]

ares::test::TEST_P ( MockUDPChannelTest  ,
TruncationRetry   
)

Definition at line 90 of file ares-test-mock.cc.

◆ TEST_P() [77/82]

ares::test::TEST_P ( MockUDPChannelTestAI  ,
GetAddrInfoParallelLookups   
)

Definition at line 61 of file ares-test-mock-ai.cc.

◆ TEST_P() [78/82]

ares::test::TEST_P ( MockUDPChannelTestAI  ,
TruncationRetry   
)

Definition at line 103 of file ares-test-mock-ai.cc.

◆ TEST_P() [79/82]

ares::test::TEST_P ( NoRotateMultiMockTest  ,
ThirdServer   
)

Definition at line 1111 of file ares-test-mock.cc.

◆ TEST_P() [80/82]

ares::test::TEST_P ( NoRotateMultiMockTestAI  ,
ThirdServer   
)

Definition at line 675 of file ares-test-mock-ai.cc.

◆ TEST_P() [81/82]

ares::test::TEST_P ( RotateMultiMockTest  ,
ThirdServer   
)

Definition at line 1066 of file ares-test-mock.cc.

◆ TEST_P() [82/82]

ares::test::TEST_P ( RotateMultiMockTestAI  ,
ThirdServer   
)

Definition at line 630 of file ares-test-mock-ai.cc.

◆ VIRT_NONVIRT_TEST_F() [1/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
GetSock   
)

Definition at line 615 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [2/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveGetHostByAddrV4   
)

Definition at line 105 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [3/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveGetHostByAddrV6   
)

Definition at line 115 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [4/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveGetHostByNameFile   
)

Definition at line 125 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [5/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveGetHostByNameV4   
)

Definition at line 85 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [6/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveGetHostByNameV6   
)

Definition at line 95 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [7/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveGetNameInfoAllocFail   
)

Definition at line 599 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [8/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveGetNameInfoV4   
)

Definition at line 346 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [9/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveGetNameInfoV4NoPort   
)

Definition at line 362 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [10/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveGetNameInfoV4NotFound   
)

Definition at line 479 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [11/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveGetNameInfoV4NotFoundFail   
)

Definition at line 497 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [12/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveGetNameInfoV4Numeric   
)

Definition at line 426 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [13/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveGetNameInfoV4UnassignedPort   
)

Definition at line 378 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [14/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveGetNameInfoV6Both   
)

Definition at line 394 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [15/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveGetNameInfoV6LinkLocal   
)

Definition at line 460 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [16/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveGetNameInfoV6Neither   
)

Definition at line 410 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [17/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveGetNameInfoV6NotFound   
)

Definition at line 513 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [18/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveGetNameInfoV6Numeric   
)

Definition at line 443 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [19/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveGetNameInvalidFamily   
)

Definition at line 533 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [20/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveGetNameInvalidFlags   
)

Definition at line 548 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [21/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveGetServiceInfo   
)

Definition at line 564 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [22/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveGetServiceInfoNumeric   
)

Definition at line 581 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [23/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveSearchA   
)

Definition at line 274 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [24/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveSearchANY   
)

Definition at line 337 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [25/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveSearchEmptyA   
)

Definition at line 283 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [26/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveSearchMX   
)

Definition at line 301 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [27/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveSearchNS   
)

Definition at line 292 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [28/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveSearchSOA   
)

Definition at line 319 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [29/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveSearchSRV   
)

Definition at line 328 of file ares-test-live.cc.

◆ VIRT_NONVIRT_TEST_F() [30/30]

ares::test::VIRT_NONVIRT_TEST_F ( DefaultChannelTest  ,
LiveSearchTXT   
)

Definition at line 310 of file ares-test-live.cc.

Variable Documentation

◆ both_families

const std::vector< int > ares::test::both_families = {AF_INET, AF_INET6}

Definition at line 38 of file ares-test.cc.

◆ both_families_both_modes

const std::vector< std::pair< int, bool > > ares::test::both_families_both_modes
Initial value:
= {
std::make_pair<int, bool>(AF_INET, false),
std::make_pair<int, bool>(AF_INET, true),
std::make_pair<int, bool>(AF_INET6, false),
std::make_pair<int, bool>(AF_INET6, true)
}

Definition at line 42 of file ares-test.cc.

◆ dynamic_port

constexpr int ares::test::dynamic_port = 0
staticconstexpr

Definition at line 35 of file ares-test.cc.

◆ families

std::vector< int > ares::test::families = both_families

Definition at line 58 of file ares-test.cc.

◆ families_modes

std::vector< std::pair< int, bool > > ares::test::families_modes = both_families_both_modes

Definition at line 59 of file ares-test.cc.

◆ gdns_addr4

unsigned char ares::test::gdns_addr4[4] = {0x08, 0x08, 0x08, 0x08}

Definition at line 17 of file ares-test-live.cc.

◆ gdns_addr6

unsigned char ares::test::gdns_addr6[16]
Initial value:
= {0x20, 0x01, 0x48, 0x60, 0x48, 0x60, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x88, 0x88}

Definition at line 18 of file ares-test-live.cc.

◆ ipv4_family

const std::vector< int > ares::test::ipv4_family = {AF_INET}

Definition at line 39 of file ares-test.cc.

◆ ipv4_family_both_modes

const std::vector< std::pair< int, bool > > ares::test::ipv4_family_both_modes
Initial value:
= {
std::make_pair<int, bool>(AF_INET, false),
std::make_pair<int, bool>(AF_INET, true)
}

Definition at line 48 of file ares-test.cc.

◆ ipv6_family

const std::vector< int > ares::test::ipv6_family = {AF_INET6}

Definition at line 40 of file ares-test.cc.

◆ ipv6_family_both_modes

const std::vector< std::pair< int, bool > > ares::test::ipv6_family_both_modes
Initial value:
= {
std::make_pair<int, bool>(AF_INET6, false),
std::make_pair<int, bool>(AF_INET6, true)
}

Definition at line 52 of file ares-test.cc.

◆ mock_port

int ares::test::mock_port = dynamic_port

Definition at line 36 of file ares-test.cc.

◆ sock_cb_count

int ares::test::sock_cb_count = 0
static

Definition at line 110 of file ares-test-mock.cc.

◆ sock_config_cb_count

int ares::test::sock_config_cb_count = 0
static

Definition at line 155 of file ares-test-mock.cc.

◆ verbose

bool ares::test::verbose = false

Definition at line 34 of file ares-test.cc.

AF_INET6
#define AF_INET6
Definition: ares_setup.h:208


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